patchminder
Exploited in the wild · CISA KEV CVE-2009-1151

Code injectionin phpMyAdmin.

Published 26 Mar 2009 · Updated 22 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 25 Mar 2022.

On CISA's listAttack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 96.6% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
See the vendor advisory
In plain words

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: Setup script used to generate configuration can be fooled using a crafted POST request to include arbitrary PHP code in generated configuration file.

What to do now
  • CISA requires US federal agencies to fix it by 15 Apr 2022.

Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 24 Mar 2009
    Metasploit module: phpMyAdmin Config File Code Injection.
  2. 26 Mar 2009
    CVE ID reserved by mitre.
  3. 26 Mar 2009
    Published in the CVE List.
  4. 3 Feb 2018
    First public proof of concept on GitHub.
  5. 25 Mar 2022
    Added to CISA's Known Exploited Vulnerabilities list.
  6. 22 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
1 module
Nuclei scan template
Available
Exploit-DB
3 entries
GitHub proof of concepts
3 repositories
1 flagged suspicious
MetasploitphpMyAdmin Config File Code Injectionrank excellentLinked once a fix or workaround is known.
NucleiPhpMyAdmin Scripts · Remote Code Executiondetection templateLinked once a fix or workaround is known.
Exploit-DBEDB-ID 8921web application exploit for php, published 9 Jun 2009, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 8992web application exploit for php, published 22 Jun 2009, verified by Exploit-DBLinked once a fix or workaround is known.
Exploit-DBEDB-ID 16913web application exploit for php, published 3 Jul 2010, verified by Exploit-DBLinked once a fix or workaround is known.
GitHubsuspicious, do not rune-Thug/PhpMyAdminNo link: this repository shows warning signs. Do not run it.Why: uses words typical for malware
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.

2 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other phpMyAdmin vulnerabilities

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2009-1151: Code injection in phpMyAdmin. https://patchminder.com/cve/cve-2009-1151/ (accessed 5 December 2026).