How My Custom IDOR Hunter Made Me $50k (And Saved My Clicking Fin
The author describes a manual test where changing a numeric user ID in an API request returned another user's profile data, indicating an IDOR. They then built a custom tool to automate similar tests across many endpoints.
Free Link🎈
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
Impact
An attacker could access other users' profile information without authorisation.
What the attacker needed
Valid API token
How it was found
- Send a request to the user profile endpoint with your own user ID.
- Change the user ID in the request to a different number.
- Observe that the response contains another user's 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 user number, to decide what data to show, without checking if you are allowed to see it. By changing that number, an attacker can view or modify other people's information.
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.