Privacy and Legal Notice

CIAC INFORMATION BULLETIN

S-207: Mozilla Vulnerability in External MIME bodies

[Mozilla Foundation Security Advisory 2008-12]

February 27, 2008 19:00 GMT
[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
ASSESSMENT:
The risk is MEDIUM. 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.

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



[***** End Mozilla Foundation Security Advisory 2008-12 *****]

   

CIAC wishes to acknowledge the contributions of Mozilla for the information contained in this bulletin.
CIAC services are available to DOE, DOE Contractors, and the NIH. CIAC can be contacted at:
    Voice:          +1 925-422-8193 (7 x 24)
    FAX:            +1 925-423-8002
    STU-III:        +1 925-423-2604
    E-mail:          ciac@ciac.org
    World Wide Web:  http://www.ciac.org/
    Anonymous FTP:   ftp.ciac.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.
UCRL-MI-119788
[Privacy and Legal Notice]