__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Mozilla 1.4.2 Vulnerabilities [Red Hat Security Advisory RHSA-2004:112-09 ] March 31, 2004 23:00 GMT Number O-106 [REVISED 08 Apr 2004] [REVISED 14 May 2004] ______________________________________________________________________________ PROBLEM: Mozilla is a web browser and mail reader. Problems in parsing of S/MIME protocol, a cross-site scripting issue, and a cookie traversal issue lead to security vulnerabilities. PLATFORM: Red Hat Linux 9, Red Hat Linux AS, ES, WS (v. 2.1) and (v.3) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor Mandrake 9.2, 9.2/AMD64 SGI ProPack v2.3 and v2.4 DAMAGE: The parsing of unexpected ASN.1 constructs within S/MIME data could cause Mozilla to crash or consume large amounts of memory. A remote attacker could potentially trigger these bugs by sending a carefully-crafted S/MIME message to a victim. When linking to a new page it is still possible to interact with the old page before the new page has been successfully loaded. Any Javascript events will be invoked in the context of the new page, making cross-site scripting possible if the different pages belong to different domains. By supplying URLs that use path traversal (/../) and character encoding, it is possible to fool many browsers into sending a cookie to a path outside of the originally-specified subset. SOLUTION: Apply updated security packages. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. A remote attacker could steal session ASSESSMENT: cookies and conduct unauthorized activities. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/o-106.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2004-112.html ADDITIONAL LINKS: - Red Hat Security Advisory RHSA-2004:110-19 https://rhn.redhat.com/errata/RHSA-2004-110.html - SGI Security Advisory Number: 20040402-01-U http://www.sgi.com/support/security/advisories.html - Visit Hewlett Packard's Subscription Service: HPSBUX01036 (SSRT4722) rev. 0 CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2003-0564, 2003-0594, 2004-0191 ______________________________________________________________________________ REVISION HISTORY: 04/08/2004 - added link to SGI Security Advisory Number: 20040402-01-U, Security Update #17 that provides patches for SGI ProPack v2.3 and v2.4. 05/14/2004 - added information about Hewlett Packard's advisory for patches. [***** Start Red Hat Security Advisory RHSA-2004:112-09 *****] Updated Mozilla packages fix security issues Advisory: RHSA-2004:112-09 Last updated on: 2004-03-17 Affected Products: Red Hat Linux 9 CVEs (cve.mitre.org): CAN-2003-0564 CAN-2003-0594 CAN-2004-0191 Security Advisory Details: Updated Mozilla packages that fix vulnerabilities in S/MIME parsing as well as other issues and bugs are now available. Mozilla is a Web browser and mail reader, designed for standards compliance, performance and portability. Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled server applications. NISCC testing of implementations of the S/MIME protocol uncovered a number of bugs in NSS versions prior to 3.9. The parsing of unexpected ASN.1 constructs within S/MIME data could cause Mozilla to crash or consume large amounts of memory. A remote attacker could potentially trigger these bugs by sending a carefully-crafted S/MIME message to a victim. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2003-0564 to this issue. Andreas Sandblad discovered a cross-site scripting issue that affects various versions of Mozilla. When linking to a new page it is still possible to interact with the old page before the new page has been successfully loaded. Any Javascript events will be invoked in the context of the new page, making cross-site scripting possible if the different pages belong to different domains. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0191 to this issue. Flaws have been found in the cookie path handling between a number of Web browsers and servers. The HTTP cookie standard allows a Web server supplying a cookie to a client to specify a subset of URLs on the origin server to which the cookie applies. Web servers such as Apache do not filter returned cookies and assume that the client will only send back cookies for requests that fall within the server-supplied subset of URLs. However, by supplying URLs that use path traversal (/../) and character encoding, it is possible to fool many browsers into sending a cookie to a path outside of the originally-specified subset. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2003-0594 to this issue. Users of Mozilla are advised to upgrade to these updated packages, which contain Mozilla version 1.4.2 and are not vulnerable to these issues. Updated packages: Red Hat Linux 9 -------------------------------------------------------------------------------- SRPMS: galeon-1.2.13-0.9.0.src.rpm [ via FTP ] [ via HTTP ] 992ef9250ed9c98cebbb8dece0b42a40 mozilla-1.4.2-0.9.0.src.rpm [ via FTP ] [ via HTTP ] 392c1e8d54668de9114ced4cb26f2239 i386: galeon-1.2.13-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] 4246168924d57be9a4b3549e119c0fa7 mozilla-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] 0fba1f22954569f2fe62b20c12badde8 mozilla-chat-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] f36041c9afacb8ac07d7caf0ffba5636 mozilla-devel-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] 134a3539d5f3d3de4456bb2c2b70948d mozilla-dom-inspector-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] 0bfad47e55d2d8202a5dc80b504cf68b mozilla-js-debugger-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] e5a9af2c6b720adb3ca8f831568ce208 mozilla-mail-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] 8909de56f2915ffb9c3adbedad0da0dc mozilla-nspr-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] f4d1279c459694868473c8ad2609b490 mozilla-nspr-devel-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] 3a2f9360085c0ecb0a312da2dec1e703 mozilla-nss-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] 5198348d07a15c8a064688baf03f4aea mozilla-nss-devel-1.4.2-0.9.0.i386.rpm [ via FTP ] [ via HTTP ] cb849bc1da29db4d3e5a9e50e708fae6 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. If up2date fails to connect to Red Hat Network due to SSL Certificate Errors, you need to install a version of the up2date client with an updated certificate. The latest version of up2date is available from the Red Hat FTP site and may also be downloaded directly from the RHN website: https://rhn.redhat.com/help/latest-up2date.pxt References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0564 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0594 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0191 http://www.mozilla.org/projects/security/pki/nss/#NSS_39 http://bugzilla.mozilla.org/show_bug.cgi?id=227417 http://www.niscc.gov.uk/ Keywords: mozilla, nss [***** End Red Hat Security Advisory RHSA-2004:112-09 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Red Hat for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) O-096: Microsoft Outlook Could Allow Unauthorized Code Execution O-097: Red Hat Sysstat Packages contain Vulnerability O-098: NetScreen IVE Vulnerability may lead to Remote Script Execution O-099: Sun Basic Security Module Auditing Functionality Vulnerability O-100: Certificate Compromise using HP HTTP Server O-101: OpenSSL Denial of Service Vulnerability O-102: IBM AIX rexecd Vulnerability O-103: Apache HTTP Server mod_access Information Disclosure O-104: ICQ Parsing in ISS Products May Lead to Buffer Overflow O-105: Multiple Vulnerabilities in Ethereal 0.10.2