PoC Monitor
← All CVEs
CVE-2009-1151published 26 Mar 2009 14:00 UTCData: JSON · API

phpMyAdmin

phpMyAdmin Remote Code Execution Vulnerability

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.

First public PoC 74 daysafter publication · 9 Jun 2009 · Exploit-DB
Public PoCs83 on GitHub · 5 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV 25 Mar 202213.0 years after publication

Timeline

Days relative to CVE publication
t=0+2 y+4 y+6 y+8 y+10 y+12 yCVE published26 Mar 2009 · t = 0First public PoC9 Jun 2009 · t+74dAdded to CISA KEV25 Mar 2022 · t+13.0y

First public PoC 74 days after publication; added to CISA KEV 13.0 years after publication. First PoC: phpMyAdmin - '/scripts/setup.php' PHP Code Injection (Exploit-DB, 9 Jun 2009).

PoC repositories

Found on GitHub.

3 PoCs · 1 informational · 1 not a PoC

PoCs 3
RepositoryCreatedStarsAssessment
adpast/pocs 3 Feb 2018 +8.9 y 6 PoC
pagvac/pocs 3 Feb 2018 +8.9 y 6 PoC
e-Thug/PhpMyAdmin 24 Jun 2023 +14.2 y 1 PoC
Informational 1
RepositoryCreatedStarsAssessment
tpdlshdmlrkfmcla/ZmEu 30 Mar 2025 +16.0 y 0 Informational · write-up
Not a PoC 1
RepositoryCreatedStarsAssessment
ItaIia/PhpMyAdmin 24 Jun 2023 +14.2 y 1 Not a PoC · unrelated

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 3 PoC repos

GET /phpMyAdmin-3.0.1.1//config/config.inc.php

Query
c=ls -l /
Seen in
2 repos: adpast/pocs, pagvac/pocs
Evidence
adpast/pocs/README.md:26 pagvac/pocs/README.md:26

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /phpMyAdmin-3.0.1.1//config/config.inc.php
(?i)^/phpMyAdmin-3\.0\.1\.1//config/config\.inc\.php\?(?:.*&)?c=ls -l /

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /phpMyAdmin-3.0.1.1//config/config.inc.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2009-1151 phpMyAdmin phpMyAdmin exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/phpMyAdmin-3.0.1.1//config/config.inc.php"; http.uri; content:"c=ls -l /"; reference:url,poc.griffinguard.io/cve/CVE-2009-1151; classtype:web-application-attack; sid:9299747; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /phpMyAdmin-3.0.1.1//config/config.inc.php
title: phpMyAdmin phpMyAdmin exploit attempt (CVE-2009-1151)
id: gg-pocmon-cve-2009-1151-9299747
status: experimental
description: Request pattern taken from public PoCs for CVE-2009-1151. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2009-1151
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/phpMyAdmin-3.0.1.1//config/config.inc.php'
    cs-uri-query|contains|all:
      - 'c=ls -l /'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2009.1151