Rapid7 Vulnerability & Exploit Database

Microsoft DirectShow (msvidctl.dll) MPEG-2 Memory Corruption

Back to Search

Microsoft DirectShow (msvidctl.dll) MPEG-2 Memory Corruption

Disclosed
07/05/2009
Created
05/30/2018

Description

This module exploits a memory corruption within the MSVidCtl component of Microsoft DirectShow (BDATuner.MPEG2TuneRequest). By loading a specially crafted GIF file, an attacker can overrun a buffer and execute arbitrary code. ClassID is now configurable via an advanced option (otherwise randomized) - I)ruid

Author(s)

  • Trancer <mtrancer@gmail.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/browser/msvidctl_mpeg2
msf exploit(msvidctl_mpeg2) > show targets
    ...targets...
msf exploit(msvidctl_mpeg2) > set TARGET < target-id >
msf exploit(msvidctl_mpeg2) > show options
    ...show and set options...
msf exploit(msvidctl_mpeg2) > 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

;