Gentoo Logo

phpMyAdmin: SQL injection vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200803-15 / phpmyadmin
Release Date March 09, 2008
Latest Revision March 09, 2008: 01
Impact low
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/phpmyadmin < 2.11.5 >= 2.11.5 All supported architectures

Related bugreports: #212000


A SQL injection vulnerability has been discovered in phpMyAdmin.

2.  Impact Information


phpMyAdmin is a free web-based database administration tool.


Richard Cunningham reported that phpMyAdmin uses the $_REQUEST variable of $_GET and $_POST as a source for its parameters.


An attacker could entice a user to visit a malicious web application that sets an "sql_query" cookie and is hosted on the same domain as phpMyAdmin, and thereby conduct SQL injection attacks with the privileges of the user authenticating in phpMyAdmin afterwards.

3.  Resolution Information


There is no known workaround at this time.


All phpMyAdmin users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.11.5"

4.  References


Page updated March 09, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.