[Full-disclosure] iDefense Security Advisory 08.12.08: Microsoft Office BMP Input Filter Heap Overflow Vulnerability
- From: iDefense Labs <labs-no-reply@xxxxxxxxxxxx>
- Date: Tue, 12 Aug 2008 19:56:30 -0400
iDefense Security Advisory 08.12.08
Aug 12, 2008
Microsoft Office contains a number of input filters. These input filters
allow transparent conversion from external types into a form that the
Office applications can use. More information on import filters in
Microsoft Office 2002 is available at the following URL.
Remote exploitation of a heap buffer overflow vulnerability in the
"BMPIMP32.FLT" filter module, as distributed with Microsoft Office,
allows attackers to execute arbitrary code.
The vulnerability specifically exists in the handling of Windows Bitmap
(BMP) image files with malformed headers. By specifying a very large
number of colors in the header, it is possible to cause controllable
heap corruption, which can be leveraged to execute arbitrary code.
Exploitation could allow attackers to execute arbitrary code on the
targeted host under the security context of the current logged in user.
Successful exploitation would require the attacker to entice his or her
victim into opening a specially crafted BMP image with a vulnerable
version of Office.
iDefense confirmed that the "BMPIMP32.FLT" module installed with
Microsoft Office XP SP3, including all patches as of May 24, 2006, is
vulnerable. Other versions may also be vulnerable.
This vulnerability does not affect Microsoft Office 2003 as this filter
is not installed or required.
This workaround replaces the affected filter with an empty file.
Creating this file prevents Office from offering to reinstall the
1. Close all running applications.
2. Open the folder "C:\Program Files\Common Files\Microsoft
3. Rename the file "BMPIMP32.FLT" to "BMPIMP.FLT.disabled".
4. Create an empty file in this directory with the name
"BMPIMP32.FLT". (Open Notepad, go to this directory and choose File,
Save..., type "BMPIMP32.FLT" including the quotes and click Save.
In testing on Windows 2000 with Office XP SP3 installed, this workaround
did not adversely impact functionality. BMP format image files can still
be imported into Word, but the operations that can be performed on them
may be impacted.
VI. VENDOR RESPONSE
Microsoft has officially addressed this vulnerability with Security
Bulletin MS08-044. For more information, consult their bulletin at the
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2008-3020 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
VIII. DISCLOSURE TIMELINE
09/11/2006 Initial vendor notification
09/11/2006 Initial vendor response
08/12/2008 Coordinated public disclosure
The discoverer of this vulnerability wishes to remain anonymous.
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Copyright © 2008 iDefense, Inc.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically,
please e-mail customerservice@xxxxxxxxxxxx for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/
- Prev by Date: [Full-disclosure] Vim: Netrw: FTP User Name and Password Disclosure
- Next by Date: [Full-disclosure] [ MDVSA-2008:167 ] kernel
- Previous by thread: [Full-disclosure] Vim: Netrw: FTP User Name and Password Disclosure
- Next by thread: [Full-disclosure] [ MDVSA-2008:167 ] kernel