TITLE: SquirrelMail Cross-Site Scripting and IMAP Injection Vulnerabilities SECUNIA ADVISORY ID: SA18985 VERIFY ADVISORY: http://secunia.com/advisories/18985/ CRITICAL: Less critical IMPACT: Cross Site Scripting, Manipulation of data WHERE: >From remote SOFTWARE: SquirrelMail 1.x http://secunia.com/product/288/ DESCRIPTION: Some vulnerabilities have been reported in SquirrelMail, which can be exploited by malicious users to manipulate certain information and by malicious people to conduct cross-site scripting attacks. 1) Input passed to the "right_main" parameter in "webmail.php" isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 2) Input passed to comments in styles isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. Successful exploitation requires that the user views the malicious data with the Microsoft Internet Explorer browser. 3) Input passed to the "sqimap_mailbox_select mailbox" parameter isn't properly sanitised before being used in a IMAP query and can be exploited to inject arbitrary IMAP commands. The vulnerabilities have been reported in version 1.4.5 and prior. SOLUTION: The vulnerabilities have been fixed in the CVS repository and fixes will be included in the upcoming 1.4.6 version. PROVIDED AND/OR DISCOVERED BY: 1) Reported by the vendor. 2) The vendor credits Scott Hughes. 3) The vendor credits Vicente Aguilera. ORIGINAL ADVISORY: 1) http://www.squirrelmail.org/security/issue/2006-02-01 2) http://www.squirrelmail.org/security/issue/2006-02-10 3) http://www.squirrelmail.org/security/issue/2006-02-15 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------