Skip to content
IDOR Write-up Beginner

I earned $1000 with IDOR’s vulnerability to PII leaks outside the platform.

An API endpoint that returns a user's profile accepted a user identifier supplied by the caller and returned another person's profile data without checking ownership. An attacker could change that identifier to read highly sensitive personal data belonging to other users.

aryasec Follow

Published on aryasec.medium.com

Hello everyone, introducing my name Tengku Arya Saputra (Follow my Linkedin) on this occasion I will tell you how I found a security hole with a very critical vulnerability level, I got this bug outside of any bug bounty platform, so this is an external program.

Tengku Arya Saputra, on aryasec.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 profile lookup endpoint trusted the user-supplied user identifier and never verified that it matched the authenticated caller.

Impact

An attacker could read highly sensitive personal data belonging to other users, which the report describes as a critical-severity leak.

What the attacker needed

An account on the app; the Android app; a proxy to intercept requests

How it was found

  1. Open the Android app and go to the profile edit screen.
  2. Set up an intercepting proxy so requests to the server can be captured.
  3. Save a profile change and inspect the captured request.
  4. Note the user identifier in the request body and replace it with another user's identifier.
  5. Send the modified request and observe the other user's profile data in the response.

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.

Many apps look up records by an ID number sent from the phone or browser. If the server does not check that the record belongs to the person asking, anyone can swap in someone else's ID and read their data. This is called an insecure direct object reference, or IDOR.

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 aryasec

View all

1 more disclosed report, 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.