Improper authentication in Symfony - CVE-2024-51996

 

Improper authentication in Symfony - CVE-2024-51996

Published: November 15, 2024


Vulnerability identifier: #VU100537
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-51996
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error during authentication when using the persisted remember-me cookie. The application does not check if the username persisted in the database matches the username attached with the cookie. A remote non-authenticated attacker can bypass authentication process and gain unauthorized access to the application.


Affected software

Symfony
Debian Linux
Ubuntu
php-symfony (Ubuntu package)
symfony (Debian package)

How to mitigate CVE-2024-51996

Install updates from vendor's website.

Symfony - addressed in versions 5.4.47, 6.4.15, 7.1.8
php-symfony (Ubuntu package) - update to Ubuntu Pro
symfony (Debian package) - update to 5.4.23+dfsg-1+deb12u4

External References

Related Security Bulletins