Skip to main content
← All vulnerabilities
CVE-2022-24895GHSA-3GV2-29QC-V67MBIT-SYMFONY-2022-24895

Symfony vulnerable to Session Fixation of CSRF tokens

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.4.50, 5.4.20, 6.0.20, 6.1.12, 6.2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • symfony symfony

    From 2.0.0 · fixed in 4.4.50; From 5.0.0 · fixed in 5.4.20; From 6.0.0 · fixed in 6.0.20; From 6.1.0 · fixed in 6.1.12; From 6.2.0 · fixed in 6.2.6

  • symfony/security-bundlePackagist

    From 2.0.0 · fixed in 4.4.50

  • symfony/security-bundlePackagist

    From 5.0.0 · fixed in 5.4.20

  • symfony/security-bundlePackagist

    From 6.0.0 · fixed in 6.0.20

  • symfony/security-bundlePackagist

    From 6.1.0 · fixed in 6.1.12

  • symfony/security-bundlePackagist

    From 6.2.0 · fixed in 6.2.6

  • symfony/symfonyPackagist

    From 2.0.0 · fixed in 4.4.50

  • symfony/symfonyPackagist

    From 5.0.0 · fixed in 5.4.20

  • symfony/symfonyPackagist

    From 6.0.0 · fixed in 6.0.20

  • symfony/symfonyPackagist

    From 6.1.0 · fixed in 6.1.12

  • symfony/symfonyPackagist

    From 6.2.0 · fixed in 6.2.6

References 5

GitHub · symfony/symfony

GitHub · symfony/security-bundle

GitHub · FriendsOfPHP/security-advisories

lists.debian.org