How I Turned a “Not Sensitive Enough” Bug Into a Confirmed ID
An endpoint that looked up users by email returned their internal user ID, and a separate profile endpoint accepted that ID without checking ownership, exposing other users' personal data. An attacker could chain the two to retrieve private information for any user whose email they knew.
Published on bugbountywizard.app
A story about persistence, one rejected report, and why “it’s just an email address” is exactly the kind of thinking attackers count on.
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 profile endpoint lacked an authorization check to verify the requester owned or was permitted to view the target user ID, and the email lookup endpoint exposed internal user IDs to any authenticated user.
Impact
An attacker could retrieve other users' full name, phone number, email address, role, and other registration details, enabling enumeration and targeted phishing.
What the attacker needed
A free account; victim's email address
The fix
The profile endpoint now verifies that the requesting user is authorized to view the target profile, and the email lookup endpoint no longer leaks internal user IDs to arbitrary authenticated users.
How it was found
- Obtain a user's email address through normal platform usage.
- Query the findByEmail endpoint with that email to get the internal user ID.
- Query the profileInfo endpoint with that ID to retrieve the user's profile data without any ownership check.
- Repeat for any user whose email is known.
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.
Some websites use simple identifiers, like a user ID, to decide which profile to show. If the site does not check that you are allowed to see that profile, you can change the ID to someone else's and read their information. This is called an insecure direct object reference, or IDOR.
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.