phpMyAdmin setup.php cross-site scripting

phpmyadmin-setup-xss (37077) 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 setup.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:

Upgrade to the latest version of phpMyAdmin (2.11.1.1 or later), available from the phpMyAdmin Web site. See References.

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

Consequences:

Gain Access

References:

  • DigiTrust Group Web site, The DigiTrust Group Advisory #071009a: phpMyAdmin at http://www.digitrustgroup.com/advisories/TDG-advisory071009a.
  • phpMyAdmin Web site, phpMyAdmin at http://www.phpmyadmin.net/.
  • BID-26020: phpMyAdmin Setup.PHP Cross-Site Scripting Vulnerability
  • CVE-2007-5386: Cross-site scripting (XSS) vulnerability in scripts/setup.php in phpMyAdmin 2.11.1, when accessed by a browser that does not URL-encode requests, allows remote attackers to inject arbitrary web script or HTML via the query string.
  • DSA-1403: phpmyadmin -- missing input sanitising
  • FrSIRT/ADV-2007-3469: phpMyAdmin REQUEST_URI Variable Cross Site Scripting Vulnerability
  • MDKSA-2007:199: Updated phpMyAdmin packages fix multiple vulnerabilities
  • SA27173: phpMyAdmin "setup.php" Cross-Site Scripting Vulnerability

Reported:

Oct 09, 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