My first bug bounty report
Anonymous product reviews still included a user ID in the API response, and a separate user profile endpoint returned full profile details for any user ID without requiring authentication. An attacker could link anonymous reviews to real identities and harvest profile information.
medium.com
Published on medium.com
I was browsing around e-commerce pages one night in 2022, mostly out of curiosity. I didn’t even have a HackerOne account back then, just my browser, DevTools, and the urge to see how things worked behind the scenes.
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 reviews API included the reviewer's user ID even for anonymous reviews, and the user profile API lacked an authentication or authorisation check.
Impact
Anyone could link anonymous reviews to real users and view their profile details, which could expose people who expected anonymity and might lead to harassment.
What the attacker needed
None
How it was found
- Open a product page and inspect the network request that loads reviews.
- Notice that reviews marked anonymous still contain a userid field.
- Find the user profile endpoint and request it with a copied userid.
- Observe that the profile details are returned even while logged out.
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 leave a review marked anonymous, the website should not send anything that identifies you to other visitors. Here, the review data still contained a hidden number (a user ID) that pointed to your account, and another part of the site would show your profile to anyone who asked with that number, without logging in. So 'anonymous' was not really anonymous.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.