MS12-004: Vulnerabilities in Windows Media Could Allow Remote Code Execution (2636391)

high Nessus Plugin ID 57472


Opening a specially crafted media file could result in arbitrary code execution.


The version of Windows Media installed on the remote host is affected by one or both of the following vulnerabilities :

- The Winmm.dll library as used by Windows Media Player does not properly handle specially crafted MIDI files.

- A DirectShow component of DirectX does not properly handle specially crafted media files. (CVE-2012-0004)

An attacker who tricked a user on the affected host into opening a specially crafted MIDI or media file could leverage these issues to execute arbitrary code in the context of the current user.


Microsoft has released a set of patches for Windows XP, 2003, Vista, 2008, 7, and 2008 R2 as well as Windows XP Media Center Edition 2005 and Windows Media Center TV Pack 2008.

See Also

Plugin Details

Severity: High

ID: 57472

File Name: smb_nt_ms12-004.nasl

Version: 1.22

Type: local

Agent: windows

Published: 1/10/2012

Updated: 11/15/2018

Risk Information


Risk Factor: Critical

Score: 9.7


Risk Factor: High

Base Score: 9.3

Temporal Score: 8.1

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: cpe:/o:microsoft:windows

Required KB Items: SMB/MS_Bulletin_Checks/Possible

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/10/2012

Vulnerability Publication Date: 1/10/2012

Exploitable With


Core Impact

Metasploit (MS12-004 midiOutPlayNextPolyEvent Heap Overflow)

Reference Information

CVE: CVE-2012-0003, CVE-2012-0004

BID: 51292, 51295

MSFT: MS12-004

IAVA: 2012-A-0005

MSKB: 2598479, 2628259, 2628642, 2631813