--------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Updated squirrelmail packages close cross-site scripting vulnerabilities Advisory ID: RHSA-2003:042-07 Issue date: 2003-02-07 Updated on: 2003-03-04 Product: Red Hat Linux Keywords: squirrelmail cross-site scripting Cross references: Obsoletes: CVE Names: CAN-2002-1276 CAN-2002-1341 --------------------------------------------------------------------- 1. Topic: Updated squirrelmail packages are now available for Red Hat Linux. 2. Relevant releases/architectures: Red Hat Linux 8.0 - noarch 3. Problem description: SquirrelMail is a webmail package written in PHP. Two vulnerabilities have been found that affect versions of SquirrelMail shipped with Red Hat Linux 8.0. A cross-site scripting (XSS) vulnerability in Squirrelmail version 1.2.10 and earlier allows remote attackers to execute script as other web users via read_body.php. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2002-1341 to this issue. An incomplete fix for a cross-site scripting vulnerability in SquirrelMail 1.2.8 calls the strip_tags function on the PHP_SELF value but does not save the result back to that variable, leaving it open to cross-site scripting attacks. (CAN-2002-1276) All users of Squirrelmail are advised to upgrade to these packages based on SquirrelMail version 1.2.10 which contain a backported patch to fix these issues. 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 Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. 5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info): 78982 - SquirrelMail 1.2.8 vulnerable to XSS attacks 79147 - SquirrelMail 1.2.8 vulnerable to XSS attacks 6. RPMs required: Red Hat Linux 8.0: SRPMS: ftp://updates.redhat.com/8.0/en/os/SRPMS/squirrelmail-1.2.10-1.src.rpm noarch: ftp://updates.redhat.com/8.0/en/os/noarch/squirrelmail-1.2.10-1.noarch.rpm 7. Verification: MD5 sum Package Name -------------------------------------------------------------------------- ab53bd8537f3263e0410e5c0324e5f40 8.0/en/os/SRPMS/squirrelmail-1.2.10-1.src.rpm 9f9bdb1263306d8ffffef6c030c8fe29 8.0/en/os/noarch/squirrelmail-1.2.10-1.noarch.rpm These packages are GPG signed by Red Hat, Inc. for security. Our key is available at http://www.redhat.com/about/contact/pgpkey.html 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 md5sum with the following command: md5sum <filename> 8. References: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=167471 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1276 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1341 9. Contact: The Red Hat security contact is <security@redhat.com>. More contact details at http://www.redhat.com/solutions/security/news/contact.html Copyright 2003 Red Hat, Inc. _______________________________________________ Redhat-watch-list mailing list To unsubscribe, visit: https://listman.redhat.com/mailman/listinfo/redhat-watch-list