Gentoo Logo

SquirrelMail: Encoded text XSS vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200411-25 / SquirrelMail
Release Date November 17, 2004
Latest Revision May 22, 2006: 02
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
mail-client/squirrelmail < 1.4.3a-r2 >= 1.4.3a-r2 All supported architectures

Related bugreports: #70739


Squirrelmail fails to properly sanitize user input, which could lead to a compromise of webmail accounts.

2.  Impact Information


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


SquirrelMail fails to properly sanitize certain strings when decoding specially-crafted headers.


By enticing a user to read a specially-crafted e-mail, an attacker can execute arbitrary scripts running in the context of the victim's browser. This could lead to a compromise of the user's webmail account, cookie theft, etc.

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.3a-r2"

Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update.

4.  References


Page updated November 17, 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.