CVE-2022-24894
Symfony storing cookie headers in HttpCache
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in the web cache. An attacker could possibly use this issue to obtain sensitive information and access unauthorized resources. Marco Squarcina discovered that Symfony incorrectly handled the storage of user session information. An attacker could possibly use this issue to perform a cross-site request forgery attack. Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An attacker could possibly use this issue to perform cross site scripting.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2022-02-10 CVE Reserved
- 2023-02-03 CVE Published
- 2025-03-10 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-285: Improper Authorization
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/symfony/symfony/security/advisories/GHSA-h7vf-5wrv-9fhv | Third Party Advisory | |
https://lists.debian.org/debian-lts-announce/2023/07/msg00014.html |
|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/symfony/symfony/commit/d2f6322af9444ac5cd1ef3ac6f280dbef7f9d1fb | 2023-07-12 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Sensiolabs Search vendor "Sensiolabs" | Symfony Search vendor "Sensiolabs" for product "Symfony" | >= 2.0.0 < 4.4.50 Search vendor "Sensiolabs" for product "Symfony" and version " >= 2.0.0 < 4.4.50" | - |
Affected
| ||||||
Sensiolabs Search vendor "Sensiolabs" | Symfony Search vendor "Sensiolabs" for product "Symfony" | >= 5.0.0 < 5.4.2 Search vendor "Sensiolabs" for product "Symfony" and version " >= 5.0.0 < 5.4.2" | - |
Affected
| ||||||
Sensiolabs Search vendor "Sensiolabs" | Symfony Search vendor "Sensiolabs" for product "Symfony" | >= 6.0.0 < 6.0.20 Search vendor "Sensiolabs" for product "Symfony" and version " >= 6.0.0 < 6.0.20" | - |
Affected
| ||||||
Sensiolabs Search vendor "Sensiolabs" | Symfony Search vendor "Sensiolabs" for product "Symfony" | >= 6.1.0 < 6.1.12 Search vendor "Sensiolabs" for product "Symfony" and version " >= 6.1.0 < 6.1.12" | - |
Affected
| ||||||
Sensiolabs Search vendor "Sensiolabs" | Symfony Search vendor "Sensiolabs" for product "Symfony" | >= 6.2.0 < 6.2.6 Search vendor "Sensiolabs" for product "Symfony" and version " >= 6.2.0 < 6.2.6" | - |
Affected
|