PhpMyAdmin multiple parameter cross-site scripting
| phpmyadmin-multiple-parameter-xss (30310) |
Description:
phpMyAdmin is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by multiple scripts. A remote attacker could exploit this vulnerability using the db, newname, query_history_latest, query_history_latest_db, querydisplay_tab or the pos parameters in 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.
Note: The following scripts are reported to be vulnerable:
phpmyadmin/db_create.php
phpmyadmin/db_operations.php
phpmyadmin/querywindow.php
phpmyadmin/sql.php
Platforms Affected:
- Debian, Debian Linux 3.1
- Debian, Debian Linux 4.0
- phpMyAdmin, phpMyAdmin
Remedy:
Upgrade to the latest version of phpMyAdmin (2.9.1.1 or later), available from the phpMyAdmin Web site. See References.
For Debian GNU/Linux (phpmyadmin):
Refer to DSA-1370-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Thu Nov 16 2006 - 10:32:27 CST , PhpMyAdmin all version [multiples vulnerability] at http://archives.neohapsis.com/archives/bugtraq/2006-11/0272.html.
- phpMyAdmin Web site, phpMyAdmin | MySQL Database Administration Tool | www.phpmyadmin.net at http://phpmyadmin.net/.
- BID-21137: phpMyAdmin Multiple Input Validation Vulnerabilities
- CVE-2006-6942: Multiple cross-site scripting (XSS) vulnerabilities in PhpMyAdmin before 2.9.1.1 allow remote attackers to inject arbitrary HTML or web script via (1) a comment for a table name, as exploited through (a) db_operations.php, (2) the db parameter to (b) db_create.php, (3) the newname parameter to db_operations.php, the (4) query_history_latest, (5) query_history_latest_db, and (6) querydisplay_tab parameters to (c) querywindow.php, and (7) the pos parameter to (d) sql.php.
- DSA-1370: phpmyadmin -- several vulnerabilities
- VUPEN/ADV-2006-4572: phpMyAdmin comment Parameter Handling Cross Site Scripting Vulnerabilities
Reported:
Nov 16, 2006
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
