๐จ 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.
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.
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
- Notice that requests use user IDs in the URL to fetch personal data.
- Change the ID number in the request.
- 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.