Skip to content
IDOR Write-up Beginner

I turned a URL tweak into $800: How I found an IDOR and got paid — step-by-step (for beginners!)

The order API returned any order's details when the order reference in the URL was changed, without checking that the authenticated user owned that order. An attacker with a valid token could read other customers' names, emails, addresses and order contents by guessing sequential references.

zoningxtr Follow

Published on medium.com

💰 Learn how I earned $800 by finding an IDOR vulnerability! Step-by-step bug bounty guide with real payload example, tips, and responsible disclosure. 🔓🚀

Zoningxtr, 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 server fetched the order directly from the client-supplied order reference without verifying that the authenticated user owned that order.

Impact

An authenticated user could read other customers' personal details and order information by changing the order reference, though the author only performed a single check and did not scrape data.

What the attacker needed

A valid account and bearer token; knowledge of a valid order reference

The fix

The server should enforce an ownership check before returning any order, and the vendor patched it according to the text.

How it was found

  1. Note the predictable order reference in the JSON response.
  2. Change the order reference in the request path to a nearby value.
  3. Re-send the request with the same bearer token.
  4. Observe that the response contains another user's order details.

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.

An IDOR is when a website looks up a record using an identifier you send, such as an order number, but forgets to check that the record belongs to you. Here the order number was easy to guess, so changing it in the request showed someone else's order. The fix is for the server to check ownership every time, not just hide the button in the page.

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 zoningxtr

View all

7 more disclosed reports, 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.