Gentoo Logo

SquirrelMail: Multiple vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201001-08 / squirrelmail
Release Date January 13, 2010
Latest Revision January 13, 2010: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
mail-client/squirrelmail < 1.4.19 >= 1.4.19 All supported architectures

Related bugreports: #269567, #270671


Multiple vulnerabilities were found in SquirrelMail of which the worst results in remote code execution.

2.  Impact Information


SquirrelMail is a standards-based webmail package written in PHP.


Multiple vulnerabilities were found in SquirrelMail:

  • Niels Teusink reported multiple input sanitation flaws in certain encrypted strings in e-mail headers, related to contrib/decrypt_headers.php, PHP_SELF and the query string (aka QUERY_STRING) (CVE-2009-1578).
  • Niels Teusink also reported that the map_yp_alias() function in functions/imap_general.php does not filter shell metacharacters in a username and that the original patch was incomplete (CVE-2009-1381, CVE-2009-1579).
  • Tomas Hoger discovered an unspecified session fixation vulnerability (CVE-2009-1580).
  • Luc Beurton reported that functions/mime.php does not protect the application's content from Cascading Style Sheets (CSS) positioning in HTML e-mail messages (CVE-2009-1581).


The vulnerabilities allow remote attackers to execute arbitrary code with the privileges of the user running the web server, to hijack web sessions via a crafted cookie, to spoof the user interface and to conduct Cross-Site Scripting and phishing attacks, via a specially crafted message.

3.  Resolution Information


There is no known workaround at this time.


All SquirrelMail users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-client/squirrelmail-1.4.19"

4.  References


Page updated January 13, 2010

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.