Gentoo Logo

Multiple XSS Vulnerabilities in SquirrelMail


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200405-16 / SquirrelMail
Release Date May 25, 2004
Latest Revision May 27, 2006: 04
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
mail-client/squirrelmail < 1.4.3_rc1 >= 1.4.3_rc1 All supported architectures

Related bugreports: #49675


SquirrelMail is subject to several XSS and one SQL injection vulnerability.

2.  Impact Information


SquirrelMail is a webmail package written in PHP. It supports IMAP and SMTP, and can optionally be installed with SQL support.


Several unspecified cross-site scripting (XSS) vulnerabilities and a well hidden SQL injection vulnerability were found. An XSS attack allows an attacker to insert malicious code into a web-based application. SquirrelMail does not check for code when parsing variables received via the URL query string.


One of the XSS vulnerabilities could be exploited by an attacker to steal cookie-based authentication credentials from the user's browser. The SQL injection issue could potentially be used by an attacker to run arbitrary SQL commands inside the SquirrelMail database with privileges of the SquirrelMail database user.

3.  Resolution Information


There is no known workaround at this time. All users are advised to upgrade to version 1.4.3_rc1 or higher of SquirrelMail.


All SquirrelMail users should upgrade to the latest stable version:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv ">=mail-client/squirrelmail-1.4.3_rc1"
# emerge ">=mail-client/squirrelmail-1.4.3_rc1"

4.  References


Page updated May 25, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.