CVE Vulnerabilities

CVE-2022-24895

Session Fixation

Published: Feb 03, 2023 | Modified: Jul 12, 2023
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.

Affected Software

Name Vendor Start Version End Version
Symfony Sensiolabs 6.2.0 *
Symfony Sensiolabs 6.1.0 *
Symfony Sensiolabs 6.0.0 *
Symfony Sensiolabs 2.0.0 *
Symfony Sensiolabs 5.0.0 *

Extended Description

Such a scenario is commonly observed when:

Potential Mitigations

References