Gentoo Logo

phpMyAdmin: Multiple vulnerabilities

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200906-03 / phpmyadmin
Release Date June 29, 2009
Latest Revision June 29, 2009: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/phpmyadmin < 2.11.9.5 >= 2.11.9.5 All supported architectures

Related bugreports: #263711

Synopsis

Multiple errors in phpMyAdmin might allow the remote execution of arbitrary code or a Cross-Site Scripting attack.

2.  Impact Information

Background

phpMyAdmin is a web-based management tool for MySQL databases.

Description

Multiple vulnerabilities have been reported in phpMyAdmin:

  • Greg Ose discovered that the setup script does not sanitize input properly, leading to the injection of arbitrary PHP code into the configuration file (CVE-2009-1151).
  • Manuel Lopez Gallego and Santiago Rodriguez Collazo reported that data from cookies used in the "Export" page is not properly sanitized (CVE-2009-1150).

Impact

A remote unauthorized attacker could exploit the first vulnerability to execute arbitrary code with the privileges of the user running phpMyAdmin and conduct Cross-Site Scripting attacks using the second vulnerability.

3.  Resolution Information

Workaround

Removing the "scripts/setup.php" file protects you from CVE-2009-1151.

Resolution

All phpMyAdmin users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated June 29, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.