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

Related Vulnerabilities: CVE-2006-6942  
Publish Date: 15 Sep 2006
                							

                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=</textarea>'"><script>alert(document.cookie)</script>