Skip to content
IDOR Write-up Beginner

๐Ÿšจ My Journey to Finding an IDOR Vulnerability โ€” And the Lessons It Taught Me

A web application used user IDs in URLs to fetch personal data without checking whether the requester was allowed to see that record. By changing the ID number, the author could retrieve another user's data.

Priyansh Follow

Published on secpriyansh.medium.com

Seven months ago, I stumbled into the world of bug hunting with curiosity, excitement, and (honestly) a bit of cluelessness. I had just started exploring security testing, reading about real-world vulnerabilities, and trying small challenges here and there.

Priyansh, on secpriyansh.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 server looked up records by the ID supplied in the request without verifying that the requesting user was permitted to access that record.

Impact

The flaw could expose sensitive personal or financial data and may lead to full account takeovers by bypassing access controls.

What the attacker needed

A user account on the site; ability to send requests with a user ID

The fix

The security team confirmed the vulnerability and rolled out a fix; the text does not describe the technical change.

How it was found

  1. Notice that requests use user IDs in the URL to fetch personal data.
  2. Change the ID number in the request.
  3. Observe that the application returns another user's data without any access error.

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 websites put a number in the address, such as a user or record ID, and use it to look up data. If the server does not check that the logged-in person owns that record, anyone can change the number and read someone else's information. This mistake 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 Priyansh

View all

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