Easy IDOR lead to dislosed PII data leakage{Name, Username, Passw
A download endpoint used a numeric user ID that could be changed to retrieve other tenants' user lists. An attacker could download files containing usernames, passwords, email addresses and phone numbers from another tenant.
I hope this message finds you well. After a long hiatus, I’m excited to share my latest blog post with you.
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 download endpoint trusted a client-supplied numeric ID without verifying that the requesting user belonged to the tenant that owned the file.
Impact
An attacker could download another tenant's user list containing PII such as usernames, passwords, email addresses and phone numbers.
What the attacker needed
Access to the program; an account for at least one tenant; ability to send modified requests
The fix
The download endpoint should check that the requested user list belongs to the caller's tenant before returning it.
How it was found
- Set up accounts for two tenants in the program.
- Find the admin download button that retrieves a list of users.
- Notice a numeric ID in the download request.
- Send the request to Burp Intruder and test numeric values up to 44.
- Manually enter values to download a file containing another tenant's user data.
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 file to show, and does not check that the person asking is allowed to see that file. Here, changing the number in the download request let the tester fetch another company's user list. The list included sensitive personal data such as passwords and contact details.
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.