phpMyAdmin 2.x - 'sql.php?pos' Cross-Site Scripting

EDB-ID:

29061


Platform:

PHP

Published:

2006-09-15

source: http://www.securityfocus.com/bid/21137/info
   
phpMyAdmin is prone to multiple input-validation vulnerabilities, including an HTML-injection vulnerability, cross-site scripting vulnerabilities, and information-disclosure vulnerabilities.
   
An attacker could exploit these vulnerabilities to view sensitive information or to have arbitrary script code execute in the context of the affected site, which may allow the attacker to steal cookie-based authentication credentials or change the way the site is rendered to the user. Data gained could aid in further attacks.
   
All versions of phpMyAdmin are vulnerable.

http://www.example.com/phpmyadmin/sql.php?db=information_schema&token=your_token&goto=db_details_structure.php&table=CHARACTER_SETS&pos=&lt;/textarea&gt;'"><script>alert(document.cookie)</script>