Symfony: Identity Spoofing via Unanchored DN Regex in X509Authenticator
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.4.52, 6.4.40, 7.4.12, 8.0.12
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, X509Authenticator extracts the user identifier from $_SERVER['SSL_CLIENT_S_DN'] with an unanchored regex that matches emailAddress= anywhere in the distinguished name, allowing an attacker with a trusted certificate containing emailAddress=victim inside another RDN value such as CN to authenticate as the victim. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- symfony symfony
fixed in 5.4.52; From 6.0.0-BETA1 · fixed in 6.4.40; From 7.0.0-BETA1 · fixed in 7.4.12; From 8.0.0-BETA1 · fixed in 8.0.12
- symfony/security-httpPackagist
fixed in 5.4.52
- symfony/security-httpPackagist
From 6.0.0-BETA1 · fixed in 6.4.40
- symfony/security-httpPackagist
From 7.0.0-BETA1 · fixed in 7.4.12
- symfony/security-httpPackagist
From 8.0.0-BETA1 · fixed in 8.0.12
- symfony/symfonyPackagist
fixed in 5.4.52
- symfony/symfonyPackagist
From 6.0.0-BETA1 · fixed in 6.4.40
- symfony/symfonyPackagist
From 7.0.0-BETA1 · fixed in 7.4.12
- symfony/symfonyPackagist
From 8.0.0-BETA1 · fixed in 8.0.12