Skip to content
IDOR Write-up Beginner

IDOR Unlocked: Accessing Unauthorized Data with a Simple Tweak!

The application exposed user data through a URL with a numeric identifier without checking access rights. An attacker could change the identifier to read other users' personal information, potentially for thousands of users.

dharineeshj2 Follow

Published on medium.com

This is the journey of how I discovered an Insecure Direct Object Reference (IDOR) vulnerability that could lead to serious data breaches.

Hack-Bat, 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

Likely the endpoint lacked an authorization check to ensure the requested user ID belonged to the authenticated user.

Impact

An attacker could extract personally identifiable information of thousands of users by simply changing the numeric identifier in the URL.

What the attacker needed

Access to the endpoint; ability to modify URL parameters

The fix

The endpoint should be fixed by enforcing proper access controls so that users can only access their own data.

How it was found

  1. Find an endpoint with a numeric user identifier in the URL.
  2. Send the request to Burp Repeater and confirm the normal response.
  3. Change the identifier to a different number and send the request.
  4. Observe that another user's data is returned.
  5. Use Burp Intruder to iterate through many identifiers and extract 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 uses a simple identifier, like a number in the web address, to point to a user's data but does not check if the person asking is allowed to see it. By changing that number, someone can view another person's information. Here, changing the number in the address showed other users' personal details.

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 dharineeshj2

View all

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