TL;DR: Unosecur says attackers can abuse over-privileged Azure managed identities by gaining code execution on a single VM, then querying IMDS for a trusted OAuth token that carries the machine’s full cloud permissions without password or MFA prompts. The trust model, not a CVE, is the control failure.
Editorial analysis by NHI Mgmt Group, based on content published by Unosecur: “IMDS Token Theft”.
Key questions
Q: What breaks when Azure managed identities are over-privileged?
A: Over-privileged managed identities turn a single VM compromise into trusted cloud access.
Q: Why do over-scoped managed identities increase cloud blast radius?
A: Because the token inherits the identity’s permissions exactly as assigned.
Q: What are the signs that IMDS-based token abuse is happening?
A: Watch for HTTP requests to 169.254.169.254 from unusual processes, managed identity sign-ins that immediately touch new resources, and API activity that follows VM execution events with no corresponding workload change.
Practitioner guidance
- Enforce least-privilege RBAC on managed identities Remove Contributor and Owner by default and replace them with narrowly scoped Reader or data-plane roles only where the workload truly needs them.
- Restrict and monitor IMDS access Track requests to 169.254.169.254 from unexpected processes, and alert when non-system services or unusual user agents query the metadata endpoint.
- Correlate VM execution with identity behaviour Join Azure Activity Logs, AADManagedIdentitySignInLogs, and AzureDiagnostics so a VM execution event followed by IMDS use becomes a high-fidelity detection chain.
Bottom line: Azure managed identity abuse shows that a trusted token can be the consequence of one compromised VM, even when no CVE exists.
What's in the full article
Unosecur's full blog covers the operational detail this post intentionally leaves for the source:
- A step-by-step attack path showing how IMDS token theft follows code execution on an Azure VM
- Example Azure log sources and correlation points for detecting managed identity abuse
- Immediate containment steps for revoking over-broad RBAC and rotating affected secrets
- A deeper breakdown of how RunCommand, Key Vault access, and subscription-wide compromise connect in practice
👉 Read Unosecur's analysis of Azure managed identity token abuse and cloud trust failure →
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Azure managed identity abuse exposes a trust-model failure, not a software defect. The important question is not whether IMDS is vulnerable in the classic CVE sense, but whether cloud programmes have defined who may speak for a workload once code execution exists on the host. In this case, the managed identity becomes a standing trust grant to any process on the VM. The implication is that identity governance for workloads must be designed around host compromise, not just sign-in events.
A few things that frame the scale:
- 73% of vaults are misconfigured, leading to unauthorised access and exposure of sensitive data, according to the Ultimate Guide to NHIs.
A question worth separating out:
Q: How should teams contain managed identity abuse after a compromise?
A: Isolate the affected VM, revoke excessive RBAC assignments tied to the managed identity, and rotate any secrets or tokens that identity could reach. Containment should focus on removing the identity’s authority, not only on cleaning the host, because the cloud token may already have been replayed elsewhere.
👉 Read our full editorial: Azure managed identity token abuse exposes trust-model failure