phpMyAdmin "comment" Parameter Handling Cross Site Scripting Vulnerabilities


Description   Multiple vulnerabilities have been identified in phpMyAdmin, which may be exploited by attackers to execute arbitrary scripting code or bypass security restrictions.
The first issue is due to input validation errors in various scripts (e.g. "db_operations.php") that do not validate the "comment" parameter, which could be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser in the security context of an affected Web site.
The second vulnerability is due to input validation errors when processing the "X-Forwarded-For", "X-Forwarded", "Forwarded-For", "Forwarded", "Via", "X-Coming-From", and "Coming-From" HTTP headers, which could be exploited by attackers to bypass IP address checks.
     
Vulnerable Products   Vulnerable Software:
phpMyAdmin version 2.9.1 and prior
     
Solution   Upgrade to version 2.9.1.1 : http://www.phpmyadmin.net/home_page/downloads.php
     
CVE   CVE-2006-6944
CVE-2006-6942
     
References   http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2006-7
http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2006-9
http://s-a-p.ca/index.php?page=OurAdvisories&id=37
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious tag with event found in data
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - GET : javascript code in flash clickTAG parameter
3.2.0
XSS - Prevention - POST : suspicious 'object' tag found in data
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious 'applet' tag found in data
3.2.0
XSS - Prevention - POST : 'location' javascript object found in data
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - POST : javascript code found in data
3.2.0
XSS - Prevention - POST : suspicious 'iframe' tag found in data
3.2.0
XSS - Prevention - POST : code allowing cookie access found in data
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
XSS - Prevention - POST : suspicious 'embed' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' tag found in data
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
XSS - Prevention - GET : 'script' tag in flash clickTAG parameter
3.2.0
XSS - Prevention - POST : suspicious 'div' tag found in data
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - POST : 'script' tag found in data
3.2.0
XSS - Prevention - POST : suspicious 'style' attribute found in data
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
     


 
 
 
 
 Risk level 
Low 

 Vulnerability First Public Report Date 
2006-11-17 

 Target Type 
Server 

 Possible exploit 
Local & Remote