Debian: New squirrelmail packages fix cross-site scripting
Posted by Benjamin D. Thomas   
Debian Updated package.
- --------------------------------------------------------------------------
Debian Security Advisory DSA 1241-1                    security@debian.org
http://www.debian.org/security/                         Moritz Muehlenhoff
December 25th, 2006                     http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : squirrelmail
Vulnerability  : cross-site scripting
Problem-Type   : remote
Debian-specific: no
CVE IDs        : CVE-2006-6142

Martijn Brinkers discovered cross-site scripting vulnerabilities in the
the mailto parameter of webmail.php, the session and delete_draft
parameters of compose.php and through a shortcoming in the magicHTML
filter. An attacker could abuse these to execute malicious JavaScript in
the user's webmail session. 

Also, a workaround was made for Internet Explorer <= 5: IE will attempt
to guess the MIME type of attachments based on content, not the MIME 
header sent. Attachments could fake to be an 'harmless' JPEG, while they
were in fact HTML that Internet Explorer would render.

For the stable distribution (sarge) these problems have been fixed in
version 2:1.4.4-10.

For the upcoming stable distribution (etch) these problems have been fixed
in version 2:1.4.9a-1.

For the unstable distribution (sid) these problems have been fixed in
version 2:1.4.9a-1.

We recommend that you upgrade your squirrelmail package.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.1 alias sarge
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/s/squirrelmail/squirrelmail_1.4.4-10.dsc
      Size/MD5 checksum:      680 cc443dbfaaf32fc0f157bc9dee46c937
    http://security.debian.org/pool/updates/main/s/squirrelmail/squirrelmail_1.4.4-10.diff.gz
      Size/MD5 checksum:    28247 5a19e089f41344b4a8a556ced2da3917
    http://security.debian.org/pool/updates/main/s/squirrelmail/squirrelmail_1.4.4.orig.tar.gz
      Size/MD5 checksum:   575871 f50548b6f4f24d28afb5e6048977f4da

  Architecture independent components:

    http://security.debian.org/pool/updates/main/s/squirrelmail/squirrelmail_1.4.4-10_all.deb
      Size/MD5 checksum:   571102 f5f9f495411c7bdc3455a1e3b0598352

  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org