NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-51996: Symfony has an Authentication Bypass via RememberMe

highCVSS 4.0 8.7 · 3.1 7.5GHSA-cg23-qf8f-62rr

Description When consuming a persisted remember-me cookie, Symfony does not check if the username persisted in the database matches the username attached with the cookie, leading to authentication bypass. Resolution The PersistentRememberMeHandler class now ensures the submitted username is the cookie owner. The patch for this issue is available here for branch 5.4.

Published Nov 13, 2024 · Updated Nov 14, 2024

Affected packages

symfony/security-http

Ecosystem
Composer (PHP)
Affected
>= 5.3.0, < 5.4.47
Fixed in
5.4.47
Check
composer show symfony/security-http

symfony/security-http

Ecosystem
Composer (PHP)
Affected
>= 6.0.0-BETA1, < 6.4.15
Fixed in
6.4.15
Check
composer show symfony/security-http

symfony/security-http

Ecosystem
Composer (PHP)
Affected
>= 7.0.0-BETA1, < 7.1.8
Fixed in
7.1.8
Check
composer show symfony/security-http

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Description

When consuming a persisted remember-me cookie, Symfony does not check if the username persisted in the database matches the username attached with the cookie, leading to authentication bypass.

Resolution

The PersistentRememberMeHandler class now ensures the submitted username is the cookie owner.

The patch for this issue is available here for branch 5.4.

Credits

We would like to thank Moritz Rauch - Pentryx AG for reporting the issue and Jérémy Derussé for providing the fix.

Credited to jderusse, m0xr4, stof.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries