Skip to content
IDOR Write-up Beginner

**IDOR Vulnerability in Dictionary Endpoint — Arbitrary Deletion of User Items (**€€€)

An authenticated user could delete dictionary items belonging to other accounts by changing an item ID in a request, because the server did not check ownership. The server returned a success response, confirming the deletion of another user's entry.

Hasan Khan Follow

Published on medium.com

Author: HasanKhan0x Reward: €€€ Program: Responsible Disclosure Bug Bounty Checklist Used: Ultimate IDOR Testing Checklist https://github.com/mrdesoky0/vulnerabilities/blob/main/Ultimate%20Checklist/Ultimate%20IDOR%20Testing%20Checklist.md

Hasan Khan, 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

The backend failed to enforce object-level authorization, so it did not verify that the dictionary item belonged to the requesting user before deleting it.

Impact

An authenticated attacker could delete dictionary items belonging to other users, causing loss of personalised data without consent.

What the attacker needed

An authenticated account; knowledge of another user's item ID

The fix

The server should verify that the authenticated user owns the dictionary item before processing any deletion request.

How it was found

  1. Send a request to the dictionary endpoint with a valid item ID.
  2. Change the item ID parameter to another user's dictionary item ID.
  3. Observe that the server returns a success response and the item 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 dictionary endpoint lets users manage their own saved words or entries. The server trusted the item ID sent in the request without checking that the item belonged to the person making the request. This meant anyone logged in could delete someone else's entries just by changing a number.

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 by Hasan Khan

View all

1 more disclosed report, best first.

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.