Skip to content
IDOR Write-up Beginner

Broken Object Fiesta: How I Used IDOR, No Auth, and a Little Luc

An API endpoint returned user profile details without requiring authentication and used sequential numeric IDs, so anyone could enumerate IDs to read other users' data. The same pattern affected document, transaction and preference endpoints, exposing PDFs, payment methods and addresses.

iski Follow

Published on infosecwriteups.com

Free Link 🎈

Iski, on infosecwriteups.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 trusted the client-supplied numeric ID and had no authentication or authorisation check on the profile, document, transaction and preference endpoints.

Impact

Over 10,000 user profiles with email, phone, address and document links could be read without authentication, and there was no rate limiting or WAF to slow enumeration.

What the attacker needed

No account needed; network access to the API

How it was found

  1. Find the profile endpoint in collected URL parameters.
  2. Request the endpoint without logging in and receive a user's profile.
  3. Change the id value to a neighbouring number and receive a different user's data.
  4. Loop over a range of IDs with a script to confirm many records are exposed.
  5. Check JavaScript files for similar endpoints and test them the same way.
  6. Decode a base64 document link returned by one endpoint to download a PDF directly.

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, to pick which record to show, but does not check that the person asking is allowed to see it. Here the API also skipped login entirely, so changing the number in the address returned another person's profile. Attackers can write a small script to try many numbers in a row.

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 iski

View all

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