How I Earned $800 in 10 Minutes with an IDOR Vulnerability — Just by Going the Extra Mile
An unauthenticated finance overview endpoint returned financial data for any tenant when given a tenant identifier, because it did not enforce authentication. An attacker could read financial details belonging to all tenants without logging in.
This Vuln is Quite Interesting,I hadn’t even logged in yet, and without fully understanding the site’s functionality, I spent about 10–20 minutes and scored a high-risk vulnerability (even if it’s just an edge site, a high-risk is still a high-risk, right?). All it takes is going just a little further than others.
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 endpoint lacked an authentication and authorisation check, so it processed requests from logged-out users and only failed when parameters were missing.
What the attacker needed
No account needed; guessable tenant identifier
The fix
The endpoint should enforce authentication and authorisation, checking that the caller is allowed to view the requested tenant's data.
How it was found
- Gather information and find a backend management system.
- Try weak passwords, but behavioural verification blocks brute force and there is no registration or password recovery.
- Extract API paths and test them, noting most return Unauthorized, Server Error or HTTP 405.
- Filter for paths returning Server Error, since these may skip permission checks.
- Search the JavaScript for the chosen finance path and find the tenantId parameter.
- Send a request with a guessed tenant identifier and receive financial data for all tenants.
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.
A website has a hidden page meant for logged-in staff that shows money-related information. The page was supposed to check who you are before answering, but it answered anyone who asked, as long as they supplied a tenant number. So a stranger could see other organisations' financial details without ever having an account.
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.