CVE-2012-5159 in Phpmyadmin
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Phpmyadmin | Phpmyadmin | 3.5.2.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-5159 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-167049-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2012-09-25 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
phpMyAdmin 3.5.2.2, distributed by the cdnetworks-kr-1 mirror in 2012, was found to contain a Trojan Horse in server_sync.php, enabling remote attackers to execute arbitrary PHP code through an eval injection attack.
The attack vector involves an eval injection vulnerability in the server_sync.php file, which allows attackers to inject and execute arbitrary PHP code on the server.
Questions
What is CVE-2012-5159?
phpMyAdmin 3.5.2.2, distributed by the cdnetworks-kr-1 mirror in 2012, was found to contain a Trojan Horse in server_sync.php, enabling remote attackers to execute arbitrary PHP code through an eval injection attack.
What is the CVSS score for CVE-2012-5159?
CVE-2012-5159 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 74.5%.
Is CVE-2012-5159 actively exploited?
Public exploit available for CVE-2012-5159. Exploitation risk elevated.
How do I remediate CVE-2012-5159?
Priority: IMMEDIATE. Advisory: http://www.phpmyadmin.net/home_page/security/PMASA-2012-5.php PSIRT: [email protected]
What systems are affected by CVE-2012-5159?
CVE-2012-5159 affects Phpmyadmin Phpmyadmin.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Phpmyadmin","product":"Phpmyadmin","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.