{"id":"CVE-2023-46733","published":"2023-11-10T17:09:13Z","modified":"2024-09-03T15:36:38Z","title":"Symfony possible session fixation vulnerability","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00858,"percentile":0.59326,"provenance":"source"},"cwes":[{"id":"CWE-384","name":"Session Fixation"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-m2wj-r6g3-fxfx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/7467bd7e3f888b333102bc664b5e02ef1e7f88b9","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/commit/dc356499d5ceb86f7cf2b4c7f032eca97061ed74","tags":["x_refsource_MISC"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.87},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":[">= 5.4.21, < 5.4.31",">= 6.2.7, < 6.3.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-03T15:11:06.472668Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/security-http","vulnerableRanges":[">=5.4.21, <5.4.31",">=6.2.7, <6.3.8"],"patched":["5.4.31","6.3.8"],"from":["GHSA-m2wj-r6g3-fxfx"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=5.4.21, <5.4.31",">=6.2.7, <6.3.8"],"patched":["5.4.31","6.3.8"],"from":["GHSA-m2wj-r6g3-fxfx"],"provenance":"source"}],"summary":{"text":"The flaw is in Symfony, the PHP framework for web and console applications, specifically in its SessionStrategyListener component, which fails to regenerate the session ID after a successful login when the user identifier stays the same while the token type changes from partially-authenticated to fully-authenticated. An attacker with network access and low-privilege authentication can exploit this session fixation weakness to plant a known session identifier, with the attack depending on a user interacting with the application in the affected authentication flow.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:36Z"},"euvd":{"id":"EUVD-2023-2996","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-5275","published":"2020-03-30","fixed":"5.0.7","kev":false},{"cve":"CVE-2021-21424","published":"2021-05-13","fixed":"5.2.8","kev":false},{"cve":"CVE-2021-32693","published":"2021-06-17","fixed":"5.3.2","kev":false},{"cve":"CVE-2023-46733","published":"2023-11-10","fixed":"6.3.8","kev":false},{"cve":"CVE-2024-51996","published":"2024-11-13","fixed":"7.1.8","kev":false,"link":{"from":"CVE-2023-46733","to":"CVE-2024-51996","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security-http","fromFixed":"5.4.31","toFixed":"5.4.47","daysApart":369},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security-http","fromFixed":"6.3.8","toFixed":"6.4.15","daysApart":369}]}},{"cve":"CVE-2026-45063","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-45069","published":"2026-07-14","fixed":"8.0.12","kev":false}],"package":"Packagist:symfony/security-http"}}