7.5high
Symphony has an Authentication Bypass via RememberMe
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.62% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cg23-qf8f-62rr
Description
Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. 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. This vulnerability is fixed in 5.4.47, 6.4.15, and 7.1.8.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| symfony symfony | >= 5.3.0, < 5.4.47, >= 6.0.0-BETA1, < 6.4.15, >= 7.0.0-BETA1, < 7.1.8 | CVE List |
| symphony_php_framework symphony_process | up to 5.3.0, before 5.4.47, up to 6.0.0-BETA1, before 6.4.15, up to 7.0.0-BETA1, before 7.1.8 | CVE List |
| symfony/security-http (Packagist) | from 5.3.0 before 5.4.47, from 6.0.0-BETA1 before 6.4.15, from 7.0.0-BETA1 before 7.1.8 | GitHub Advisory Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. 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. This vulnerability is fixed in 5.4.47, 6.4.15, and 7.1.8.
GitHub Advisory Database
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.
NVD (es)
Symphony process es un módulo para el framework PHP Symphony que ejecuta comandos en subprocesos. Al consumir una cookie de recordatorio persistente, Symfony no comprueba si el nombre de usuario persistente en la base de datos coincide con el nombre de usuario adjunto a la cookie, lo que provoca la omisión de la autenticación. Esta vulnerabilidad se ha corregido en 5.4.47, 6.4.15 y 7.1.8.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-51996 changed 2024-11-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cg23-qf8f-62rr changed 2024-11-15 | CC-BY-4.0 |
| NVD | CVE-2024-51996 changed 2026-06-17 | Public domain |