Skip to content
IDOR Write-up Beginner

How I Found a $1,000 IDOR Bug Using Burp Suite ?

An e-commerce API endpoint returned order details based on a client-supplied order_id without checking ownership, so changing the ID revealed other customers' orders. The author enumerated IDs and found many valid responses containing personal and partial payment data.

devprogramming Follow

Published on devprogramming.medium.com

A step‑by‑step look at uncovering a hidden access‑control issue, validating it safely, and writing a report that gets paid — essential tips for new hunters.

DevProgramming, on devprogramming.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 API looked up orders by the client-supplied order_id without verifying that the authenticated user owned that order.

Impact

An attacker could harvest personal data such as names, addresses, order contents and fragments of payment information at scale; the vendor rated it medium severity because it did not allow direct financial transactions.

What the attacker needed

An account on the e-commerce platform; ability to intercept HTTP traffic; knowledge of a valid order ID

The fix

The author recommended enforcing server-side ownership checks on every object access, binding identifiers to the authenticated session, minimising returned data, and adding rate limits and monitoring; the text does not say whether these were implemented.

How it was found

  1. Browse the site with Burp Suite proxying traffic and capture the request that fetches order history.
  2. Send the captured request to Repeater and change the order_id value to a different number.
  3. Observe that the response contains another customer's order details.
  4. Use Intruder with a sequential list of IDs to enumerate many orders and confirm the pattern.

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 (Insecure Direct Object Reference) happens when a website uses a simple identifier, like a number in a URL, to decide which record to show, but forgets to check that the person asking actually owns that record. By changing the number, an attacker can view someone else's private information. Here, the order number in an API request could be swapped to read other people's orders.

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 devprogramming

View all

2 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.