Skip to content
IDOR Write-up Beginner

IDOR: Unauthorized Invoice Access on a Major Job Portal

The invoice download endpoint used sequential, guessable filenames and did not check that the invoice belonged to the requesting user. Anyone with an account could change the number at the end of the filename to download another user's invoice, exposing personal and payment details.

robisubagja158 Follow

Published on medium.com

hari itu saat saya sedang mencari lowongan pekerjaan di sebuah website portal kerja, lalu saat saya melihat adanya fitur pembelian materi berupa video saya coba melakukan checkout dan mereka menyediakan invoice untuk bukti pembayarannya, lalu saya tertuju pada fitur download invoice yang tersedia disana dan melihat…

Robi Mohamad subagja, 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 did not verify that the requested invoice belonged to the logged-in user and used predictable sequential filenames.

Impact

An attacker could download other users' invoices, exposing personal data such as full names, transaction details and payment history.

What the attacker needed

A free account; ability to intercept HTTP requests

The fix

The server should check that the invoice belongs to the active user session, or use unguessable unique identifiers instead of sequential filenames; the report says the issue was silently fixed within a week.

How it was found

  1. Download your own invoice and capture the request to the invoice download endpoint.
  2. Send the request to Repeater and change the number at the end of the filename to the next number.
  3. Use Request in Browser to fetch the modified request and download another user's invoice.

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 invoice is a bill. The website named each bill with a simple number that goes up by one, like 1, 2, 3. The site never checked whether the bill you asked for was yours, so changing the number let you read someone else's bill.

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 robisubagja158

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.