My First $100 Bounty: Exploiting IDOR Vulnerability in Account Section
User-uploaded photos were accessible via their direct URLs without any authentication check. An attacker who obtained or guessed such a URL could view another user's private photo while logged out.
Today, I want to take you back to a special moment in my bug bounty journey—my very first vulnerability discovery that rewarded me with $100! It was an IDOR (Insecure Direct Object Reference) vulnerability that I found in the Account section of a website, and though it seemed simple, it turned out to be a…
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 image files were served from a location that did not verify the requester's session or ownership before returning the file.
Impact
Private user photos could be viewed by anyone holding the image link, which is a privacy leak; the author notes it is often rated medium severity.
What the attacker needed
A free account; the image URL
How it was found
- Register and log in to the target website.
- Upload a photo in the Account section.
- Copy the direct link to the uploaded image.
- Open the link in a different browser while not logged in.
- Observe that the image is still displayed.
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.
When you upload a photo to a website, the site gives it a web address. Normally the site should check that you are allowed to see a photo before showing it. Here it did not check, so anyone with the address could open the photo, even without an account.
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.