title: Symfony storing cookie headers in HttpCache
description: 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.
problem types: CWE-285: Improper Authorization
affected:
{
vendor: symfony
product: symfony
versions:
version: >= 2.0.0, < 4.4.50, status: affected
version: >= 5.0.0, < 5.4.20, status: affected
version: >= 6.0.0, < 6.0.20, status: affected
version: >= 6.1.0, < 6.1.12, status: affected
version: >= 6.2.0, < 6.2.6, status: affected
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 5.9
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: LOW
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
version: 3.1
]