my first easy IDOR in a big company
An endpoint that returned personal data for an invited user's email address did not check that the requester was authorised to view that data. By changing the email address in the request, an attacker could retrieve personal data for other users, including company employees.
Published on medium.com
IDOR is a very easy bug, in fact this is the easiest bug.. a new hunter can also find without any knowledge.
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 used the email address from the request to look up and return personal data without verifying that the authenticated user was authorised to access that record.
Impact
An attacker could retrieve personal data for arbitrary users, including company employees, by supplying their email addresses.
What the attacker needed
A free account; ability to invite a user to an organisation; knowledge of target email addresses
How it was found
- Invite a user to your organisation.
- Inspect the request in Burp Suite history that contains the invited user's email.
- Change the email address in the request to another account's email.
- Observe that the response still returns personal data for the new email.
- Use emails found via an email finder for company employees and repeat the request.
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 lets you access someone else's information just by changing an identifier, like an email address, in a request. Here, the server returned personal data for any email address you supplied, without checking whether you were allowed to see it. This means anyone who can make a request could read other people's private 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.