← Vulnerability feed

Vulnerability record · CVE-2009-1151 · published 26 March 2009

CVE-2009-1151: phpMyAdmin setup.php code injection enables remote PHP execution

Phpmyadmin · Phpmyadmin

phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 contains a static code injection flaw in setup.php. The save action lets a remote attacker write arbitrary PHP code into a configuration file, which is then executed by the server. Because the vulnerable setup script is reachable without authentication, this is a full remote code execution issue.

9.8 CVSS 3.1 Critical CISA KEV since 25 Mar 2022 EPSS 97% · top 0.1% CWE-94 · Code injection
9.8CVSS 3.1 base score, v2 7.5
97%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
2Affected product versions listed by NVD
31References, 4 tagged exploit
16 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution with a CVSS of 9.8, KEV listing, near-maximum EPSS, and public exploits make this an urgent patch.

What it is

phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 contains a static code injection flaw in setup.php. The save action lets a remote attacker write arbitrary PHP code into a configuration file, which is then executed by the server. Because the vulnerable setup script is reachable without authentication, this is a full remote code execution issue.

Impact

An unauthenticated attacker can execute arbitrary PHP code on the web server, leading to full compromise of the phpMyAdmin host and any database credentials it holds. This can expose or destroy the underlying database contents.

Attack surface

Reached over the network through the setup.php script's save action; the CVSS vector shows no privileges or user interaction required. Any exposed phpMyAdmin setup interface is directly attackable.

Exploitation

CISA added it to KEV in March 2022, EPSS is 0.966 at the 99.88th percentile, and public proof-of-concept and Exploit-DB references exist, so exploitation is widespread and reliable. No ransomware campaign use is documented.

What to do

  • Upgrade phpMyAdmin to 2.11.9.5 or 3.1.3.1 (or later) immediately.
  • Remove or block access to the setup directory and setup.php on production systems.
  • Restrict phpMyAdmin access to trusted management networks or require authentication in front of it.
  • Audit the phpMyAdmin config file for injected PHP code and restore it from a known-good copy.
  • Rotate database credentials and any secrets stored in the phpMyAdmin configuration.

Detection

  • Monitor web logs for POST requests to setup.php with a save action or PHP code in parameters.
  • Alert on unexpected modifications to phpMyAdmin config files, especially added PHP tags.
  • Scan for web-accessible setup directories and exposed phpMyAdmin instances.
  • Review server processes and outbound connections for signs of injected PHP execution.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2009-1151 to the Known Exploited Vulnerabilities catalog on 25 March 2022 as "phpMyAdmin Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 15 April 2022.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://labs.neohapsis.com/2009/04/06/about-cve-2009-1151/ Broken Link
http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html Product
http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_9/phpMyAdmin/scripts/setup.php?r1=11514&r2=1 Vendor Advisory
http://secunia.com/advisories/34430 Broken LinkVendor Advisory
http://secunia.com/advisories/34642 Broken LinkVendor Advisory
http://secunia.com/advisories/35585 Broken LinkVendor Advisory
http://secunia.com/advisories/35635 Broken LinkVendor Advisory
http://security.gentoo.org/glsa/glsa-200906-03.xml Third Party Advisory
http://www.debian.org/security/2009/dsa-1824 Mailing List
http://www.gnucitizen.org/blog/cve-2009-1151-phpmyadmin-remote-code-execution-proof-of-concept/ ExploitIssue Tracking
http://www.mandriva.com/security/advisories?name=MDVSA-2009:115 Broken Link
http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php PatchVendor Advisory
http://www.securityfocus.com/archive/1/504191/100/0/threaded Broken LinkThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/34236 Broken LinkThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/8921 ExploitThird Party AdvisoryVDB Entry
http://labs.neohapsis.com/2009/04/06/about-cve-2009-1151/ Broken Link
http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html Product
http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_9/phpMyAdmin/scripts/setup.php?r1=11514&r2=1 Vendor Advisory
http://secunia.com/advisories/34430 Broken LinkVendor Advisory
http://secunia.com/advisories/34642 Broken LinkVendor Advisory
http://secunia.com/advisories/35585 Broken LinkVendor Advisory
http://secunia.com/advisories/35635 Broken LinkVendor Advisory
http://security.gentoo.org/glsa/glsa-200906-03.xml Third Party Advisory
http://www.debian.org/security/2009/dsa-1824 Mailing List
http://www.gnucitizen.org/blog/cve-2009-1151-phpmyadmin-remote-code-execution-proof-of-concept/ ExploitIssue Tracking
http://www.mandriva.com/security/advisories?name=MDVSA-2009:115 Broken Link
http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php PatchVendor Advisory
http://www.securityfocus.com/archive/1/504191/100/0/threaded Broken LinkThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/34236 Broken LinkThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/8921 ExploitThird Party AdvisoryVDB Entry
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2009-1151 US Government Resource

Track CVE-2009-1151 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2009-1151), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.