Uncovering an IDOR on Reacted.com — A Curious Bug Hunter’s Tale 🕵️♂️✨
An IDOR vulnerability on Reacted.com allowed unauthenticated access to other users' profile images by changing a predictable numeric id parameter. An attacker could view private profile pictures and potentially scrape profile data.
Read it for FREE →Article
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 application used predictable sequential identifiers and failed to enforce authorization checks on the file-serving endpoint.
Impact
An attacker could view private profile images without authentication and potentially scrape profile data, breaching user privacy.
What the attacker needed
No account needed; knowledge of a valid id
The fix
The fix is to implement authorization checks so users can only access their own data, and to use non-predictable identifiers like UUIDs.
How it was found
- Notice a profile page URL with a long numeric id parameter.
- Observe that the first part of the id is constant across profiles, only trailing digits change.
- Modify the id value in the URL.
- See a different profile picture load, confirming unauthorized access.
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) is when a website uses a simple identifier, like a number, to refer to a user's data but doesn't check if you're allowed to see it. Here, changing the number in the URL let anyone view other people's profile pictures without logging in.
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.