CVE-2023-46733

Symfony possible session fixation vulnerability

Description

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 5.4.21 and 6.2.7 and prior to versions 5.4.31 and 6.3.8, `SessionStrategyListener` does not migrate the session after every successful login. It does so only in case the logged in user changes by means of checking the user identifier. In some use cases, the user identifier doesn't change between the verification phase and the successful login, while the token itself changes from one type (partially-authenticated) to another (fully-authenticated). When this happens, the session id should be regenerated to prevent possible session fixations, which is not the case at the moment. As of versions 5.4.31 and 6.3.8, Symfony now checks the type of the token in addition to the user identifier before deciding whether the session id should be regenerated.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.81% Top 30%
Vendor Advisory github.com
Affected: symfony symfony
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-46733?
CVE-2023-46733 has been scored as a medium severity vulnerability.
How to fix CVE-2023-46733?
To fix CVE-2023-46733, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-46733 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-46733 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-46733?
CVE-2023-46733 affects symfony symfony.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.