CVE-2024-51996
Symphony has an Authentication Bypass via RememberMe
Reported by github_m · Published November 13, 2024
symfony/security-http is fixed in 7.1.8, 6.4.15 and 5.4.47 (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| symfony/security-http | Packagist | 7.1.8, 6.4.15, 5.4.47 |
| symphony_process | symphony_php_framework | 7.1.8, 7.0.0-BETA1, 6.4.15, 6.0.0-BETA1, 5.4.47, 5.3.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| symfony | symfony | >= 5.3.0, < 5.4.47, >= 6.0.0-BETA1, < 6.4.15, >= 7.0.0-BETA1, < 7.1.8 |
| symfony | security-http | 7.0.0-BETA1, 6.0.0-BETA1, 5.3.0 |
| symphony_php_framework | symphony_process | 0, 0, 0 |
| symfony | symfony | 7.0.0-BETA1, 6.0.0-BETA1, 5.3.0 |
Timeline
- Nov 13, 2024 CVE Published
- Nov 13, 2024 PoC Published (5 in total, the first dated here)
- Nov 14, 2024 EPSS Score (30 in total, the first dated here)
- Nov 14, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jan 1, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-51996
vulnetix vdb fixes CVE-2024-51996
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-51996/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/symfony/symfony/security/advisories/GHSA-cg23-qf8f-62rr x_refsource_CONFIRM
- https://github.com/symfony/symfony/commit/81354d392c5f0b7a52bcbd729d6f82501e94135a x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-51996 advisory
- https://github.com/advisories/GHSA-cg23-qf8f-62rr advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2024-51996.yaml url
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-51996.yaml url
- https://github.com/symfony/symfony url
- https://symfony.com/cve-2024-51996 url