CVE-2012-6431 Symfony Allows URI Restrictions Bypass Via Double-Encoded String

Medium 6.4 Published Updated

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.

PackageAffectedFixed in
symfony/http-foundation PackagistFrom 2.0.02.0.19
symfony/http-foundation PackagistFrom 2.0.02.0.19
symfony/routing PackagistFrom 2.0.02.0.19
symfony/routing PackagistFrom 2.0.02.0.19
symfony/security PackagistFrom 2.0.02.0.19
symfony/security PackagistFrom 2.0.02.0.19
2 more packages
symfony/symfony PackagistFrom 2.0.02.0.19
symfony/symfony PackagistFrom 2.0.02.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.

All Sensiolabs Symfony vulnerabilities

Sources

Also known as GHSA-83c3-qx27-2rwr.

Is CVE-2012-6431 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free