Skip to content
Access control Write-up Advanced

The Microsoft Entra Vulnerability That Could Have Changed Everyth

A validation flaw in the Azure AD Graph API allowed undocumented impersonation tokens, called Actor Tokens, to be used to impersonate any user, including global admins, in any Entra ID tenant for 24 hours. An attacker could access tenant data and, if impersonating a global admin, modify objects while logs showed the legitimate admin as the actor.

Brittney Ginther Follow

Published on medium.com

Imagine discovering a vulnerability that could allow you to compromise any Entra ID tenant worldwide without leaving any evidence of an attack. A few months ago, security researcher Dirk-jan Mollema discovered this vulnerability but had it been a bad actor, major damage would’ve been done.

Brittney Ginther, on medium.com

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 a missing or incorrect validation in the Azure AD Graph API that accepted Actor Tokens without properly checking who they were issued for, combined with the tokens not being logged or subject to normal security policies.

Impact

An attacker could access Entra ID data such as user, group, role, conditional access, application permission, device and BitLocker key information, and if a global admin was impersonated, could modify objects including within Microsoft 365, with logs showing the legitimate admin as the actor; there is no evidence the vulnerability was exploited in the wild.

What the attacker needed

No customer action required; attacker needs ability to request actor token

The fix

Microsoft mitigated the issue by preventing Actor Tokens from being issued for the Azure AD graph with service principal credentials, and later issued CVE-2025-55241 stating no customer action was required.

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.

This is about a flaw in Microsoft's cloud identity service, Entra ID (formerly Azure AD), which companies use to manage logins. The researcher found that special hidden tokens could be abused to pretend to be any user, even the most powerful administrators, without leaving obvious traces. That means an attacker could read or change data in any organisation's account.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.