{"id":"CVE-2009-1151","published":"2009-03-26T14:30:00Z","modified":"2026-06-16T23:06:36Z","title":"phpMyAdmin Remote Code Execution Vulnerability","vendor":"phpMyAdmin","product":"phpMyAdmin","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"The phpMyAdmin product has a static code injection flaw in setup.php, affecting phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1, which lets arbitrary PHP code be written into a configuration file via the save action. A remote attacker with network access can exploit it without authentication or user interaction, which permits code execution on the affected server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T08:31:42Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.96565,"percentile":0.99882,"date":"2026-10-31","provenance":"source"},"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2009-1151","provenance":"source"},"vulncheckKev":{"dateAdded":"2011-07-29","exploitedFirstSeen":"2019-04-17","ransomware":false,"evidence":[{"url":"https://blog.talosintelligence.com/2019/04/seaturtle.html","date":"2019-04-17"},{"url":"https://www.ic3.gov/Media/News/2022/220126.pdf","date":"2022-01-26"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-03-25"},{"url":"https://veriti.ai/blog/vulnerable-villain-when-hackers-get-hacked/","date":"2024-04-15"},{"url":"https://info.greynoise.io/hubfs/resources/GreyNoise-2025-Mass-Internet-Exploitation-Report.pdf","date":"2025-02-27"}],"evidenceTotal":5,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Nov 1, 2026","url":"https://otx.alienvault.com/pulse/6ae6007740c10de9f3c0173d","created":"2026-10-31"},{"name":"Actively_Exploited_Kev | Oct 31, 2026","url":"https://otx.alienvault.com/pulse/6ae4aefab0c2191cecd41862","created":"2026-10-30"},{"name":"Actively_Exploited_Kev | Oct 30, 2026","url":"https://otx.alienvault.com/pulse/6ae35d889ea92b4ce19c2680","created":"2026-10-29"},{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"http://labs.neohapsis.com/2009/04/06/about-cve-2009-1151/","tags":["Broken Link"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html","tags":["Product"]},{"url":"http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_9/phpMyAdmin/scripts/setup.php?r1=11514&r2=12301&pathrev=12301","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/34430","tags":["Broken Link","Vendor Advisory"]},{"url":"http://secunia.com/advisories/34642","tags":["Broken Link","Vendor Advisory"]},{"url":"http://secunia.com/advisories/35585","tags":["Broken Link","Vendor Advisory"]},{"url":"http://secunia.com/advisories/35635","tags":["Broken Link","Vendor Advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200906-03.xml","tags":["Third Party Advisory"]},{"url":"http://www.debian.org/security/2009/dsa-1824","tags":["Mailing List"]},{"url":"http://www.gnucitizen.org/blog/cve-2009-1151-phpmyadmin-remote-code-execution-proof-of-concept/","tags":["Exploit","Issue Tracking"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:115","tags":["Broken Link"]},{"url":"http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/504191/100/0/threaded","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/34236","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/8921","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://labs.neohapsis.com/2009/04/06/about-cve-2009-1151/","tags":["Broken Link"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html","tags":["Product"]},{"url":"http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_9/phpMyAdmin/scripts/setup.php?r1=11514&r2=12301&pathrev=12301","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/34430","tags":["Broken Link","Vendor Advisory"]},{"url":"http://secunia.com/advisories/34642","tags":["Broken Link","Vendor Advisory"]},{"url":"http://secunia.com/advisories/35585","tags":["Broken Link","Vendor Advisory"]},{"url":"http://secunia.com/advisories/35635","tags":["Broken Link","Vendor Advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200906-03.xml","tags":["Third Party Advisory"]},{"url":"http://www.debian.org/security/2009/dsa-1824","tags":["Mailing List"]},{"url":"http://www.gnucitizen.org/blog/cve-2009-1151-phpmyadmin-remote-code-execution-proof-of-concept/","tags":["Exploit","Issue Tracking"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:115","tags":["Broken Link"]},{"url":"http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/504191/100/0/threaded","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/34236","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/8921","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2009-1151","tags":["US Government Resource"]}],"techniques":[{"id":"T1189","name":"Drive-by Compromise","tactics":["initial-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"server-side bug exploitable without user interaction; client-execution technique does not fit"},{"id":"T1203","name":"Exploitation for Client Execution","tactics":["execution"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"server-side bug exploitable without user interaction; client-execution technique does not fit"},{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Remote attacker exploits web setup script directly.","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"allows remote attackers to inject arbitrary PHP code","start":109,"end":161}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Injected PHP executes as code on server.","mappingType":"primary_impact","evidence":[{"from":"description","quote":"inject arbitrary PHP code into a configuration file","start":136,"end":187}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[{"id":"SRC-65ab06ae92274f14e50e","title":"DNS Hijacking Abuses Trust In Core Internet Service","publisher":"blog.talosintelligence.com","url":"https://blog.talosintelligence.com/seaturtle/","date":"2019-04-17","mentions":[{"quote":"CVE-2009-1151: PHP code injection vulnerability affecting phpMyAdmin","start":8552,"end":8620},{"quote":"CVE-2009-1151: PHP code injection vulnerability affecting phpMyAdminSID: 2281CVE-2014-6271: RCE affecting GNU bash system, specific the SMTP (this was part of the Shellshock CVEs)SID: 31975 - 31978, 31985, 32038, 32039, 32041 - 32043, 32069, 32335, 32336CVE-2017-3881: RCE for Cisco switchesSID: 41909 - 41910CVE-2017-67","start":20025,"end":20345}]}],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2009-1151","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2009-1151","exploited":true,"exploitedSince":"2022-03-25","provenance":"source"},"exploits":[{"id":8921,"url":"https://www.exploit-db.com/exploits/8921","title":"phpMyAdmin - '/scripts/setup.php' PHP Code Injection","type":"webapps","platform":"php","date":"2009-06-09","verified":true,"provenance":"source"},{"id":8992,"url":"https://www.exploit-db.com/exploits/8992","title":"phpMyAdmin - 'pmaPWN!' Code Injection / Remote Code Execution","type":"webapps","platform":"php","date":"2009-06-22","verified":true,"provenance":"source"},{"id":16913,"url":"https://www.exploit-db.com/exploits/16913","title":"phpMyAdmin - Config File Code Injection (Metasploit)","type":"webapps","platform":"php","date":"2010-07-03","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":3,"earliest":"2009-06-09"},"pocGithub":{"count":3,"skipped":0,"earliest":"2018-02-03","earliestUrl":"https://github.com/pagvac/pocs","repos":[{"name":"pagvac/pocs","url":"https://github.com/pagvac/pocs","stars":6,"created":"2018-02-03"},{"name":"e-Thug/PhpMyAdmin","url":"https://github.com/e-Thug/PhpMyAdmin","stars":1,"created":"2023-06-24"},{"name":"tpdlshdmlrkfmcla/ZmEu","url":"https://github.com/tpdlshdmlrkfmcla/ZmEu","stars":0,"created":"2025-03-30"}]},"metasploit":[{"name":"phpMyAdmin Config File Code Injection","module":"exploit/unix/webapp/phpmyadmin_config","type":"exploit","disclosureDate":"2009-03-24","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/phpmyadmin_config.rb"}],"nuclei":[{"id":"CVE-2009-1151","name":"PhpMyAdmin Scripts - Remote Code Execution","severity":"high","path":"http/cves/2009/CVE-2009-1151.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2009/CVE-2009-1151.yaml"}],"first":{"date":"2009-03-24","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/phpmyadmin_config.rb"},"provenance":"source"},"exploitRefs":["http://www.gnucitizen.org/blog/cve-2009-1151-phpmyadmin-remote-code-execution-proof-of-concept/","https://www.exploit-db.com/exploits/8921"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"},{"stage":"related","techniques":["T1189","T1203"],"provenance":"source","lowConfidence":true}],"timeline":[{"date":"2009-03-24","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2009-06-09, PoC-in-GitHub 2018-02-03","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/phpmyadmin_config.rb","provenance":"source"},{"date":"2009-03-26","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2009-1151","provenance":"source"},{"date":"2019-04-17","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://blog.talosintelligence.com/2019/04/seaturtle.html","provenance":"source"},{"date":"2019-04-17","kind":"report","label":"Named in blog.talosintelligence.com: DNS Hijacking Abuses Trust In Core Internet Service","url":"https://blog.talosintelligence.com/seaturtle/","provenance":"machine"},{"date":"2022-03-25","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-03-25","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2009-1151","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":4747},"priority":{"score":73.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 5574 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.98,"detail":"percentile 0.9988"},{"name":"Named in threat reports","points":3.87,"detail":"1 report"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD references tagged Exploit; 3 Exploit-DB entries; 3 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}