Skip to content
IDOR Write-up Beginner

IDOR leads to leak Private Details

An endpoint that returned information for a user-supplied identifier did not check that the identifier belonged to the requesting user. By changing the identifier, an attacker could read other users' private details, including authentication details and private subdomain information.

annonymous Follow

Published on infosecwriteups.com

I Wish you Merry Christmas & happy new year to you readers. May this year bring us nothing more than love, joy, happiness, P1,P2 bugs,Bounties and laughter😊😊.So let’s get start.

annonymous, 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 endpoint used the user-supplied identifier to look up records without verifying that the record belonged to the authenticated user.

What the attacker needed

A free account; ability to intercept requests

The fix

The endpoint should verify that the requested record belongs to the authenticated user before returning it.

How it was found

  1. Create an account on the target website and capture requests in Burp Suite.
  2. Identify an endpoint that takes an identifier and returns user information.
  3. Send the request to Intruder and replace the identifier with other values.
  4. Observe that responses contain other users' private details.

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.

When you log in, a website often uses a number or code to find your information. If the site does not check that the number belongs to you, you can change it to someone else's number and see their private 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.

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.