Rapid7 Vulnerability & Exploit Database

MS11-006 Microsoft Windows CreateSizedDIBSECTION Stack Buffer Overflow

Back to Search

MS11-006 Microsoft Windows CreateSizedDIBSECTION Stack Buffer Overflow

Disclosed
12/15/2010
Created
05/30/2018

Description

This module exploits a stack-based buffer overflow in the handling of thumbnails within .MIC files and various Office documents. When processing a thumbnail bitmap containing a negative 'biClrUsed' value, a stack-based buffer overflow occurs. This leads to arbitrary code execution. In order to trigger the vulnerable code, the folder containing the document must be viewed using the "Thumbnails" view.

Author(s)

  • Moti & Xu Hao
  • Yaniv Miron aka Lament of ilhack
  • jduck <jduck@metasploit.com>

Platform

Windows

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/fileformat/ms11_006_createsizeddibsection
msf exploit(ms11_006_createsizeddibsection) > show targets
    ...targets...
msf exploit(ms11_006_createsizeddibsection) > set TARGET < target-id >
msf exploit(ms11_006_createsizeddibsection) > show options
    ...show and set options...
msf exploit(ms11_006_createsizeddibsection) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;