Code Injection in phpMyAdmin - CVE-2011-2507

 

Code Injection in phpMyAdmin - CVE-2011-2507

Published: July 15, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU44891
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-2507
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote #AU# to read and manipulate data.

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.


Affected software

phpMyAdmin

How to mitigate CVE-2011-2507

Install update from vendor's website.


External References

Related Security Bulletins