Gentoo Logo

phpMyAdmin: Cross-site scripting vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200504-08 / phpMyAdmin
Release Date April 11, 2005
Latest Revision May 22, 2006: 02
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/phpmyadmin < 2.6.2_rc1 >= 2.6.2_rc1 All supported architectures

Related bugreports: #87952


phpMyAdmin is vulnerable to a cross-site scripting attack.

2.  Impact Information


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


Oriol Torrent Santiago has discovered that phpMyAdmin fails to validate input to the "convcharset" variable, rendering it vulnerable to cross-site scripting attacks.


By sending a specially-crafted request, an attacker can inject and execute malicious script code, potentially compromising the victim's browser.

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.2_rc1"

4.  References


Page updated April 11, 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.