CVE-2009-1151 in Debian Linux and 1 more product
Static code injection vulnerability in setup.php in phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 allows remote attackers to inject arbitrary PHP code into a configuration file via the save action.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 4.0 5.0 |
| Phpmyadmin | Phpmyadmin | ≥ 2.11.0, < 2.11.9.5 ≥ 3.0.0, < 3.1.3.1 |
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 | Yes added 2022-03-25 |
|---|---|
| Public exploit | Reported · reference |
Official description
Static code injection vulnerability in setup.php in phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 allows remote attackers to inject arbitrary PHP code into a configuration file via the save action.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2009-1151 |
|---|---|
| BreachSpider ID | BS-2009-GLOBAL-177614-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2009-03-26 |
| 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
The static code injection vulnerability in phpMyAdmin's setup.php affects versions 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1, allowing remote attackers to inject arbitrary PHP code into a configuration file. This can lead to full system compromise and unauthorized access to sensitive data. The vulnerability has a high CVSS score of 9.8 and is listed in the KEV catalog with a public proof-of-concept and known exploits. Immediate action is required to mitigate the risk.
Remote attackers can exploit this vulnerability by sending a specially crafted request to the setup.php script with the 'save' action parameter. This allows them to inject arbitrary PHP code into the configuration file, potentially leading to remote code execution and full control over the affected system.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization on all user inputs, especially those that interact with configuration files. Consider using a web application firewall (WAF) to block suspicious requests.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2009-1151?
The static code injection vulnerability in phpMyAdmin's setup.php affects versions 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1, allowing remote attackers to inject arbitrary PHP code into a configuration file. This can lead to full system compromise and unauthorized access to sensitive data. The vulnerability has a high CVSS score of 9.8 and is listed in the KEV catalog with a public proof-of-concept and known exploits. Immediate action is required to mitigate the risk.
What is the CVSS score for CVE-2009-1151?
CVE-2009-1151 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 96.6%.
Is CVE-2009-1151 actively exploited?
Yes. CVE-2009-1151 is in the CISA known-exploited catalog (added 2022-03-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2009-1151?
Priority: IMMEDIATE. Advisory: http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php PSIRT: [email protected]
What systems are affected by CVE-2009-1151?
CVE-2009-1151 affects Debian Debian Linux; Phpmyadmin Phpmyadmin.
What NERC-CIP standard applies to CVE-2009-1151?
NERC CIP CIP-007 CIP-007-R2: This vulnerability allows unauthorized access to the system, which could compromise the integrity and availability of critical assets, violating the requirement for secure access controls.
What IEC 62443 requirement maps to CVE-2009-1151?
IEC 62443 SR 7.6: This vulnerability exposes the system to remote code execution, which can compromise the security of the industrial control system, violating the requirement for secure software development practices.
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":"Debian","product":"Debian Linux","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.