The $0 IDOR That Was Worth More Than a $12,500 P1
An API endpoint returned full user profile data when an authenticated attacker changed the user ID in the request, because authorization only checked for a valid token and not ownership of the resource. This allowed any authenticated user to read any other user's email, gender, bio and location.
infosecwriteups.com
Published on infosecwriteups.com
In 2024, a researcher reported a GraphQL bug on HackerOne. By adding aliases to a single mutation, one authenticated request could force the backend to repeat an expensive operation — about 8 seconds per alias — until the server timed out.
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
Any authenticated user could read any other user's personal data, leading to mass PII disclosure with possible paths to account takeover, phishing, identity theft and regulatory exposure.
What the attacker needed
A valid user account; ability to intercept and modify requests
How it was found
- Intercept a request to the user profile endpoint in Burp and note the user ID.
- Copy the request as a cURL command, keeping your own valid Bearer token.
- Change only the user ID in the URL and send the request.
- Observe that the response contains another user's full profile 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 lets you access someone else's data just by changing an identifier like a user ID in a request. Here, the server checked that you were logged in but not that the data belonged to you, so any logged-in user could read anyone's profile.
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.