Skip to main content
← All vulnerabilities
CVE-2022-24894GHSA-H7VF-5WRV-9FHVBIT-SYMFONY-2022-24894

Symfony storing cookie headers in HttpCache

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
1 proof of concept on 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. The Symfony HTTP cache system, acts as a reverse proxy: It caches entire responses (including headers) and returns them to the clients. In a recent change in the `AbstractSessionListener`, the response might contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this response might bill stored and return to the next clients. An attacker can use this vulnerability to retrieve the victim's session. This issue has been patched and is available for branch 4.4.

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/http-kernelPackagist

    From 2.0.0 · fixed in 4.4.50

  • symfony/http-kernelPackagist

    From 5.0.0 · fixed in 5.4.20

  • symfony/http-kernelPackagist

    From 6.0.0 · fixed in 6.0.20

  • symfony/http-kernelPackagist

    From 6.1.0 · fixed in 6.1.12

  • symfony/http-kernelPackagist

    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 4

GitHub · symfony/symfony

lists.debian.org

GitHub · moften/Symfony-CVE-Scanner-PoC-