CVE-2011-2507 Code injection in n/a
Authenticated users can execute arbitrary PHP code by injecting PCRE modifiers into the Synchronize feature via session manipulation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2011-2507?
CVE-2011-2507 is a medium-severity code injection vulnerability in Phpmyadmin Phpmyadmin, published on 14 Jul 2011. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
libraries/server_synchronize.lib.php in the Synchronize implementation in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 does not properly quote regular expressions, which allows remote authenticated users to inject a PCRE e (aka PREG_REPLACE_EVAL) modifier, and consequently execute arbitrary PHP code, by leveraging the ability to modify the SESSION superglobal array.
Weakness: CWE-94
Which versions are affected by CVE-2011-2507?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2011-2507?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2011-2507 being exploited?
There is no known exploitation of CVE-2011-2507 in the wild and no public exploit code.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2011-2507, GHSA-rm5v-f378-qgp9.