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 'abook_database.php' May Let Remote Users Inject SQL Commands
SecurityTracker Alert ID:  1011506
SecurityTracker URL:  http://securitytracker.com/id/1011506
CVE Reference:   CVE-2004-0521   (Links to External Site)
Date:  Oct 2 2004
Impact:   Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.4.2 and prior versions
Description:   An input validation vulnerability was reported in SquirrelMail. A remote user may be able to execute SQL statements on the target system.

It is reported that when SquirrelMail is configured to store user address books in the database, a remote attacker can exploit a flaw to execute arbitrary SQL statements.

The flaw resides in 'abook_database.php' where the $alias variable is not properly filtered.

Impact:   A remote user can inject SQL commands to be executed by the underlying database.
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.
Aug 3 2004 SquirrelMail Input Validation Flaw in 'abook_database.php' May Let Remote Users Inject SQL Commands



 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