phpMyAdmin sql.php cross-site scripting
| phpmyadmin-sql-xss (25796) |
Description:
phpMyAdmin is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the sql.php script. A remote attacker could exploit this vulnerability using the lang parameter to execute script in a victim's Web browser within the security context of the hosting Web site, allowing the attacker to steal the victim's cookie-based authentication credentials.
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of phpMyAdmin (2.8.1 or later), available from the phpMyAdmin Web site. See References.
References:
- BugTraq Mailing List, Wed Apr 12 2006 - 13:50:37 CDT: phpMyAdmin 2.7.0-pl1.
- The phpMyAdmin Project Web site: phpMyAdmin - 2.8.0.3.
- BID-17487: PHPMyAdmin SQL.PHP Cross-Site Scripting Vulnerability
- CVE-2006-1803: Cross-site scripting (XSS) vulnerability in sql.php in phpMyAdmin 2.7.0-pl1 allows remote attackers to inject arbitrary web script or HTML via the sql_query parameter.
- SA19659: phpMyAdmin Cross-Site Scripting and SQL Code Execution
- SUSE-SR:2006:009: SUSE Security Summary Report
- VUPEN/ADV-2006-1372: phpMyAdmin Multiple Variable SQL Execution and Cross Site Scripting Vulnerabilities
Platforms Affected:
- phpMyAdmin phpMyAdmin 2.7.0-pl1
Reported:
Apr 12, 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 (IBM 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.
For corrections or additions please email xforce@iss.net
