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.
DOE-CIRC can be contacted at:
    Voice:          +1 866-941-2472 (7 x 24)
    E-mail:          doecirc@doecirc.energy.gov
    World Wide Web:  http://www.doecirc.energy.gov/