CVE-2021-38647 Microsoft Open Management Infrastructure (OMI) Remote Code Execution

Exploited in the wild Critical 9.8 Published Updated

Attackers can execute arbitrary code remotely on systems running Microsoft Open Management Infrastructure, affecting various Azure and System Center components.

Exploited in the wild
Since 3 Nov 2021
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-38647?

CVE-2021-38647 is a critical code injection vulnerability in Microsoft Azure Automation State Configuration, DSC Extension, published on 15 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Open Management Infrastructure (OMI) Remote Code Execution Vulnerability

Which versions are affected by CVE-2021-38647?

It affects 10 products.

Products include Microsoft Azure Automation State Configuration, Microsoft Azure Automation Update Management, Microsoft Azure Diagnostics \(Lad\), Microsoft Azure Security Center, Microsoft Azure Sentinel, Microsoft Azure Stack Hub and 4 more.

How do I fix CVE-2021-38647?

No fix has been published for CVE-2021-38647 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Nov 2021.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-38647 being exploited?

Yes. Attackers have exploited CVE-2021-38647 in the wild since at least 3 Nov 2021, including in ransomware campaigns.

Public exploit code: 1 Metasploit module, 1 Nuclei template and 12 proofs of concept on GitHub.

Sources

Also known as GHSA-rp2g-5hw2-q565.

Is CVE-2021-38647 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free