字号·· | 护眼
漏洞档案 · 严重

Microsoft Open Management Infrastructure 远程代码执行(CVE-2021-38647)

CVE-2021-38647 别名:GHSA-RP2G-5HW2-Q565
CVSS 9.8 / 3.1 EPSS 99.9% CISA KEV 在野利用 勒索软件利用 公开 PoC · 8 Nuclei 模板
综合风险100/ 100
CVSS9.8严重
EPSS99.9%30 天利用概率
机构收录时间2021-09-15更新 2026-12-01

研判简报

概述

Microsoft Open Management Infrastructure (OMI) 是 Azure VM 管理扩展中使用的管理接口组件。该漏洞为未具体说明的缺陷,允许远程代码执行;Nuclei 模板将其描述为 OMIGOD,并称成功利用可执行任意代码。由于 OMI 广泛部署于 Azure 自动化、诊断、监控与 Log Analytics 等扩展中,任何暴露相关管理接口的 Linux 主机都应关注。CISA KEV 已收录,且已知被勒索软件利用,说明其现实威胁并非理论推演。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 100.0/100;EPSS 30 天利用概率 99.9%(百分位 100.0%,日期 2026-11-24)。攻击面为网络可达的 OMI/WSMAN 管理接口,无需认证即可触发。

利用状态

截至核查日期 2026-11-24:CISA KEV 已收录(2021-11-03),已知勒索软件利用;CISA SSVC 判定 automatable=yes、exploitation=active、technical_impact=total;已有公开 Nuclei 检测模板(http/cves/2021/CVE-2021-38647.yaml);Exploit-DB/公开 PoC 共 8 条,Metasploit 存在对应模块。KEV 要求动作是“Apply updates per vendor instructions”,期限 2021-11-17。

受影响产品

受影响组件包括:Azure Automation State Configuration / DSC Extension(>=2.0.0,低于 DSC Agent 2.71.1.25、2.70.0.30、3.0.0.3);Azure Automation Update Management、Azure Security Center、Azure Sentinel、Log Analytics Agent(>=1.0.0,低于 OMS Agent for Linux GA v1.13.40-0);Azure Diagnostics (LAD)(>=3.0.0,低于 LAD v4.0.13 与 LAD v3.0.135);Azure Stack Hub(>=1.0.0,低于 Monitor, Update and Config Mgmnt 1.14.01);Container Monitoring Solution(>=1.0.0,低于 publication);Open Management Infrastructure(>=16.0,低于 OMI Version 1.6.8-1);System Center Operations Manager (SCOM)(>=1.0.0,低于 OMI version 1.6.8-1)。部署形态为 Azure VM 管理扩展及依赖 OMI 的 Linux 代理。

修复版本

官方已发布修复版本:DSC Agent 2.71.1.25、2.70.0.30、3.0.0.3;OMS Agent for Linux GA v1.13.40-0;LAD v4.0.13 与 LAD v3.0.135;Azure Stack Hub Monitor, Update and Config Mgmnt 1.14.01;Container Monitoring Solution publication;OMI Version 1.6.8-1;SCOM 对应 OMI version 1.6.8-1。参考材料称更新于 2021-08-11 发布在 GitHub,与官方记录日期口径不同,以官方记录为准。

缓解措施

不能立即修复时,应限制 OMI/WSMAN 管理端口(模板请求路径为 /wsman)的网络暴露,仅允许必要来源访问;对不需要的 Azure 监控/诊断扩展进行停用或移除;在边界与主机层监测异常的 SOAP/WSMAN 请求及 ExecuteScript 类调用;按 KEV 要求优先安排补丁窗口。

响应步骤

  1. 盘点所有部署了上述 Azure 扩展、OMS/DSC/LAD 代理及 OMI 1.6.8-1 以下版本的主机与 VM。
  2. 核对 OMI 与各代理实际版本,确认是否落在受影响区间。
  3. 按厂商指引升级到对应修复版本,优先处理网络可达 OMI 接口的资产。
  4. 使用现有 Nuclei 模板或等效检测对暴露面进行验证,注意仅限授权范围。
  5. 检查历史日志中针对 /wsman 的异常 POST 与脚本执行痕迹,评估是否已被利用。
  6. 对暂不能升级的资产实施网络隔离与访问控制,并持续监控 KEV 相关利用活动。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2021-38647kev
  2. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-38647.yamlexploit,nuclei
  3. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-38647vendor-advisory,patch,advisory,euvd
  4. https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-38647x_refsource_MISC,x_transferred
  5. http://packetstormsecurity.com/files/164694/Microsoft-OMI-Management-Interface-Authentication-Bypass.htmlx_refsource_MISC,x_transferred
  6. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-38647government-resource
  7. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/misc/cve_2021_38647_omigodexploit,metasploit
  8. https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-25086advisory,euvd
  9. https://x.com/Andrew___Morris/status/1438598477718622214kev
  10. https://news.sophos.com/en-us/2021/09/14/big-office-bug-squashed-for-september-2021s-patch-tuesday/kev
  11. https://www.cadosecurity.com/azure-omi-vulnerability-omigod-cve-2021-38647-now-under-exploitation/kev
  12. https://techcommunity.microsoft.com/t5/microsoft-sentinel-blog/hunting-for-omi-vulnerability-exploitation-with-azure-sentinel/ba-p/2764093kev
  13. https://twitter.com/ESETresearch/status/1440052837820428298?s=20kev
  14. https://www.radware.com/getmedia/d312a5fa-2d8d-4c1e-b31e-73046f24bf35/Alert-Dark-OMIGOD.aspxkev
  15. https://euvd.enisa.europa.eu/enisa/EUVD-2021-25086kev
  16. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev