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

high Nessus Plugin ID 57472
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 9.2


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

Dependencies: ms_bulletin_checks_possible.nasl, smb_hotfixes.nasl

Risk Information

Risk Factor: High

VPR Score: 9.2

CVSS v2.0

Base Score: 9.3

Temporal Score: 8.1

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

Temporal Vector: CVSS2#E:H/RL:OF/RC:C

Vulnerability Information

CPE: cpe:2.3: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

EDB-ID: 18426

MSFT: MS12-004

IAVA: 2012-A-0005

MSKB: 2598479, 2628259, 2628642, 2631813