My Weirdest Bug Bounty — Getting PII from O365.
When an Azure AD account was deactivated, O365 set the user's email address to a non-existent domain containing the tenant ID instead of null. The author registered that domain and received emails, meeting invitations and NTLM hashes intended for departed users across many Azure customers.
Published on medium.com
{{media:0}}
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, deactivated Azure AD accounts were given a placeholder email address built from the tenant ID at an unregistered domain rather than being set to null.
Impact
The author could receive email and meeting invitations meant for deactivated users across many Azure customers, and could capture NTLM hashes, though those hashes were for inactive accounts and therefore useless.
What the attacker needed
A deactivated Azure AD account; the placeholder domain is unregistered; attacker registers that domain
How it was found
- Notice a departed colleague's Teams email had changed to an address at a domain containing the tenant ID.
- Check that the domain was not registered.
- Register the domain and set up a mail server forwarding all messages to a personal inbox.
- Observe incoming meeting invitations and email chains from Azure customers, including Microsoft.
- Run Responder on a VPS to capture NTLM hashes from authentication attempts.
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.
When someone leaves a company, their work account is switched off. Instead of leaving the email address blank, Microsoft's cloud service replaced it with an address at a domain that nobody owned. The researcher bought that domain, so any mail sent to the old address arrived in his inbox instead.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.