A Simple IDOR which should not be missed on dating site ;)
An API endpoint returned user details based on a numeric identifier without checking ownership, so changing the identifier exposed another user's unread messages, notifications and new visits. An attacker could read private activity data of other users.
neelam
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 API endpoint used a user-supplied identifier to fetch user details without verifying that the authenticated user was authorised to access that record.
Impact
An attacker could view other users' unread messages, notifications and new visits, which are private activity details.
What the attacker needed
A logged-in account on the dating app
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) happens when a website uses a simple identifier, like a number, to decide which record to show, but does not check that the person asking is allowed to see that record. Here, changing the number in the request showed another person's private messages and notifications.
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.