CVE-2009-1285 Code injection in n/a
Remote attackers can inject arbitrary PHP code into configuration files in phpMyAdmin, leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-1285?
CVE-2009-1285 is a high-severity code injection vulnerability in Phpmyadmin Phpmyadmin, published on 16 Apr 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2009-1285?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2009-1285?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2009-1285 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-1285 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2009-1285, GHSA-395f-pvp5-hvp6.