Compromised Microsoft Key: More Impactful Than We Thought
A Microsoft signing key used to validate OpenID tokens for personal and mixed-audience Azure AD applications was compromised, allowing an attacker to forge access tokens and impersonate users. The attacker could have accessed any application trusting that key, including Outlook, SharePoint, Teams, and customer apps supporting 'Login with Microsoft'.
Published on wiz.io
Microsoft and CISA recently disclosed a security incident impacting multiple customers of Exchange Online and Outlook.com. According to Microsoft, this incident stemmed from a threat actor attributed to China, Storm-0558, acquiring a private encryption key (MSA key) and using it to forge access tokens for Outlook Web…
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 compromise of a private signing key used by Microsoft's identity platform, combined with insufficient validation of token issuer by some applications.
Impact
The attacker could forge tokens to impersonate users on any affected application, potentially accessing email, files, and other services, and could establish persistence; however, Microsoft revoked the key, limiting further use.
What the attacker needed
Compromised signing key; application trusts the key; attacker can craft tokens
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.
A signing key is like a special stamp that proves a login token is real. If someone steals that stamp, they can create fake tokens that look real to any app that trusts the stamp. Here, a Microsoft key was stolen, so the attacker could pretend to be any user on many Microsoft and customer apps.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.