Skip to main content
Back
DemonstrationAzure
2 min read

OMIGOD exposed a privileged management agent on Azure Linux VMs

Environment
Azure Linux VMs research demonstration by Wiz
When
Research in 2021; individual test dates not statedDisclosed Sep 14, 2021
Entry
Wiz shows that a vulnerable OMI listener reachable from the internet can expose root-level access.

Wiz used OMIGOD as the collective name for four flaws in Microsoft’s Open Management Infrastructure software. It demonstrated that a flaw in the management agent installed by some Azure extensions could give an outsider administrator access to a Linux virtual machine if the agent was reachable from the internet. Three other flaws required someone to have access to the machine already. A patched agent became available on September 8, 2021. The research did not establish how many machines were compromised.

What the demonstration did

Research team
Wiz
Internet
Azure Linux VM
OMI listener
Guest agent

Research demonstration / Wiz

  1. 1

    Remote management exposure

    2021

    Wiz shows that a vulnerable OMI listener reachable from the internet can expose root-level access.

  2. 2

    Local agent privileges

    2021

    Wiz also identified local privilege vulnerabilities in the installed OMI agent.

Impact

Wiz demonstrated privileged execution on vulnerable Linux machines. Its estimate of exposure came from sampled Azure customers and does not measure confirmed compromises.

Would the controls have stopped it?

Patch OMI and restrict access to its management listener

An inbound network security group rule can close the public route to the agent. Updating the installed OMI package also addresses the reported local vulnerabilities on machines with no public listener.

Incident control assessments

1
Prevented
0
Contained
1
Not covered

How it could have been prevented

The same replay with the controls in place. Green marks where a step is refused, blue where it is bounded, and red where no control reaches it. Open a row to read the control, why it acts, and its caveat.

Research team
Wiz
Internet
Azure Linux VM
OMI listener
Guest agent

Research demonstration / Wiz

1 · Remote management exposure

1 Prevented

2 · Local agent privileges

1 Not covered

Key facts

  • Wiz reported four Open Management Infrastructure vulnerabilities to Microsoft on June 1.
  • The OMI management agent ran as root and could be installed by Azure management extensions.
  • Remote reachability depended on an exposed management listener. Other findings required local access.
  • The official patched OMI release became available on September 8.
  • Microsoft published the four vulnerabilities on September 14.
  • Microsoft described three local elevation-of-privilege vulnerabilities and one remote code execution vulnerability. Its servicing guidance varies by extension and whether the installation is cloud-hosted or on premises.

Sources

Every fact in this breakdown comes from the public reporting below. The replay is a model of that reporting, not a reconstruction of the environment it describes.

  1. 1.
    OMIGOD: Critical Vulnerabilities in OMI Affecting Countless Azure CustomersWiz Research · Sep 14, 2021 · ResearchWiz demonstrated privileged execution on vulnerable Linux machines. Its estimate of exposure came from sampled Azure customers and does not measure confirmed compromises.
  2. 2.
    Azure network security groups overviewMicrosoft · undated · Vendor reportMicrosoft documents the scope and priority order of inbound network security group rules.
  3. 3.
    Additional Guidance Regarding OMI Vulnerabilities within Azure VM Management ExtensionsMicrosoft Security Response Center · Sep 16, 2021 · AdvisoryMicrosoft described three local elevation-of-privilege vulnerabilities and one remote code execution vulnerability. Its servicing guidance varies by extension and whether the installation is cloud-hosted or on premises.

The estate in the replay follows the researchers' description of their own test environment. Verdicts describe what a control does when it is in place before the run. They are not an assessment of any company's security program.

More cloud attack breakdowns

All breakdowns