phpMyAdmin: Multiple vulnerabilities
Gentoo Linux Security Advisory
||GLSA 200503-07 / phpMyAdmin
||March 03, 2005
||May 22, 2006: 02
All supported architectures
phpMyAdmin contains multiple vulnerabilities that could lead to command
execution, XSS issues and bypass of security restrictions.
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
- 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.
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"