CVE-2022-24895: Symfony vulnerable to Session Fixation of CSRF tokens
CVE-2022-24895: Possible CSRF token fixation
Other sources
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.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID for this security issue?
The vulnerability ID for this security issue is CVE-2022-24895.
What is the severity of CVE-2022-24895?
The severity of CVE-2022-24895 is high (8.8).
What is the affected software for CVE-2022-24895?
The affected software for CVE-2022-24895 is Symfony versions from 2.0.0 to 6.2.6.
How does this vulnerability occur?
This vulnerability occurs because Symfony does not clear CSRF tokens upon login.
Is there a fix or patch available for CVE-2022-24895?
Yes, a fix is available for CVE-2022-24895. It is recommended to update Symfony to a version that includes the patch.