Red Hat 8852 Published by

An updated SquirrelMail package is available for Red Hat Enterprise Linux 3

----------------------------------------------------------------------
Red Hat Security Advisory

Synopsis: Updated SquirrelMail package fixes multiple vulnerabilities
Advisory ID: RHSA-2004:240-01
Issue date: 2004-06-14
Updated on: 2004-06-14
Product: Red Hat Enterprise Linux
Keywords: cross-site scripting XSS sql injection
Cross references:
Obsoletes:
CVE Names: CAN-2004-0519 CAN-2004-0520 CAN-2004-0521
----------------------------------------------------------------------

1. Topic:

An updated SquirrelMail package that fixes several security vulnerabilities is now available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - noarch
Red Hat Desktop version 3 - noarch
Red Hat Enterprise Linux ES version 3 - noarch
Red Hat Enterprise Linux WS version 3 - noarch



3. Problem description:

SquirrelMail is a webmail package written in PHP. Multiple vulnerabilities have been found which affect the version of SquirrelMail shipped with Red Hat Enterprise Linux 3.

An SQL injection flaw was found in SquirrelMail version 1.4.2 and earlier. If SquirrelMail is configured to store user addressbooks in the database, a remote attacker could use this flaw to execute arbitrary SQL statements. The Common Vulnerabilities and Exposures project has assigned the name CAN-2004-0521 to this issue.

A number of cross-site scripting (XSS) flaws in SquirrelMail version 1.4.2 and earlier could allow remote attackers to execute script as other web users. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CAN-2004-0519 and CAN-2004-0520 to these issues.

All users of SquirrelMail are advised to upgrade to the erratum package containing SquirrelMail version 1.4.3a which is not vulnerable to these issues.

4. Solution:

Before applying this update, make sure all previously released errata relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs.

Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

122512 - CAN-2004-0519/20/21 XSS and SQL issues in Squirrelmail

6. RPMs required:

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/squirrelmail-1.4.3-0.e3.1.src.rpm

noarch:
Available from Red Hat Network: squirrelmail-1.4.3-0.e3.1.noarch.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/squirrelmail-1.4.3-0.e3.1.src.rpm

noarch:
Available from Red Hat Network: squirrelmail-1.4.3-0.e3.1.noarch.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/squirrelmail-1.4.3-0.e3.1.src.rpm

noarch:
Available from Red Hat Network: squirrelmail-1.4.3-0.e3.1.noarch.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/squirrelmail-1.4.3-0.e3.1.src.rpm

noarch:
Available from Red Hat Network: squirrelmail-1.4.3-0.e3.1.noarch.rpm



7. Verification:

MD5 sum Package Name
- --------------------------------------------------------------------------
fe78cd5ef4feb1aec5923dd2e6b3a5f9 squirrelmail-1.4.3-0.e3.1.noarch.rpm
081f186411150fea88f0533185f7bafb squirrelmail-1.4.3-0.e3.1.src.rpm


These packages are GPG signed by Red Hat for security. Our key is available from https://www.redhat.com/security/team/key.html

You can verify each package with the following command:

rpm --checksig -v

If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command:

md5sum


8. References:

http://marc.theaimsgroup.com/?l=squirrelmail-announce&m=108595407012256
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0519
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0520
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0521

9. Contact:

The Red Hat security contact is secalert@redhat.com. More contact details at https://www.redhat.com/security/team/contact.html

Copyright 2004 Red Hat, Inc.