Skip to content
IDOR Write-up Beginner

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.

Haider Mahmood Follow

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…

Haider Qureshi, on haiderm.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 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

  1. Create a project and intercept the remove request.
  2. Note the projectId parameter in the request.
  3. Create a second account and two projects.
  4. Change the projectId to one from the second account and send the request.
  5. 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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.