Microsoft Vulnerability Exploitation — [IDOR] — Unb
The report describes an IDOR in Microsoft's account email verification endpoint where the one-time code parameter could be set to any value, allowing an attacker to unbind or bind any email address to a victim's account. This could lead to account takeover or loss of access for the legitimate user.
This article has been condensed and reformatted. Estimated reading time: 3 minutes.
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 backend failed to properly validate the one-time code parameter, accepting any value when it contained an asterisk, and did not verify that the email address being changed belonged to the user.
Impact
An attacker could unbind or bind any email address to a Microsoft account, potentially leading to account takeover or loss of access for the legitimate user.
What the attacker needed
Knowledge of victim's email; crafted URL
How it was found
- Examine historical emails from Microsoft to find URL interface information.
- Identify the email verification endpoint and its parameters.
- Set the one-time code parameter to any value containing an asterisk.
- Manipulate the email parameter to the target address.
- Access the crafted URL to unbind or bind the email without proper verification.
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 how Microsoft's website checked a security code when changing the email linked to an account. The check could be bypassed by putting a special character in the code field, letting someone else change the email without knowing the real code. That could let an attacker take over the account or lock out the real owner.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.