Code Injection in phpMyAdmin - CVE-2012-5159

 

Code Injection in phpMyAdmin - CVE-2012-5159

Published: September 26, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43479
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:A/U:Green
CVE-ID: CVE-2012-5159
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.

phpMyAdmin 3.5.2.2, as distributed by the cdnetworks-kr-1 mirror during an unspecified time frame in 2012, contains an externally introduced modification (Trojan Horse) in server_sync.php, which allows remote attackers to execute arbitrary PHP code via an eval injection attack. Although not found in all distributions of this software, the vulnerability was scored assuming that it was. End-users will need to identify whether their distribution does in fact contain the vulnerability.


How to mitigate CVE-2012-5159

Install update from vendor's website.

Sources