Skip to content
OpenAdvisories
Critical · 9.8 Known exploited Scanner template Public exploit CVE-2009-1151 EUVD-2009-1151GHSA-fw5c-3235-cprv

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 inj…

Published Mar 26, 2009 · Updated Oct 22, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 phpmyadmin 4:3.1.3.1-1 —
Debian 13 phpmyadmin 4:3.1.3.1-1 —
Debian 12 phpmyadmin 4:3.1.3.1-1 —
Debian 5.0 phpmyadmin 4:2.11.8.1-5+lenny1 DSA-1824-1
Debian 4.0 phpmyadmin 4:2.9.1.1-11 DSA-1824-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 3

GitHub 3 repositories

  • pagvac/pocs ★ 6 · Feb 3, 2018

    phpMyAdmin '/scripts/setup.php' PHP Code Injection RCE PoC (CVE-2009-1151)

  • e-Thug/PhpMyAdmin ★ 1 · Jun 24, 2023

    Based on the x.pl exploit/loader script for CVE-2009-1151

  • tpdlshdmlrkfmcla/ZmEu ★ 0 · Mar 30, 2025

    CVE-2009-1151, phpMyAdmin의 set.up

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 1

References