Skip to content

CVE-2023-46733 Symfony possible session fixation vulnerability

MediumCVSS 6.5 EPSS 0.86% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPUbuntuDebian

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.

Upgrade path

8 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/symfony(Debian 12) < 5.4.23+dfsg-1+deb12u1; = 5.4.23+dfsg-1 5.4.23+dfsg-1+deb12u1 Fixed
debian/symfony(Debian 13) < 5.4.31+dfsg-1 5.4.31+dfsg-1 Fixed
debian/symfony(Debian 14) < 5.4.31+dfsg-1 5.4.31+dfsg-1 Fixed
sensiolabs symfony >= 5.4.21, < 5.4.31; >= 6.2.7, < 6.3.8 5.4.31, 6.3.8 Fixed
symfony/security-http(Packagist) = v5.4.21; = v5.4.22; = v5.4.23; = v5.4.26 +17 more 5.4.31, 6.3.8 Fixed
symfony/symfony(Packagist) = v5.4.21; = v5.4.22; = v5.4.23; = v5.4.24 +29 more 5.4.31, 6.3.8 Fixed
ubuntu/symfony(Ubuntu 24.10) < 6.4.5+dfsg-3ubuntu3 6.4.5+dfsg-3ubuntu3 Fixed
symfony/symfony = >= 5.4.21, < 5.4.31; = >= 6.2.7, < 6.3.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
symfony/security-http(Packagist) >= 5.4.21, < 5.4.31 5.4.31
symfony/security-http(Packagist) = v5.4.21 No fix listed
symfony/security-http(Packagist) = v5.4.22 No fix listed
symfony/security-http(Packagist) = v5.4.23 No fix listed
symfony/security-http(Packagist) = v5.4.26 No fix listed
symfony/security-http(Packagist) = v5.4.28 No fix listed
symfony/security-http(Packagist) = v5.4.30 No fix listed
symfony/security-http(Packagist) >= 6.2.7, < 6.3.8 6.3.8
symfony/security-http(Packagist) = v6.2.10 No fix listed
symfony/security-http(Packagist) = v6.2.11 No fix listed
symfony/security-http(Packagist) = v6.2.13 No fix listed
symfony/security-http(Packagist) = v6.2.7 No fix listed
symfony/security-http(Packagist) = v6.2.8 No fix listed
symfony/security-http(Packagist) = v6.3.0 No fix listed
symfony/security-http(Packagist) = v6.3.0-BETA1 No fix listed
symfony/security-http(Packagist) = v6.3.0-RC1 No fix listed
symfony/security-http(Packagist) = v6.3.1 No fix listed
symfony/security-http(Packagist) = v6.3.2 No fix listed
symfony/security-http(Packagist) = v6.3.4 No fix listed
symfony/security-http(Packagist) = v6.3.5 No fix listed
symfony/security-http(Packagist) = v6.3.6 No fix listed
symfony/symfony(Packagist) >= 5.4.21, < 5.4.31 5.4.31
symfony/symfony(Packagist) = v5.4.21 No fix listed
symfony/symfony(Packagist) = v5.4.22 No fix listed
symfony/symfony(Packagist) = v5.4.23 No fix listed
Show 38 more
ProductAffected versionsFixed in
symfony/symfony(Packagist) = v5.4.24 No fix listed
symfony/symfony(Packagist) = v5.4.25 No fix listed
symfony/symfony(Packagist) = v5.4.26 No fix listed
symfony/symfony(Packagist) = v5.4.27 No fix listed
symfony/symfony(Packagist) = v5.4.28 No fix listed
symfony/symfony(Packagist) = v5.4.29 No fix listed
symfony/symfony(Packagist) = v5.4.30 No fix listed
symfony/symfony(Packagist) >= 6.2.7, < 6.3.8 6.3.8
symfony/symfony(Packagist) = v6.2.10 No fix listed
symfony/symfony(Packagist) = v6.2.11 No fix listed
symfony/symfony(Packagist) = v6.2.12 No fix listed
symfony/symfony(Packagist) = v6.2.13 No fix listed
symfony/symfony(Packagist) = v6.2.14 No fix listed
symfony/symfony(Packagist) = v6.2.7 No fix listed
symfony/symfony(Packagist) = v6.2.8 No fix listed
symfony/symfony(Packagist) = v6.2.9 No fix listed
symfony/symfony(Packagist) = v6.3.0 No fix listed
symfony/symfony(Packagist) = v6.3.0-BETA1 No fix listed
symfony/symfony(Packagist) = v6.3.0-BETA2 No fix listed
symfony/symfony(Packagist) = v6.3.0-BETA3 No fix listed
symfony/symfony(Packagist) = v6.3.0-RC1 No fix listed
symfony/symfony(Packagist) = v6.3.0-RC2 No fix listed
symfony/symfony(Packagist) = v6.3.1 No fix listed
symfony/symfony(Packagist) = v6.3.2 No fix listed
symfony/symfony(Packagist) = v6.3.3 No fix listed
symfony/symfony(Packagist) = v6.3.4 No fix listed
symfony/symfony(Packagist) = v6.3.5 No fix listed
symfony/symfony(Packagist) = v6.3.6 No fix listed
symfony/symfony(Packagist) = v6.3.7 No fix listed
debian/symfony(Debian:12) < 5.4.23+dfsg-1+deb12u1 5.4.23+dfsg-1+deb12u1
debian/symfony(Debian:14) < 5.4.31+dfsg-1 5.4.31+dfsg-1
debian/symfony(Debian:13) < 5.4.31+dfsg-1 5.4.31+dfsg-1
debian/symfony(Debian:12) = 5.4.23+dfsg-1 No fix listed
symfony/symfony = >= 5.4.21, < 5.4.31 No fix listed
symfony/symfony = >= 6.2.7, < 6.3.8 No fix listed
sensiolabs symfony >= 5.4.21, < 5.4.31 5.4.31
sensiolabs symfony >= 6.2.7, < 6.3.8 6.3.8
ubuntu/symfony(Ubuntu:24.10) < 6.4.5+dfsg-3ubuntu3 6.4.5+dfsg-3ubuntu3

References