Skip to content
IDOR Write-up Beginner

Finding A Unique Kind Of Idor

An API endpoint on the backend returned sensitive user details, including password hashes, phone numbers and emails, for any supplied user ID without requiring authentication. An attacker could first collect user IDs from a public store API and then use them to retrieve this data for all users.

Sahil Dari Follow

Published on systemweakness.com

Good day fellow Hackers, today I wanted to share an interesting kind of IDOR that I found recently during my VAPT assessment. I hope you learn something new here.

Sahil Dari, on systemweakness.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 backend endpoint lacked any authentication or authorization check, and user IDs were exposed through a public API.

Impact

An unauthenticated attacker could retrieve sensitive information, including password hashes, phone numbers and emails, for any user whose ID was exposed.

What the attacker needed

No account needed; Knowledge of a user ID

How it was found

  1. On the store site, click details for an application and observe the API response containing the uploader's user ID.
  2. Collect user IDs from the store API responses.
  3. Request the backend endpoint with a collected user ID, without logging in, to retrieve sensitive user data.

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 access someone else's data just by changing an identifier in a request, without checking if you are allowed. Here, the identifier was a long random-looking user ID, but the site exposed those IDs publicly, and the private data endpoint did not check who was asking.

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.