Home    |    View Topics    |    Search    |    Contact Us    |   



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:
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:



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: (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

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:
CVE Names:         CAN-2004-0519, CAN-2004-0520, CAN-2004-0521

1. Topic:

Updated squirrelmail packages that fix a security vulnerability are now

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 (
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 for directions on how to configure yum
and apt-get.

5. Bug IDs fixed: - 1733 - SquirrelMail Folder Name Cross-Site
Scripting Vulnerability

6. RPMs required:

Red Hat Linux 9:



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:

9. Contact:

The Fedora Legacy security contact is <>. More
project details at

10. Special Notes:

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


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

Version: GnuPG v1.2.4 (GNU/Linux)



Full-Disclosure - We believe in it.


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 2021, LLC