CVE-2017-16653
published 2018-08-06CVE-2017-16653: An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony…
PriorityP428medium5.9CVSS 3.0
AVNACHPRNUINSUCHINAN
EPSS
1.47%
70.9th percentile
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | symfony | < symfony 3.4.0+dfsg-1 (bookworm) | symfony 3.4.0+dfsg-1 (bookworm) |
| sensiolabs | symfony | 2.7.0 – 2.7.37 | — |
| sensiolabs | symfony | 3.2.0 – 3.2.13 | — |
| sensiolabs | symfony | 3.3.0 – 3.3.12 | — |
| sensiolabs | symfony | 3.8.0 – 3.8.30 | — |
| symfony | security | >= 2.7.0 < 2.7.38 | 2.7.38 |
| symfony | security | >= 2.8.0 < 2.8.31 | 2.8.31 |
| symfony | security | >= 3.0.0 < 3.2.14 | 3.2.14 |
| symfony | security | >= 3.3.0 < 3.3.13 | 3.3.13 |
| symfony | security-csrf | >= 2.7.0 < 2.7.38 | 2.7.38 |
| symfony | security-csrf | >= 2.8.0 < 2.8.31 | 2.8.31 |
| symfony | security-csrf | >= 3.0.0 < 3.2.14 | 3.2.14 |
| symfony | security-csrf | >= 3.3.0 < 3.3.13 | 3.3.13 |
| symfony | symfony | >= 0 < 3.4.0+dfsg-1 | 3.4.0+dfsg-1 |
| symfony | symfony | >= 0 < 3.4.0+dfsg-1 | 3.4.0+dfsg-1 |
| symfony | symfony | >= 0 < 3.4.0+dfsg-1 | 3.4.0+dfsg-1 |
| symfony | symfony | >= 0 < 3.4.0+dfsg-1 | 3.4.0+dfsg-1 |
| symfony | symfony | >= 2.7.0 < 2.7.38 | 2.7.38 |
| symfony | symfony | >= 2.8.0 < 2.8.31 | 2.8.31 |
| symfony | symfony | >= 3.0.0 < 3.2.14 | 3.2.14 |
| symfony | symfony | >= 3.3.0 < 3.3.13 | 3.3.13 |
CVSS provenance
nvdv3.05.9MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
osv5.9MEDIUM
vendor_debian5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Symfony CSRF Vulnerability
ghsa·2022-05-13
CVE-2017-16653 [MEDIUM] CWE-352 Symfony CSRF Vulnerability
Symfony CSRF Vulnerability
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.
OSV
Symfony CSRF Vulnerability
osv·2022-05-13
CVE-2017-16653 [MEDIUM] Symfony CSRF Vulnerability
Symfony CSRF Vulnerability
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.
OSV
CVE-2017-16653: An issue was discovered in Symfony before 2
osv·2018-08-06·CVSS 5.9
CVE-2017-16653 [MEDIUM] CVE-2017-16653: An issue was discovered in Symfony before 2
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.
Debian
CVE-2017-16653: symfony - An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BE...
vendor_debian·2017·CVSS 5.9
CVE-2017-16653 [MEDIUM] CVE-2017-16653: symfony - An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BE...
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.
Scope: local
bookworm: resolved (fixed in 3.4.0+dfsg-1)
bullseye: resolved (fixed in 3.4.0+dfsg-1)
forky: resolved (fixed in 3.4.0+dfsg-1)
sid: resolved (fixed in 3.4.0+dfsg-1)
trixie: resolved (fixed in 3.4.0+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-27]
bugzilla·2018-08-22·CVSS 5.9
CVE-2017-16653 [MEDIUM] CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-27]
CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-27]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-27.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template t
Bugzilla
CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS [epel-7]
bugzilla·2018-08-22·CVSS 5.9
CVE-2017-16653 [MEDIUM] CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS [epel-7]
CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for
Bugzilla
CVE-2017-16653 php-symfony4: php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-all]
bugzilla·2018-08-22·CVSS 5.9
CVE-2017-16653 [MEDIUM] CVE-2017-16653 php-symfony4: php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-all]
CVE-2017-16653 php-symfony4: php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2017-16653 php-symfony3: php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-28]
bugzilla·2018-08-22·CVSS 5.9
CVE-2017-16653 [MEDIUM] CVE-2017-16653 php-symfony3: php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-28]
CVE-2017-16653 php-symfony3: php-symfony: improper CSRF token generation for HTTP and HTTPS [fedora-28]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-28.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the follow
Bugzilla
CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS
bugzilla·2018-08-22·CVSS 5.9
CVE-2017-16653 [MEDIUM] CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS
CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.
References:
https://symfony.com/blog/cve-2017-16653-csrf-protection-does-not-use-different-tokens-for-http-and-https
Discussion:
Created php-symfony tracking bugs for this issue:
Affects: epel-7 [bug 1620268]
Affects: fedora-27 [bug 1620267]
Created php-symfony3 tracking bugs for this issue:
Affects: fedora-28 [bug 1620270]
Created php-symfony4 tracking bugs for this issu
https://github.com/symfony/symfony/pull/24992https://symfony.com/blog/cve-2017-16653-csrf-protection-does-not-use-different-tokens-for-http-and-httpshttps://www.debian.org/security/2018/dsa-4262https://github.com/symfony/symfony/pull/24992https://symfony.com/blog/cve-2017-16653-csrf-protection-does-not-use-different-tokens-for-http-and-httpshttps://www.debian.org/security/2018/dsa-4262
2018-08-06
Published