Microsoft Azure Automation State Configuration, DSC Extension
Open Management Infrastructure (OMI) Remote Code Execution Vulnerability
Open Management Infrastructure (OMI) Remote Code Execution Vulnerability
Timeline
Days relative to CVE publicationFirst public PoC 15 h after publication; added to CISA KEV 49 days after publication. First PoC: horizon3ai/CVE-2021-38647 (created 16 Sep 2021, found by us: backfilled).
PoC repositories
Found on GitHub.9 PoCs · 1 pending · 5 informational
PoCs 9
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| horizon3ai/CVE-2021-38647 | 16 Sep 2021 +15 h | 233 | PoC |
| Immersive-Labs-Sec/cve-2021-38647 | 16 Sep 2021 +21 h | 2 | PoC |
| craig-m-unsw/omigod-lab | 18 Sep 2021 +3.2 d | 1 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| SimenBai/CVE-2021-38647-POC-and-Demo-environment | 19 Sep 2021 +4.2 d | 3 | PoC |
| AlteredSecurity/CVE-2021-38647 | 20 Sep 2021 +5.2 d | 67 | PoC |
| Vulnmachines/OMIGOD_cve-2021-38647 | 24 Sep 2021 +9 d | 1 | PoC via PoC Index |
| fr34kyy/omigod | 26 Sep 2021 +11 d | 1 | PoC |
| goofsec/omigod | 26 Sep 2021 +11 d | 1 | PoC |
| Whiteh4tWolf/OMIGOD | 10 Apr 2024 +2.6 y | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| m1thryn/CVE-2021-38647 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 5
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| corelight/CVE-2021-38647 | 15 Sep 2021 −7 h | 5 | Informational · write-up |
| midoxnet/CVE-2021-38647 | 15 Sep 2021 +10 h | 8 | Informational · write-up |
| marcosimioni/omigood | 16 Sep 2021 +1.2 d | 20 | Informational · detection |
| abousteif/cve-2021-38647 | 22 Sep 2021 +7.2 d | 0 | Informational · write-up |
| corelight/CVE-2021-38647-noimages | 13 Mar 2024 +2.5 y | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Microsoft OMI Management Interface Authentication Bypass (exploit/linux/misc/cve_2021_38647_omigod) | 26 Oct 2021 | 14 Nov 2026 |
| nuclei template | nuclei template: Microsoft Open Management Infrastructure - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 9 PoC reposPOST /wsman
- Key headers
Accept: */*- Body markers
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing"ExecuteShellCommandSCX_OperatingSystem<p:command>{var}</p:command><w:Selector Name="__cimnamespace">root/scx</w:Selector>http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem/ExecuteShellCommandExecuteShellCommand_INPUTinapplication/soap+xml;charset=UTF-8- Ports
- 5986
- PoC User-Agent
Vulnmachines and Rapidsafeuard- Seen in
- 6 repos: AlteredSecurity/CVE-2021-38647, SimenBai/CVE-2021-38647-POC-and-Demo-environment, Vulnmachines/OMIGOD_cve-2021-38647, Whiteh4tWolf/OMIGOD, craig-m-unsw/omigod-lab, horizon3ai/CVE-2021-38647
- Evidence
- AlteredSecurity/CVE-2021-38647/CVE-2021-38647.py:98 AlteredSecurity/CVE-2021-38647/CVE-2021-38647.py:100 SimenBai/CVE-2021-38647-POC-and-Demo-environment/omigod.py:50 Vulnmachines/OMIGOD_cve-2021-38647/Payload:1 Whiteh4tWolf/OMIGOD/omigod.py:40 craig-m-unsw/omigod-lab/attack-play.yml:27
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wsman(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [5986] (msg:"GG PoC-Monitor CVE-2021-38647 Microsoft Azure Automation State Configuration, DSC Extension exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wsman"; http.header; content:"Accept: */*"; nocase; http.request_body; content:"<s:Envelope xmlns:s=|22|http://www.w3.org/2003/05/soap-envelope|22| xmlns:a=|22|http://schemas.xmlsoap.org/ws/2004/08/addressing|22|"; http.request_body; content:"ExecuteShellCommand"; http.request_body; content:"SCX_OperatingSystem"; http.request_body; content:"<p:command>"; http.request_body; content:"<w:Selector Name=|22|__cimnamespace|22|>root/scx</w:Selector>"; http.request_body; content:"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem/ExecuteShellCommand"; http.request_body; content:"ExecuteShellCommand_INPUT"; reference:url,poc.griffinguard.io/cve/CVE-2021-38647; classtype:web-application-attack; sid:9762073; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Microsoft Azure Automation State Configuration, DSC Extension exploit attempt (CVE-2021-38647)
id: gg-pocmon-cve-2021-38647-9762073
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-38647. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-38647
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wsman'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.38647