Skip to content
IDOR Write-up Beginner

Caught an IDOR Vulnerability on a Private Program — Earned a $600 Bounty

An invoice endpoint used a numeric ID in the URL without checking that the invoice belonged to the logged-in customer. By changing the ID, an attacker could read another customer's invoice data.

Tanishx0h Follow

Published on cybersecuritywriteups.com

About a week ago, my phone suddenly started buzzing early in the morning. It was a message from my friend inviting me to a new private bug bounty program.

Tanishx0h, on cybersecuritywriteups.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 invoice endpoint performed no ownership check on the supplied invoice ID, so any authenticated user could request any invoice.

Impact

An authenticated customer could read other customers' invoice data, which was not exposed on the Order page.

What the attacker needed

A vendor account with provided credentials; knowledge of a valid invoice ID

How it was found

  1. Log in to the vendor account with the provided credentials.
  2. Open the Invoice section for customers and note the URL containing an invoice ID.
  3. Change the invoice ID in the URL to a different number.
  4. Observe that another customer's invoice data is returned.

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 lets you reach a record just by changing a number in the address, without checking that the record is yours. Here, the invoice page accepted any invoice number, so a customer could view someone else's invoice.

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 Tanishx0h

View all

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