Skip to content
IDOR Write-up Beginner

500$ Idor vulnerability.

A shopping website's cart request used a sequential product_id parameter, allowing an attacker to enumerate and access private, unreleased product data. The reporter used Burp Intruder with a range of IDs and found hits.

medium.com

Published on medium.com

It was a shopping website , selling products , t-shirts and somethings like that , When you add a product to your shopping cart , there is a request with “productid” parameter to fetch the product data , i think that what if there is a non released products , a private ones that they don’t want to disclsose them…

Noureldin(0x_5wf), 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 check whether the requested product was public before returning its data, and used predictable sequential IDs.

Impact

An attacker could view private, unreleased product information that was not intended to be public.

What the attacker needed

Ability to add a product to cart; ability to intercept requests

How it was found

  1. Add a product to the shopping cart and observe the request containing the product_id parameter.
  2. Send the request to Burp Intruder and set the product_id as the payload position.
  3. Use a number range from 1 to 1000 as the payload list.
  4. Run the attack and identify responses that return data for non-public products.

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.

When you add an item to a cart, the website asks the server for that item's details using an ID number. If those numbers are simple and predictable, someone can try other numbers to see items that are not meant to be public, like unreleased products.

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.