SquirrelMail mime.php cross-site scripting
| squirrelmail-mime-xss (18031) |
Description:
SquirrelMail is vulnerable to cross-site scripting, caused by an error in the decodeHeader function in the mime.php script. A remote attacker could send a specially-crafted email containing malicious code in headers, which would be executed in the victim¿s Web browser, once the message is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
Consequences:
Obtain Information
Remedy:
For SquirrelMail 1.4.3a:
Apply the patch for this vulnerability, available from the SquirrelMail Web site. See References.
For SquirrelMail 1.5.1-cvs:
Upgrade to the latest CVS Snapshot of SquirrelMail, available from the SquirrelMail Web site. See References.
For Gentoo Linux:
Upgrade to the latest version of SquirrelMail (1.4.3a-r2 or later), as listed in GLSA 200411-25. See References.
For Conectiva Linux:
Upgrade to the latest version of squirrelmail, as listed below. Refer to Conectiva Linux Security Announcement CLA-2004:905 for more information. See References.
For Fedora Core 3:
Upgrade to the latest squirrelmail package (1.4.3a-6.FC3 or later), as listed in Fedora Update Notification FEDORA-2004-472. See References.
For Fedora Core 2:
Upgrade to the latest squirrelmail package (1.4.3a-6.FC2 or later), as listed in Fedora Update Notification FEDORA-2004-471. See References.
For Red Hat Linux:
Upgrade to the latest squirrelmail package, as listed below. Refer to RHSA-2004:654-05 for more information. See References.
Red Hat Enterprise Linux AS, ES, WS (v. 3) and Desktop 3: 1.4.3a-7 or later
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- BugTraq Mailing List, Wed Nov 10 2004 - 00:04:51 CST : Cross Site Scripting in encoded text.
- CIAC Information Bulletin P-116: Apple Security Update 2005-001 for Mac OS X.
- Conectiva Linux Security Announcement CLA-2004:905: Fix for a cross site scripting vulnerability.
- Fedora Update Notification FEDORA-2004-472: squirrelmail-1.4.3a-6.FC3 update.
- SquirrelMail Web site: SquirrelMail - Webmail for Nuts!.
- BID-11653: SquirrelMail decodeHeader HTML Injection Vulnerability
- CVE-2004-1036: Cross-site scripting (XSS) vulnerability in the decoding of encoded text in certain headers in mime.php for SquirrelMail 1.4.3a and earlier, and 1.5.1-cvs before 23rd October 2004, allows remote attackers to execute arbitrary web script or HTML.
- GLSA-200411-25: SquirrelMail: Encoded text XSS vulnerability
- RHSA-2004-654: squirrelmail security update
- SUSE-SR:2004:004: SUSE Security Summary Report
- SUSE-SR:2004:005: SUSE Security Summary Report
- SUSE-SR:2005:002: SUSE Security Summary Report
Platforms Affected:
- Conectiva Linux 9.0
- FedoraProject Fedora Core 3
- Gentoo Linux
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 AS
- SquirrelMail SquirrelMail 1.4.3a and prior
- SquirrelMail SquirrelMail 1.5.1-cvs
Reported:
Nov 10, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
