__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Mozilla Vulnerability in External MIME bodies [Mozilla Foundation Security Advisory 2008-12] February 27, 2008 19:00 GMT Number S-207 [REVISED 18 Aug 2008] ______________________________________________________________________________ PROBLEM: There is a heap-based buffer overflow vulnerability in Mozilla mail code which could potentially allow an attacker to run arbitrary code. PLATFORM: Thunderbird 2.0.0.12 SeaMonkey 1.1.8 Debian GNU/Linux 4.0 (etch) DAMAGE: Run arbitrary code. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. COuld potentially allow an attacker to run ASSESSMENT: arbitrary code. The vulnerability is caused by allocating a buffer that can be three bytes too small in certain cases when viewing an email message with an external MIME body. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/s-207.shtml ORIGINAL BULLETIN: http://www.mozilla.org/security/announce/2008/mfsa2008-12.html ADDITIONAL LINK: http://www.debian.org/security/2008/dsa-1621 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2008-0304 ______________________________________________________________________________ REVISION HISTORY: 08/18/2008 - revised S-207 to add a link to Debian Security Advisory DSA-1621-1 for Debian GNU/Linux 4.0 (etch). [***** Start Mozilla Foundation Security Advisory 2008-12 *****] Mozilla Foundation Security Advisory 2008-12 Title: Heap buffer overflow in external MIME bodies Impact: Critical Announced: February 26, 2008 Reporter: regenrecht, iDefense Products: Thunderbird, SeaMonkey Fixed in: Thunderbird 2.0.0.12 SeaMonkey 1.1.8 Description Security research firm iDefense reported that researcher regenrecht discovered a heap-based buffer overflow vulnerability in Mozilla mail code which could potentially allow an attacker to run arbitrary code. The vulnerability is caused by allocating a buffer that can be three bytes too small in certain cases when viewing an email message with an external MIME body. Workaround Users can prevent the vulnerable code from being triggered by setting the "mailnews.display.disallow_mime_handlers" property to any value greater than or equal to 3. References https://bugzilla.mozilla.org/show_bug.cgi?id=412363 Mozilla Thunderbird MIME External-Body Heap Overflow Vulnerability (iDefense) CVE-2008-0304 -------------------------------------------------------------------------------- [***** End Mozilla Foundation Security Advisory 2008-12 *****] _______________________________________________________________________________ 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) S-198: OpenCA Vulnerability S-199: OpenLDAP Vulnerability S-196: Cups Security Update S-200: splitvt Vulnerability S-201: PCRE3 Vulnerability S-202: Cups Security Update S-203: Alsa-Drive Vulnerability S-204: OPera Web Browser Vulnerabilities S-205: PHP-Nuke EasyContent Module 'page_id' Parameter Vulnerability S-206: Symantec Decomposer Vulnerabilities