CVE-2018-11406 json
Symfony CSRF Token Fixation
published 8y ago modified 4mo ago also GHSA-g4g7-q726-v5hg , EUVD-2022-3882
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
An issue was discovered in the Security component in Symfony 2.7.x before 2.7.48, 2.8.x before 2.8.41, 3.3.x before 3.3.17, 3.4.x before 3.4.11, and 4.0.x before 4.0.11. By default, a user's session is invalidated when the user is logged out. This behavior can be disabled through the invalidate_session option. In this case, CSRF tokens were not erased during logout which allowed for CSRF token fixation.
Patch / fix
- packagist symfony/symfony 2.7.48, 2.8.41, 3.3.17, 3.4.11, 4.0.11
- packagist symfony/security-bundle 2.7.48, 2.8.41, 3.3.17, 3.4.11, 4.0.11
- packagist symfony/security-http 2.7.48, 2.8.41, 3.3.17, 3.4.11, 4.0.11
- packagist symfony/security 2.7.48, 2.8.41, 3.3.17, 3.4.11, 4.0.11
- sensiolabs symfony 2.7.48, 2.8.41, 3.3.17, 3.4.11, 4.0.11
- symfony Debian 14, Debian 13, Debian 12 3.4.12+dfsg-1
debian advisories DEBIAN-CVE-2018-11406
Is CVE-2018-11406 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-11406 updated
php-symfony: Multiple flaws
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/symfony | >=2.7.0, <2.7.48 >=2.8.0, <2.8.41 >=3.0.0, <3.3.17 >=3.4.0, <3.4.11 >=4.0.0, <4.0.11 |
2.7.48 2.8.41 3.3.17 3.4.11 4.0.11 |
| packagist | symfony/security-bundle | >=2.7.0, <2.7.48 >=2.8.0, <2.8.41 >=3.0.0, <3.3.17 >=3.4.0, <3.4.11 >=4.0.0, <4.0.11 |
2.7.48 2.8.41 3.3.17 3.4.11 4.0.11 |
| packagist | symfony/security-http | >=2.7.0, <2.7.48 >=2.8.0, <2.8.41 >=3.0.0, <3.3.17 >=3.4.0, <3.4.11 >=4.0.0, <4.0.11 |
2.7.48 2.8.41 3.3.17 3.4.11 4.0.11 |
| packagist | symfony/security | >=2.7.0, <2.7.48 >=2.8.0, <2.8.41 >=3.0.0, <3.3.17 >=3.4.0, <3.4.11 >=4.0.0, <4.0.11 |
2.7.48 2.8.41 3.3.17 3.4.11 4.0.11 |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/symfony/symfony/commit/319e1bdd43979d9c1559497de8d69adea28ab8d1
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UBQK7JDXIELADIPGZIOUCZKMAJM5LSBW/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/WU5N2TZFNGXDGMXMPP7LZCWTFLENF6WH/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/G4XNBMFW33H47O5TZGA7JYCVLDBCXAJV/
vendor-advisory
-
debian.org
/security/2018/dsa-4262
vendor-advisory, web, third-party-advisory
-
symfony.com
/blog/cve-2018-11406-csrf-token-fixation
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-11406
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2018-11406.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2018-11406.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2018-11406.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2018-11406.yaml
web
-
github.com
/symfony/symfony
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/G4XNBMFW33H47O5TZGA7JYCVLDBCXAJV
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UBQK7JDXIELADIPGZIOUCZKMAJM5LSBW
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/WU5N2TZFNGXDGMXMPP7LZCWTFLENF6WH
web
-
symfony.com
/cve-2018-11406
web
Sources
- CVE List CVE-2018-11406
- GitHub Advisory GHSA-g4g7-q726-v5hg
- NVD CVE-2018-11406
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.