CVE-2022-24895

HIGHCVSS 8.8/10EPSS 0.79%

Last modified

CVE-2022-24895 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.79% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
0.79%

51.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
SensiolabsSymfony>= 2.0.0, < 4.4.50
SensiolabsSymfony>= 5.0.0, < 5.4.20
SensiolabsSymfony>= 6.0.0, < 6.0.20
SensiolabsSymfony>= 6.1.0, < 6.1.12
SensiolabsSymfony>= 6.2.0, < 6.2.6

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-24895?
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.
How severe is CVE-2022-24895?
CVE-2022-24895 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 0.79% probability of exploitation in the next 30 days.
How do I fix CVE-2022-24895?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-24895?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST