CVE-2007-5976 SQL injection in n/a
Authenticated users with database creation privileges can execute arbitrary SQL commands via the db parameter in phpMyAdmin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2007-5976?
CVE-2007-5976 is a medium-severity SQL injection vulnerability in Phpmyadmin Phpmyadmin, published on 15 Nov 2007. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
SQL injection vulnerability in db_create.php in phpMyAdmin before 2.11.2.1 allows remote authenticated users with CREATE DATABASE privileges to execute arbitrary SQL commands via the db parameter.
Weakness: CWE-89
Which versions are affected by CVE-2007-5976?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2007-5976?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2007-5976 being exploited?
There is no known exploitation of CVE-2007-5976 in the wild and no public exploit code.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2007-5976, GHSA-3jmv-pqcg-4h64.