How I Found My First Bug: IDOR Vulnerability & Got a $$$ Bounty!
A translation endpoint accepted a video identifier without checking whether the requester was allowed to view that video, so a private account's video description could be read by anyone who knew the identifier. The attacker could therefore access descriptions from private accounts without following them.
So, I started my night as usual by opening my laptop and launching BurpSuite. I was looking for vulnerabilities through a Bug Bounty program on HackerOne.
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 translation endpoint looked up a video by its identifier without verifying that the caller was permitted to view that video.
Impact
An attacker could read the description of videos belonging to private accounts without following them, limited to the description field.
What the attacker needed
A free account; victim has a private account with a video; attacker knows the video identifier
The fix
The report was resolved by the team after being triaged.
How it was found
- Create a victim account, upload a video and note its video identifier.
- Set the victim account to private.
- Log in as the attacker and capture the translation request in Burp Suite.
- Send the request to Repeater and replace the video identifier with the victim's identifier.
- Send the request and observe the private video's description in the response.
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.
A private account is meant to show its videos only to approved followers. The website had a separate translation feature that looked up a video by its number but forgot to check who was asking. Because video numbers are easy to guess or note down, anyone could use that feature to read the description of a private video.
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.