How I was able to delete 13k+ Microsoft Translator projects
The Microsoft Translator Hub project removal endpoint lacked authorisation checks, so any logged-in user could delete another user's project by changing the project ID. By iterating through IDs, an attacker could delete all 13,000+ projects.
Published on haiderm.com
Sometime back I was hunting for Vulnerabilities in Microsoft Web services, as Microsoft has large online infrastructure, finding a vulnerability which could lead to Microsoft hall of fame for security researcherswasn’t difficult. While browsing around their online services, one of their services, Microsoft hub…
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 server did not verify that the project being deleted belonged to the requesting user, relying only on the project ID supplied in the request.
Impact
An attacker could delete any project by changing its ID, and by looping through IDs could delete all 13,000+ projects.
What the attacker needed
A free account; victim has a project; attacker knows or guesses project ID
The fix
The issue was fixed by adding checks that the project belongs to the requesting user.
How it was found
- Create a project and intercept the remove request.
- Note the projectId parameter in the request.
- Create a second account and two projects.
- Change the projectId to one from the second account and send the request.
- Observe that the other account's project is deleted.
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 website should check that you own an item before letting you delete it. Here, the site only looked at the number identifying the project and did not check who owned it, so changing that number let someone delete other people's projects.
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.