CVE-2012-6431 Symfony Allows URI Restrictions Bypass Via Double-Encoded String
Remote attackers can bypass URI restrictions in Symfony by using doubly encoded strings, potentially accessing protected resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-6431?
CVE-2012-6431 is a medium-severity vulnerability in Sensiolabs Symfony, published on 27 Dec 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Symfony 2.0.x before 2.0.20 does not process URL encoded data consistently within the Routing and Security components, which allows remote attackers to bypass intended URI restrictions via a doubly encoded string.
Weakness: CWE-264
Which versions are affected by CVE-2012-6431?
8 open source packages ship an affected version, including symfony/http-foundation, symfony/routing and symfony/security. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
symfony/http-foundation Packagist | From 2.0.0 | 2.0.19 |
symfony/http-foundation Packagist | From 2.0.0 | 2.0.19 |
symfony/routing Packagist | From 2.0.0 | 2.0.19 |
symfony/routing Packagist | From 2.0.0 | 2.0.19 |
symfony/security Packagist | From 2.0.0 | 2.0.19 |
symfony/security Packagist | From 2.0.0 | 2.0.19 |
2 more packages
symfony/symfony Packagist | From 2.0.0 | 2.0.19 |
symfony/symfony Packagist | From 2.0.0 | 2.0.19 |
Products include Sensiolabs Symfony.
How do I fix CVE-2012-6431?
Upgrade symfony/http-foundation to 2.0.19 or later.
Is CVE-2012-6431 being exploited?
There is no known exploitation of CVE-2012-6431 in the wild and no public exploit code.
Other vulnerabilities in Sensiolabs Symfony
Sources
Also known as GHSA-83c3-qx27-2rwr.