<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200503-07 ] phpMyAdmin: Multiple vulnerabilities



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200503-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: phpMyAdmin: Multiple vulnerabilities
      Date: March 03, 2005
      Bugs: #83190, #83792
        ID: 200503-07

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

Synopsis
========

phpMyAdmin contains multiple vulnerabilities that could lead to command
execution, XSS issues and bypass of security restrictions.

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.1_p2-r1               >= 2.6.1_p2-r1

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

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
  messages

* Failure to correctly escape special characters

Impact
======

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.

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.1_p2-r1"

References
==========

  [ 1 ] PMASA-2005-1
        http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-1
  [ 2 ] PMASA-2005-2
        http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2005-2
  [ 3 ] phpMyAdmin bug 1113788
        
http://sourceforge.net/tracker/index.php?func=detail&aid=1113788&group_id=23067&atid=377408

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

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

  http://security.gentoo.org/glsa/glsa-200503-07.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@xxxxxxxxxx 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

Attachment: pgphuLZzVj1xg.pgp
Description: PGP signature