CVE-2021-38647

CRITICAL KEV RANSOMWARE NUCLEI

Microsoft OMI Management Interface Authentication Bypass

Title source: metasploit
STIX 2.1

Exploitation Summary

CVE-2021-38647 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added November 3, 2021, with confirmed use in ransomware campaigns. EIP tracks 13 public exploits from researchers including horizon3ai, AlteredSecurity, marcosimioni, including a Metasploit module exploits/linux/misc/cve_2021_38647_omigod. A Nuclei detection template is also available.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2021-38647, an unauthenticated RCE vulnerability in the OMI agent. The exploit sends a crafted SOAP request to execute arbitrary commands as root on vulnerable systems.

Description

Open Management Infrastructure Remote Code Execution Vulnerability

Exploits (13)

nomisec WORKING POC 233 stars
by horizon3ai · infoleak
https://github.com/horizon3ai/CVE-2021-38647

This repository contains a functional exploit for CVE-2021-38647, an unauthenticated RCE vulnerability in the OMI agent. The exploit sends a crafted SOAP request to execute arbitrary commands as root on vulnerable systems.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: OMI agent (versions prior to 1.6.8.1)
No auth needed
Prerequisites: Network access to the target's OMI agent (port 5986)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 67 stars
by AlteredSecurity · remote
https://github.com/AlteredSecurity/CVE-2021-38647

This repository contains functional exploit code for CVE-2021-38647, an unauthenticated RCE vulnerability in OMI (Open Management Infrastructure). The Python and PowerShell scripts craft SOAP requests to execute arbitrary commands or scripts on vulnerable systems via the WS-Management protocol.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: OMI (Open Management Infrastructure) versions prior to patch
No auth needed
Prerequisites: Network access to OMI service (default port 5986) · Vulnerable OMI version
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER 20 stars
by marcosimioni · poc
https://github.com/marcosimioni/omigood

This repository contains a scanner tool for detecting VMs vulnerable to CVE-2021-38647 (OMIGOD vulnerability) in Azure environments. It performs multiple checks via Azure APIs, including OMS Agent version, Network Security Groups, and optional script execution or attack simulation.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Microsoft OMI (Open Management Infrastructure) versions < 1.6.8-1
Auth required
Prerequisites: Azure credentials · Access to Azure APIs · Appropriate permissions for resource inspection
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 8 stars
by midoxnet · remote
https://github.com/midoxnet/CVE-2021-38647

This repository provides a functional proof-of-concept for CVE-2021-38647, an RCE vulnerability in OMI (Open Management Infrastructure) via a crafted POST request to the /wsman endpoint. The exploit leverages a malicious XML payload to execute arbitrary commands (e.g., 'id').

Classification
Working Poc 80%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: OMI (Open Management Infrastructure) in Azure
No auth needed
Prerequisites: Network access to the vulnerable OMI endpoint · Ability to send HTTP POST requests
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER 5 stars
by corelight · poc
https://github.com/corelight/CVE-2021-38647

This repository provides a Zeek package for detecting CVE-2021-38647 (OMIGOD) exploit attempts by monitoring for missing Authorization headers in OMI/WMI requests. It includes configurable options for port monitoring, payload capture, and notice generation for incident response.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: OMI (Open Management Infrastructure) on Azure
No auth needed
Prerequisites: Network access to OMI service ports (1270/tcp, 5985/tcp, 5986/tcp)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 3 stars
by SimenBai · remote
https://github.com/SimenBai/CVE-2021-38647-POC-and-Demo-environment

This repository contains a functional exploit PoC for CVE-2021-38647, an unauthenticated RCE vulnerability in Microsoft's Open Management Infrastructure (OMI). It includes a Dockerfile to set up a vulnerable environment and a Python script to exploit the vulnerability via crafted SOAP requests.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Open Management Infrastructure (OMI) versions below 1.6.8-1
No auth needed
Prerequisites: Network access to the OMI agent's HTTPS port (5986) · Vulnerable OMI version installed on the target
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 2 stars
by Immersive-Labs-Sec · remote
https://github.com/Immersive-Labs-Sec/cve-2021-38647

