CVE-2012-5159 Code injection in n/a

High 7.5 Published Updated

A trojanized phpMyAdmin mirror allows remote attackers to execute arbitrary PHP code via eval injection in server_sync.php.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-5159?

CVE-2012-5159 is a high-severity code injection vulnerability in Phpmyadmin Phpmyadmin, published on 25 Sep 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-94

Which versions are affected by CVE-2012-5159?

It affects 1 product.

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2012-5159?

No fix has been published for CVE-2012-5159 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2012-5159 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-5159 exists.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as GHSA-g39j-4qc9-5rh4.

Is CVE-2012-5159 in your software?

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

Check your SBOMs for free