Patchfirst
CVE-2009-1151 KEVPublic exploit Critical · 9.8 EPSS 96.6%

phpMyAdmin Remote Code Execution Vulnerability

phpMyAdmin · phpMyAdmin

Summary

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.

Official description · NVD

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.

Breakdown
73.7 / 100
Exploited
Yes, in CISA KEV
Reports
1
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 10 years after disclosure. Public exploit code (Metasploit) was available 2 days before disclosure.

  1. Public exploit codeMetasploit2 days before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidenceNamed in a threat reportblog.talosintelligence.com+10 yrs
  4. Added to CISA KEVEU database agrees+13 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Remote attacker exploits web setup script directly.

allows remote attackers to inject arbitrary PHP code
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Injected PHP executes as code on server.

inject arbitrary PHP code into a configuration file
From the official description (NVD) Original (opens in a new tab) ↗
Lower-confidence links (2)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Drive-by CompromiseT1189 server-side bug exploitable without user interaction; client-execution technique does not fit
  • Exploitation for Client ExecutionT1203 server-side bug exploitable without user interaction; client-execution technique does not fit

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2009-1151 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 1 threat report
1 reportCisco TalosApr 2019

Reports are matched by finding the exact id CVE-2009-1151 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Cisco Talos17 Apr 2019

DNS Hijacking Abuses Trust In Core Internet Service

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…

Original (opens in a new tab) ↗

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

16 links, grouped by NVD tag (15 duplicates merged)
↑ ↓ chooseEnter openEsc close