Code Injection in phpMyAdmin - CVE-2011-2506

 

Code Injection in phpMyAdmin - CVE-2011-2506

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


Vulnerability identifier: #VU44890
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2011-2506
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: phpMyAdmin
Affected software:
phpMyAdmin

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

setup/lib/ConfigGenerator.class.php in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 does not properly restrict the presence of comment closing delimiters, which allows remote attackers to conduct static code injection attacks by leveraging the ability to modify the SESSION superglobal array.


How to mitigate CVE-2011-2506

Install update from vendor's website.

Sources