Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass
- 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.50, 6.4.29, 7.3.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 Nuclei template
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Symfony's HttpFoundation component defines an object-oriented layer for the HTTP specification. Starting in version 2.0.0 and prior to version 5.4.50, 6.4.29, and 7.3.7, the `Request` class improperly interprets some `PATH_INFO` in a way that leads to representing some URLs with a path that doesn't start with a `/`. This can allow bypassing some access control rules that are built with this `/`-prefix assumption. Starting in versions 5.4.50, 6.4.29, and 7.3.7, the `Request` class now ensures that URL paths always start with a `/`.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- symfony symfony
From 2.0.0 · fixed in 5.4.50; From 6.0.0 · fixed in 6.4.29; From 7.0.0 · fixed in 7.3.7
- symfony/http-foundationPackagist
fixed in 5.4.50
- symfony/http-foundationPackagist
From 6.0.0 · fixed in 6.4.29
- symfony/http-foundationPackagist
From 7.0.0 · fixed in 7.3.7
- symfony/symfonyPackagist
From 2.0.0 · fixed in 5.4.50
- symfony/symfonyPackagist
From 6.0.0 · fixed in 6.4.29
- symfony/symfonyPackagist
From 7.0.0 · fixed in 7.3.7