phpMyAdmin: Local file inclusion vulnerability — GLSA 200510-16

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

Affected packages

dev-db/phpmyadmin on all architectures
Affected versions < 2.6.4_p2
Unaffected versions >= 2.6.4_p2

Background

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

Description

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.

Impact

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.

Workaround

Run PHP in safe mode.

Resolution

All phpMyAdmin users should upgrade to the latest version:

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

References

Release date
October 17, 2005

Latest revision
May 22, 2006: 02

Severity
normal

Exploitable
local

Bugzilla entries