字号·· | 护眼
漏洞档案 · 高危

Microsoft Windows Media Player 远程代码执行(CVE-2012-0003)

CVE-2012-0003 别名:GHSA-6MJJ-VX26-X966
CVSS 8.1 / 3.1 EPSS 69.9% CISA KEV 在野利用 公开 PoC · 1
综合风险78/ 100
CVSS8.1高危
EPSS69.9%30 天利用概率
机构收录时间2012-01-11更新 2026-12-03

研判简报

概述

这是 Windows Multimedia Library(winmm.dll)中一处未具体说明的漏洞,位于 Windows Media Player 处理 MIDI 文件的过程中。远程攻击者可通过特制 MIDI 文件触发堆溢出,进而以当前用户权限执行任意代码,微软将其称为“MIDI Remote Code Execution Vulnerability”。由于可通过媒体文件或浏览器承载的 ActiveX 控件触发,普通用户打开恶意内容即可能中招。使用 Windows XP、Server 2003、Vista、Server 2008 的组织应重点关注。

严重性

CVSS 3.1 评分 8.1(high),综合风险分 80.37/100。EPSS 30 天利用概率 69.9%(百分位 99.5%,日期 2026-11-27),攻击面为本地用户打开特制 MIDI 媒体文件或经 WMP ActiveX 控件在浏览器中触发。

利用状态

截至核查日期 2026-11-27:CISA KEV 已收录(收录日期 2012-01-26);Exploit-DB 存在公开 PoC(1 条,模块名 MS12-004 midiOutPlayNextPolyEvent Heap Overflow);CISA SSVC 评估为 automatable=no、exploitation=none、technical_impact=total。材料未给出勒索软件关联信息,也未给出 Nuclei 模板状态。

受影响产品

受影响组件为 Windows Media Player 中的 Windows Multimedia Library(winmm.dll)。受影响系统:Windows XP SP2 与 SP3、Windows Server 2003 SP2、Windows Vista SP2、Windows Server 2008 SP2。官方公告另将 Windows Media Center TV Pack for Windows Vista、Windows 7、Windows Server 2008 R2 列为 Important 级别受影响。记录中“受影响版本”字段为 n/a n/a,材料未给出更细的版本区间。

修复版本

官方修复随 Microsoft 安全公告 MS12-004(KB2636391,2012-01-10 发布、2012-07-31 更新至 v1.3)提供,公告称通过修正 Windows Media Player 处理特制 MIDI 文件的方式解决该漏洞。具体补丁号与各平台安装包材料未给出。

缓解措施

按 KEV 要求动作:依据厂商说明应用修复或缓解措施;若修复或缓解不可用,则停止使用该产品(KEV 期限材料未给出)。在无法立即打补丁时,可参考公告与 US-CERT TA12-010A 的指引,限制打开不可信来源的 MIDI/媒体文件,并收紧 WMP ActiveX 控件的使用;材料未给出更多具体缓解配置。

响应步骤

  1. 盘点仍运行 Windows XP SP2/SP3、Server 2003 SP2、Vista SP2、Server 2008 SP2 及对应 Media Center 版本的资产,标记为待处置。
  2. 核对 MS12-004(KB2636391)补丁安装状态,未安装的按厂商说明尽快修复。
  3. 排查可疑 MIDI 文件与 WMP/浏览器 ActiveX 触发的异常进程行为,结合公开 PoC 特征做检测。
  4. 对无法修复的遗留系统,按 KEV 建议评估停用相关产品,或限制不可信媒体文件的打开与传播。
  5. 持续跟踪 KEV 与 EPSS 状态变化,复核利用面与优先级。

参考来源

  1. https://web.archive.org/web/20120131035712/http://blog.trendmicro.com/malware-leveraging-midi-remote-code-execution-vulnerability-found/kev
  2. https://vulncheck.com/kev/cve-2012-0003advisory,vulncheck_kev
  3. https://www.exploit-db.com/exploits/18426exploit,exploitdb
  4. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_windows/browser/ms12_004_midiexploit,metasploit
  5. https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A14337vdb-entry,signature,x_refsource_OVAL,vdb-entry,signature,x_refsource_OVAL,x_tran
  6. http://www.us-cert.gov/cas/techalerts/TA12-010A.htmlthird-party-advisory,x_refsource_CERT,third-party-advisory,x_refsource_CERT,x_tr
  7. https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-004vendor-advisory,x_refsource_MS,vendor-advisory,x_refsource_MS,x_transferred,advi
  8. http://secunia.com/advisories/47485third-party-advisory,x_refsource_SECUNIA,third-party-advisory,x_refsource_SECUNI
  9. http://www.securityfocus.com/bid/51292vdb-entry,x_refsource_BID,vdb-entry,x_refsource_BID,x_transferred,advisory,euvd
  10. http://www.securitytracker.com/id?1026492vdb-entry,x_refsource_SECTRACK,vdb-entry,x_refsource_SECTRACK,x_transferred,advi
  11. https://euvd.enisa.europa.eu/vulnerability/EUVD-2012-0044advisory,euvd
  12. https://github.com/k0keoyo/CVE-2012-0003_eXPexploit,poc_github