How I Got My Highest Payout
The application trusted user-supplied identifiers in request bodies instead of deriving the target record from the authenticated session, so any logged-in user could read another applicant's full personal and family data and export it as a PDF. The identifiers were also placed in the URL query string, exposing them to browser history, logs and public web archives.
The target was an application portal. You register, you fill out a genuinely ENORMOUS form, and at the end it generates a PDF of everything you submitted: income figures, tax numbers, personal identifiers, household details.
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
The server used attacker-controlled identifiers from the request body to select the record instead of deriving it from the authenticated token, and never verified that the authenticated user owned that record.
Impact
An authenticated user could read another applicant's full personal and family data and export it as a PDF; the identifiers were also exposed in URLs, browser history, logs and public web archives, making them obtainable.
What the attacker needed
A free account; a completed application form; victim's identifiers (leaked in URLs)
The fix
The application should derive the target record from the authenticated session and check that the user is authorised to access it, rather than trusting identifiers supplied in the request body or URL.
How it was found
- Register an account and complete the large application form so a real application exists.
- Create a second account with a completed application to act as the victim.
- Send a data request using the first account's own valid token but with the second account's identifiers in the body.
- Observe the response returns the second account's data.
- Call the PDF export endpoint with the same swapped identifiers to download the victim's full application as a PDF.
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 log in, the server gives you a token that proves who you are. This app checked that token correctly, but then it also let the request say which record to fetch, and it never checked that the record belonged to the person asking. So anyone with a normal account could ask for someone else's application and get it.
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.