Gentoo: phpMyAdmin Cross-site scripting vulnerability
Posted by Benjamin D. Thomas   
Gentoo phpMyAdmin is vulnerable to a cross-site scripting attack.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200504-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Low
     Title: phpMyAdmin: Cross-site scripting vulnerability
      Date: April 11, 2005
      Bugs: #87952
        ID: 200504-08

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

phpMyAdmin is vulnerable to a cross-site scripting attack.

Background
==========

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

Affected packages
=================

    -------------------------------------------------------------------
     Package            /   Vulnerable   /                  Unaffected
    -------------------------------------------------------------------
  1  dev-db/phpmyadmin      < 2.6.2_rc1                   >= 2.6.2_rc1

Description
===========

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

Impact
======

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

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All phpMyAdmin users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.6.2_rc1"

References
==========

  [ 1 ] PMASA-2005-3
        http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-3

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200504-08.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0