This repository contains a functional Python exploit for CVE-2021-38647, an RCE vulnerability in OMI (Open Management Infrastructure). The exploit leverages SOAP-based WS-Management protocol to execute arbitrary commands via `ExecuteShellCommand` or `ExecuteScript` methods.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OMI (Open Management Infrastructure)
No auth needed
Prerequisites: Network access to OMI's WS-Management endpoint (default ports 5985/5986)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SUSPICIOUS 1 stars
by Vulnmachines · remote
https://github.com/Vulnmachines/OMIGOD_cve-2021-38647

The repository lacks actual exploit code and only provides vague instructions to modify a payload without technical details. It references an external GitHub repository and includes promotional links, which are indicators of a potential lure.

Classification
Suspicious 90%
Attack Type
Rce
Complexity
Theoretical
Reliability
Theoretical
Target: OMI agent
No auth needed
Prerequisites: none specified
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by craig-m-unsw · remote
https://github.com/craig-m-unsw/omigod-lab

This repository contains a functional Ansible playbook that exploits CVE-2021-38647 (OMIGOD) by sending a crafted SOAP request to the OMI management interface on port 5986, allowing remote command execution. The playbook includes setup instructions for a vulnerable environment and a payload delivery mechanism.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Open Management Infrastructure (OMI) versions 1.6.8-0 and earlier
No auth needed
Prerequisites: Network access to the OMI management interface (port 5986) · Vulnerable OMI version installed on the target
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 1 stars
by goofsec · remote
https://github.com/goofsec/omigod

This repository contains a functional Go-based exploit for CVE-2021-38647, leveraging a SOAP-based RCE vulnerability in the OMI (Open Management Infrastructure) agent. The exploit sends a crafted SOAP request to execute arbitrary commands on vulnerable systems.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: OMI (Open Management Infrastructure) agent
No auth needed
Prerequisites: Network access to the target system on port 5986
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER
by corelight · poc
https://github.com/corelight/CVE-2021-38647-noimages

This repository provides a Zeek package for detecting CVE-2021-38647 (OMIGOD) exploit attempts by monitoring for missing Authorization headers in OMI/WMI requests. It includes configurable options for port monitoring, payload capture, and notice generation for incident response.

Classification
Scanner 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: OMI (Open Management Infrastructure) versions affected by CVE-2021-38647
No auth needed
Prerequisites: Network access to OMI service ports (1270/tcp, 5985/tcp, 5986/tcp) · Ability to send crafted HTTP requests
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec SCANNER
by abousteif · poc
https://github.com/abousteif/cve-2021-38647

This repository provides a Zeek package for detecting CVE-2021-38647 (OMIGOD) exploit attempts by monitoring for missing Authorization headers in OMI/WMI requests. It includes configurable options for port monitoring, notice verbosity, and user-agent whitelisting.

Classification
Scanner 100%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: OMI (Open Management Infrastructure) on Azure
No auth needed
Prerequisites: Network access to OMI service ports (1270/tcp, 5985/tcp, 5986/tcp)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Nir Ohfeld, Shir Tamari, Spencer McIntyre, wvu · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/misc/cve_2021_38647_omigod.rb

This Metasploit module exploits an authentication bypass vulnerability in Microsoft OMI Management Interface (CVE-2021-38647) by sending a crafted SOAP request without authentication headers, allowing remote command execution as root.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Microsoft OMI Management Interface (versions prior to 1.6.8-1)
No auth needed
Prerequisites: Network access to the OMI management endpoint (default port 5985)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

Microsoft Open Management Infrastructure - Remote Code Execution
CRITICALby daffainfo,xstp

Scores

CVSS v3 9.8
EPSS 0.9439
EPSS Percentile 100.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2021-11-03
VulnCheck KEV 2021-09-16
InTheWild.io 2021-09-17
ENISA EUVD EUVD-2021-25086
Ransomware Use Confirmed
Status published
Products (10)
microsoft/azure_automation_state_configuration
microsoft/azure_automation_update_management
microsoft/azure_diagnostics_\(lad\)
microsoft/azure_open_management_infrastructure
microsoft/azure_security_center
microsoft/azure_sentinel
microsoft/azure_stack_hub
microsoft/container_monitoring_solution
microsoft/log_analytics_agent
microsoft/system_center_operations_manager
Published Sep 15, 2021
KEV Added Nov 03, 2021
Tracked Since Feb 18, 2026