Skip to content
IDOR Write-up Beginner

This Is How I Got $750 From My First IDOR

The application allowed an authenticated user to delete management keys belonging to another account by changing the account identifier in the request. An attacker could delete another user's management keys, potentially leading to account takeover or service disruption.

medium.com

Published on medium.com

In May 2025 I was using different Dorksfor getting best Targets. After reviewing 100+ Targets I didn’t get any good target.

TSxNINJA, on medium.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 authenticated user owned the management key being deleted, allowing object-level authorization bypass.

What the attacker needed

A free account; two accounts; ability to intercept requests

The fix

The server should enforce object-level authorization to verify that the authenticated user owns the management key before allowing deletion.

How it was found

  1. Create two accounts and generate a management key for each.
  2. Capture the requests for both management keys.
  3. Delete the management key of the first account to observe the normal response.
  4. Intercept the deletion request for the first account and replace the account identifier and key with those of the second account.
  5. Change the response to 204 No Content.
  6. The management key of the second account 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.

Management keys are like master passwords for an account. The website did not check that the person deleting a key actually owned that key. So one user could delete another user's key by changing a number in the request.

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.

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.