Skip to content
Info disclosure Advisory Intermediate CVE-2021-27075

Azure Virtual Machine Information Disclosure Vulnerability (CVE-2021-27075)

A low-privileged user could exploit a flaw in Azure's virtual machine platform to obtain credentials for the VM and its extensions. The vulnerability allowed access to sensitive metadata and wireserver endpoints from within containers.

Paul Litvak Follow

Originally disclosed on Microsoft

High 6.8 View original

FAQ

What type of information could be disclosed by this vulnerability? Exploiting this vulnerability could allow a low privileged user to gain virtual machine credentials as well as credentials to extensions associated with the virtual machine. What are some of the services affected by this vulnerability? The following table lists some of the affected services, and the changes associated with the remedy for this vulnerability: Affected Product Remedy Action on customers Azure Container Instance The ability for containers to be able to talk to the metadata and wireserver endpoints was disabled as part of this release. The underlying platform now applies network ACLs to block the outgoing traffic to those services. None Azure Service Fabric The ability to block containers access the metadata and wireserver endpoints has been made available in the calendar year 2022. The underlying platform allows applying network ACLs to block the outgoing traffic to those services. Customers can disable access by setting the BlockAccessToWireServer feature flag to "True" in their Service Fabric cluster definition. Azure Kubernetes Service Containers not running in host network can no longer access wireserver since node image 2020.10.15. Customers running image version below 2020.10.15 should update to this version or a later version. See the Security Updates table for the link to updating instructions. Azure Container Registry The ability for containers running on ACR Tasks to access wireserver was blocked as a part of this release. None Azure Spring Cloud The ability for containers to be able to talk to the wireserver endpoints was disabled as part of this release. None

Azure

Azure

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Paul Litvak of Intezer. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

How it worked

Root cause

Likely, containers on the Azure platform could reach the metadata and wireserver endpoints without network restrictions, allowing credential retrieval.

What the attacker needed

Low-privileged access to an Azure service; ability to run code in a container

The fix

The vulnerability was fixed by blocking container access to the metadata and wireserver endpoints through network ACLs and feature flags across affected services.

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 report has not been written yet. The Original tab links to the source.

This bug let someone with limited access to a cloud service steal the secret keys that a virtual machine uses to prove its identity. Those keys could then be used to impersonate the machine or its add-ons. The problem was that certain internal network addresses were reachable from inside containers, and those addresses handed out credentials too freely.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.