SquirrelMail Multiple Cross Site Scripting and Security Bypass Issues


Description   Multiple vulnerabilities have been identified in SquirrelMail, which could be exploited by attackers to bypass security restrictions, gain knowledge of sensitive information or compromise a vulnerable web server.
The first issue is caused by input validation errors in the "functions/global.php" and "contrib/decrypt_headers.php" scripts when processing user-supplied data, which could allow cross site scripting attacks.
The second vulnerability is caused by an input validation error in the "map_yp_alias()" [functions/imap_general.php] function when processing the "username" parameter, which could be exploited to inject and execute arbitrary shell commands.
The third issue is caused by an error when regenerating and handling session IDs, which could allow session fixation attacks.
The fourth vulnerability is caused by an input validation error when processing HTML emails containing CSS positioning, which could be exploited to overlay SquirrelMail content and conduct phishing attacks.
     
Vulnerable Products   Vulnerable Software:
SquirrelMail versions 1.x
     
Solution   Upgrade to SquirrelMail version 1.4.19 : http://www.squirrelmail.org/download.php
     
CVE   CVE-2009-1581
CVE-2009-1580
CVE-2009-1579
CVE-2009-1578
     
References   http://www.squirrelmail.org/security/issue/2009-05-08
http://www.squirrelmail.org/security/issue/2009-05-09
http://www.squirrelmail.org/security/issue/2009-05-10
http://www.squirrelmail.org/security/issue/2009-05-11
http://www.squirrelmail.org/security/issue/2009-05-12
     
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 
Moderate 

 Vulnerability First Public Report Date 
2009-05-13 

 Target Type 
Client 

 Possible exploit 
Local & Remote