Your First Paid Bounty: A Real Case Study
An authenticated API endpoint returned profile data for arbitrary numeric IDs without verifying that the requester was authorised to view that ID. An attacker could enumerate other users' profile metadata, potentially enabling targeted phishing or account mapping.
medium.com
Published on medium.com
There’s something delicious about getting your first paid bounty. It’s validation: not just that you can find bugs, but that the market (real companies with real lawyers) agrees your work matters.
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
The endpoint did not enforce server-side authorisation to ensure the requester could only access their own profile.
Impact
The vulnerability exposed other users' profile metadata, which could enable targeted phishing or account mapping; if extended to additional fields, it could escalate to PII exposure.
What the attacker needed
A free account; victim has a profile
The fix
The issue was fixed by adding a server-side authorisation check and a regression test in CI.
How it was found
- Create two test accounts.
- Log in as the first test account and capture the session token.
- Send a request to the profile endpoint with the second test account's numeric ID and the first account's token.
- Observe that the response contains the second account's 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.
The API let a logged-in user ask for someone else's profile by changing a number in the request, and it did not check if that user was allowed to see it. This is called an IDOR (Insecure Direct Object Reference), where a program uses a user-supplied identifier without checking permissions. An attacker could use this to collect other people's profile 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.