phpMyAdmin server_status.php cross-site scripting

phpmyadmin-serverstatus-xss (37292) The risk level is classified as MediumMedium Risk

Description:

phpMyAdmin is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the server_status.php script. A remote attacker could exploit this vulnerability using a specially-crafted URL to execute script in a victim's Web browser within the security context of the hosting Web site, once the URL is clicked. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

Platforms Affected:

  • Debian, Debian Linux 3.1
  • Debian, Debian Linux 4.0
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
  • phpMyAdmin, phpMyAdmin 2.11.1

Remedy:

Refer to PMASA-2007-6 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

Consequences:

Gain Access

References:

  • phpMyAdmin security announcement PMASA-2007-6, XSS vulnerabilities at http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2007-6.
  • The DigiTrust Group Web site, The DigiTrust Group Advisory #071015a: phpMyAdmin at http://www.digitrustgroup.com/advisories/TDG-advisory071015a.html.
  • BID-26301: phpMyAdmin Server_Status.PHP Cross-Site Scripting Vulnerability
  • CVE-2007-5589: Muliple cross-site scripting (XSS) vulnerabilities in phpMyAdmin before 2.11.1.2 allow remote attackers to inject arbitrary web script or HTML via certain input available in (1) PHP_SELF in (a) server_status.php, and (b) grab_globals.lib.php, (c) display_change_password.lib.php, and (d) common.lib.php in libraries/; and certain input available in PHP_SELF and (2) PATH_INFO in libraries/common.inc.php. NOTE: there might also be other vectors related to (3) REQUEST_URI.
  • DSA-1403: phpmyadmin -- missing input sanitising
  • FrSIRT/ADV-2007-3535: phpMyAdmin Multiple Variable Handling Cross Site Scripting Vulnerabilities
  • MDKSA-2007:199: Updated phpMyAdmin packages fix multiple vulnerabilities
  • SA27246: phpMyAdmin "server_status.php" Cross-Site Scripting
  • SUSE-SR:2008:006: SUSE Security Summary Report

Reported:

Oct 17, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page