title: Symfony vulnerable to Session Fixation of CSRF tokens
description: 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.
problem types: CWE-384: Session Fixation
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: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 6.3
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
version: 3.1
]