Advisory
GHSA-g4g7-q726-v5hg
Also known as: CVE-2018-11406
Summary
Symfony CSRF Token Fixation
Details
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.
Severity
High Basis: The source's own band: HIGH
Dates
- Published
- 2022-05-14 01:14 UTC
- Modified
- 2024-02-18 05:31 UTC
Affected packages and fixes
| Package | Affected | Fix |
|---|---|---|
| symfony/symfony | introduced 2.7.0, fixed 2.7.48 | The export has no generic command for this ecosystem. |
| symfony/symfony | introduced 2.8.0, fixed 2.8.41 | The export has no generic command for this ecosystem. |
| symfony/symfony | introduced 3.0.0, fixed 3.3.17 | The export has no generic command for this ecosystem. |
| symfony/symfony | introduced 3.4.0, fixed 3.4.11 | The export has no generic command for this ecosystem. |
| symfony/symfony | introduced 4.0.0, fixed 4.0.11 | The export has no generic command for this ecosystem. |
| symfony/security-bundle | introduced 2.7.0, fixed 2.7.48 | The export has no generic command for this ecosystem. |
| symfony/security-bundle | introduced 2.8.0, fixed 2.8.41 | The export has no generic command for this ecosystem. |
| symfony/security-bundle | introduced 3.0.0, fixed 3.3.17 | The export has no generic command for this ecosystem. |
| symfony/security-bundle | introduced 3.4.0, fixed 3.4.11 | The export has no generic command for this ecosystem. |
| symfony/security-bundle | introduced 4.0.0, fixed 4.0.11 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 2.7.0, fixed 2.7.48 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 2.8.0, fixed 2.8.41 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 3.0.0, fixed 3.3.17 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 3.4.0, fixed 3.4.11 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 4.0.0, fixed 4.0.11 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 2.7.0, fixed 2.7.48 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 2.8.0, fixed 2.8.41 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 3.0.0, fixed 3.3.17 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 3.4.0, fixed 3.4.11 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 4.0.0, fixed 4.0.11 | The export has no generic command for this ecosystem. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://nvd.nist.gov/vuln/detail/CVE-2018-11406
- https://github.com/symfony/symfony/commit/319e1bdd43979d9c1559497de8d69adea28ab8d1
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-bundle/CVE-2018-11406.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2018-11406.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2018-11406.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2018-11406.yaml
- https://github.com/symfony/symfony
- https://lists.fedoraproject.org/archives/list/[email protected]/message/G4XNBMFW33H47O5TZGA7JYCVLDBCXAJV
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UBQK7JDXIELADIPGZIOUCZKMAJM5LSBW
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WU5N2TZFNGXDGMXMPP7LZCWTFLENF6WH
- https://symfony.com/blog/cve-2018-11406-csrf-token-fixation
- https://symfony.com/cve-2018-11406
- https://www.debian.org/security/2018/dsa-4262
Source
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0