__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Mozilla (now SeaMonkey), Firefox, Thunderbird Security Vulnerabilities [Mozilla Foundation Security Advisory 2006-48] July 27, 2006 17:00 GMT Number Q-258 [REVISED 5 Mar 2007] ______________________________________________________________________________ PROBLEM: There are several security vulnerabilities in Mozilla (now SeaMonkey): 1) JavaScript new Function race condition; 2) Memory corruption with simultaneous events; and 3) Code execution through deleted frame reference. PLATFORM: Firefox 1.5.0.5 SeaMonkey 1.0.3 Thunderbird 1.5.0.5 Firefox prior to version 1.5.0.9 running on HP-UX B.11.11 and B.11.23 DAMAGE: 1) JavaScript garbage collection deleted a temporary variable still being used in the creation of a new Function object. The resulting use of a deleted object may be potentially exploitable to run native code provided by the attacker; 2) A memory corruption error within the handling of simultaneously happenind XPCOM events, which leads to use of a deleted timer object. This generally results in a crash but potentially could be exploited to execute arbitrary code on a user's system when a malicious website is visited; and 3) A JavaScript reference to a frame or window was not properly cleared when the referenced content went away, and a deleted object could be used to execute native code supplied by the attacker. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. The attacker could execute arbitrary code. ASSESSMENT: ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-258.shtml ORIGINAL BULLETIN: Mozilla Foundation Security Advisory 2006-48 http://www.mozilla.org/security/announce/2006/mfsa2006-48.html ADDITIONAL LINKS: Mozilla Foundation Security Advisories 2006-46 & 2006-44 http://www.mozilla.org/security/announce/2006/mfsa2006-46.html http://www.mozilla.org/security/announce/2006/mfsa2006-44.html Visit Hewlett-Packard's Subscription Service for: HPSBUX02153 SSRT061181 rev. 3 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2006-3803 CVE-2006-3113 CVE-2006-3801 ______________________________________________________________________________ REVISION HISTORY: 03/05/2007 - revised Q-258 to add a link to Hewlett-Packard HPSBUX02153 SSRT061181 rev. 3 for Firefox prior to version 1.5.0.9 running on HP-UX B.11.11 and B.11.23. [***** Start Mozilla Foundation Security Advisory 2006-48 *****] Mozilla Foundation Security Advisory 2006-48 Title: JavaScript new Function race condition Impact: Critical Announced: July 25, 2006 Reporter: H. D. Moore Products: Firefox, Thunderbird, SeaMonkey Fixed in: Firefox 1.5.0.5 Thunderbird 1.5.0.5 SeaMonkey 1.0.3 Description H. D. Moore reported a testcase that was able to trigger a race condition where JavaScript garbage collection deleted a temporary variable still being used in the creation of a new Function object. The resulting use of a deleted object may be potentially exploitable to run native code provided by the attacker. This vulnerability was introduced during Firefox 1.5 development, it does not affect Firefox 1.0 or Mozilla Suite 1.7 Note: Thunderbird shares the browser engine with Firefox and would be vulnerable if JavaScript were to be enabled in mail. This is not the default setting and we strongly discourage users from enabling JavaScript in mail. Workaround Disable JavaScript until you can upgrade to a fixed version. Do not enable JavaScript in mail clients such as Thunderbird. References https://bugzilla.mozilla.org/show_bug.cgi?id=344759 https://bugzilla.mozilla.org/show_bug.cgi?id=344960 CVE-2006-3803 -------------------------------------------------------------------------------- [***** End Mozilla Foundation Security Advisory 2006-48 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Mozilla 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) Q-248: kernel-source-2.6.8 et.al. Q-249: Vulnerability in PowerPoint Q-250: Multiple Vulnerabilities in Cisco Security Monitoring, Analysis and Response System (CS-MARS) Q-251: Oracle Critical Patch Update - July 2006 Q-252: libwmf Security Update Q-253: gimp Security Update Q-254: SeaMonkey Security Update (was Mozilla) Q-255: OpenSSH Security Update Q-256: Adobe Acrobat Buffer Overflow Vulnerability Q-257: PHP Security Update