Skip to content
RCE Write-up Advanced

The cloud gray zone—secret agents installed by cloud service providers

Cloud providers silently install middleware agents on customer virtual machines, creating an unknown attack surface. The OMIGOD vulnerabilities in Azure's OMI agent allowed remote command execution as root, and customers were initially expected to patch software they did not know was installed.

Nir Ohfeld Follow

Published on wiz.io

Customers using virtual machines in the cloud can enable far more advanced features than in on-premises environments, such as log collection, apply automatic updates, sync configurations and more. However, most customers are not necessarily aware that enabling these features can often result in the silent installation…

Nir Ohfeld, on wiz.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the cloud provider installed middleware agents without informing customers, leaving unpatched software exposed.

Impact

Attackers could execute commands as root on affected Azure virtual machines, and the vulnerabilities were exploited in the wild.

What the attacker needed

Azure VM with OMI agent; unpatched OMI installation

The fix

Cloud vendors should be transparent about installed middleware and take responsibility for updating it.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Cloud providers sometimes install hidden software called agents on your virtual machines to connect them to cloud services. If that software has a security flaw, attackers can use it to take control of your machine, and you may not even know the software is there to update it.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Nir Ohfeld

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.