CVE-2009-1151: phpMyAdmin Remote Code Execution
phpMyAdmin · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-25.
- CVSS v3.1 (CISA ADP)
- 9.8
- critical
- EPSS (exploit probability, 30 days)
- 97%
- higher than 99.8% of all CVEs
- Added to CISA KEV
- 2022-03-25
- US federal due date 2022-04-15
- Automatable (CISA SSVC)
- yes
- technical impact: total
CVE-2009-1151 explained
CVE-2009-1151 is a static code injection vulnerability in setup.php in phpMyAdmin. Remote attackers can inject arbitrary PHP code into a configuration file through the save action. CISA lists it as known to be exploited, so any remaining vulnerable installation is a serious risk.
Impact
An unauthenticated remote attacker can write PHP code into a phpMyAdmin configuration file over the network. No user interaction is needed and attack complexity is low. This can lead to full loss of confidentiality, integrity and availability of the affected server. CISA rates it automatable with total technical impact, meaning attackers can exploit it at scale and gain total control of the affected component. Attackers are known to use it.
Who is affected
The description names phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 as affected. The structured CVE record lists no affected versions and names no fixed version in its version data. Based on the description, versions 2.11.9.5 and 3.1.3.1 are the first in their branches without this flaw. Check the vendor advisory to confirm fixed releases.
Written with AI from the data on this page and checked against it automatically.
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.
CISA required action: Apply updates per vendor instructions.
CISA notes
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: phpmyadmin.net/home_page/security/PMASA-2009-3.php
- CISA's deadline for US federal agencies: 2022-04-15 (passed) – a useful benchmark for everyone else, too.
What to do
- Upgrade phpMyAdmin to a current supported release, at minimum beyond
2.11.9.5or3.1.3.1per the description and vendor advisory. - Apply updates per vendor instructions, as CISA's required action states.
- Remove or restrict access to setup.php and the setup directory on production installations.
- Keep phpMyAdmin off the public internet; allow access only from trusted networks or through a VPN.
- Inspect phpMyAdmin configuration files for unexpected PHP code and check the server for signs of compromise.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-94 Improper Control of Generation of Code ('Code Injection')
Questions about CVE-2009-1151
- Is this vulnerability exploited in the wild?
- Yes. CISA added CVE-2009-1151 to its Known Exploited Vulnerabilities catalog on 2022-03-25, with a US federal due date of 2022-04-15. Whether it is used in ransomware campaigns is unknown.
- Does an attacker need credentials?
- No. The CVSS data shows network access, low complexity, no privileges and no user interaction are required.
- Which versions should I run?
- The description says versions before
2.11.9.5in the2.11.xbranch and before3.1.3.1in the3.xbranch are affected. Follow the vendor advisory and run a current supported release.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.