Gentoo Logo

phpMyAdmin: Local file inclusion vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200510-16 / phpmyadmin
Release Date October 17, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/phpmyadmin < 2.6.4_p2 >= 2.6.4_p2 All supported architectures

Related bugreports: #108939


phpMyAdmin contains a local file inclusion vulnerability that may lead to the execution of arbitrary code.

2.  Impact Information


phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the web.


Maksymilian Arciemowicz reported that in libraries/grab_globals.lib.php, the $__redirect parameter was not correctly validated. Systems running PHP in safe mode are not affected.


A local attacker may exploit this vulnerability by sending malicious requests, causing the execution of arbitrary code with the rights of the user running the web server.

3.  Resolution Information


Run PHP in safe mode.


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.4_p2"

4.  References


Page updated October 17, 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.