Gentoo Logo

phpMyAdmin: Multiple vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-07 / phpMyAdmin
Release Date March 03, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/phpmyadmin < 2.6.1_p2-r1 >= 2.6.1_p2-r1 All supported architectures

Related bugreports: #83190, #83792


phpMyAdmin contains multiple vulnerabilities that could lead to command execution, XSS issues and bypass of security restrictions.

2.  Impact Information


phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL databases from a web-browser.


phpMyAdmin contains several security issues:

  • Maksymilian Arciemowicz has discovered multiple variable injection vulnerabilities that can be exploited through "$cfg" and "GLOBALS" variables and localized strings
  • It is possible to force phpMyAdmin to disclose information in error messages
  • Failure to correctly escape special characters


By sending a specially-crafted request, an attacker can include and execute arbitrary PHP code or cause path information disclosure. Furthermore the XSS issue allows an attacker to inject malicious script code, potentially compromising the victim's browser. Lastly the improper escaping of special characters results in unintended privilege settings for MySQL.

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.6.1_p2-r1"

4.  References


Page updated March 03, 2005

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.