the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2012-0003

Unspecified vulnerability in winmm.dll in Windows Multimedia Library in Windows Media Player (WMP) in Microsoft Windows XP SP2 and SP3, Server 2003 SP2, Vista SP2, and Server 2008 SP2 allows remote attackers to execute arbitrary code via a crafted MIDI file, aka "MIDI Remote Code Execution Vulnerability."
Publish Date : 2012-01-10 Last Update Date : 2018-10-30
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID CWE id is not defined for this vulnerability

- Related OVAL Definitions

Title Definition Id Class Family
MIDI Remote Code Execution Vulnerability oval:org.mitre.oval:def:14337 windows
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2012-0003

# Product Type Vendor Product Version Update Edition Language
1 OS Microsoft Windows 7 - Version Details Vulnerabilities
2 OS Microsoft Windows 7 - SP1 X64 Version Details Vulnerabilities
3 OS Microsoft Windows 7 - SP1 X86 Version Details Vulnerabilities
4 OS Microsoft Windows Server 2003 SP2 Version Details Vulnerabilities
5 OS Microsoft Windows Server 2003 SP2 Itanium Version Details Vulnerabilities
6 OS Microsoft Windows Server 2003 SP2 X64 Version Details Vulnerabilities
7 OS Microsoft Windows Server 2008 - SP2 Itanium Version Details Vulnerabilities
8 OS Microsoft Windows Server 2008 SP2 X32 Version Details Vulnerabilities
9 OS Microsoft Windows Server 2008 SP2 X64 Version Details Vulnerabilities
10 OS Microsoft Windows Server 2008 R2 Itanium Version Details Vulnerabilities
11 OS Microsoft Windows Server 2008 R2 X64 Version Details Vulnerabilities
12 OS Microsoft Windows Server 2008 R2 SP1 Itanium Version Details Vulnerabilities
13 OS Microsoft Windows Server 2008 R2 SP1 X64 Version Details Vulnerabilities
14 OS Microsoft Windows Vista SP2 X64 Version Details Vulnerabilities
15 OS Microsoft Windows Vista SP2 Version Details Vulnerabilities
16 OS Microsoft Windows Xp SP2 Professional X64 Version Details Vulnerabilities
17 OS Microsoft Windows Xp SP3 Version Details Vulnerabilities
18 OS Microsoft Windows Xp 2005 SP3 Media Center Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Microsoft Windows 7 3
Microsoft Windows Server 2003 3
Microsoft Windows Server 2008 7
Microsoft Windows Vista 2
Microsoft Windows Xp 3

- References For CVE-2012-0003
MS MS12-004
BID 51292 Microsoft Windows Media Player 'winmm.dll' MIDI File Parsing Remote Buffer Overflow Vulnerability Release Date:2012-01-27
CERT TA12-010A
SECTRACK 1026492

- Metasploit Modules Related To CVE-2012-0003

MS12-004 midiOutPlayNextPolyEvent Heap Overflow
This module exploits a heap overflow vulnerability in the Windows Multimedia Library (winmm.dll). The vulnerability occurs when parsing specially crafted MIDI files. Remote code execution can be achieved by using the Windows Media Player ActiveX control. Exploitation is done by supplying a specially crafted MIDI file with specific events, causing the offset calculation being higher than what is available on the heap (0x400 allocated by WINMM!winmmAlloc), and then allowing us to either "inc al" or "dec al" a byte. This can be used to corrupt an array (CImplAry) we setup, and force the browser to confuse types from tagVARIANT objects, which leverages remote code execution under the context of the user. Note: At this time, for IE 8 target, msvcrt ROP is used by default. However, if you know your target's patch level, you may also try the 'MSHTML' advanced option for an info leak based attack. Currently, this module only supports two MSHTML builds: 8.0.6001.18702, which is often seen in a newly installed XP SP3. Or 8.0.6001.19120, which is patch level before the MS12-004 fix. Also, based on our testing, the vulnerability does not seem to trigger when the victim machine is operated via rdesktop.
Module type : exploit Rank : normal Platforms : Windows

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.