IDOR vulnerability gives me 2500$
An endpoint used an organisation identifier in the path but failed to check the second object identifier, so a user could change that identifier to access another organisation's data. The attacker could read, edit or delete some victim information, though the report says the data was not very important.
medium.com
Published on medium.com
Free blog: https://l4zyhacker.medium.com/idor-vulnerability-gives-me-2500-fe3a0747fa59
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 authorised the organisation identifier in the path but did not verify that the second object identifier belonged to that organisation or to the requesting user.
Impact
A logged-in user could read, edit or delete some information belonging to another organisation, but the report states the affected information was not very important and the bounty was rated medium.
What the attacker needed
A logged-in account; knowledge of a victim object identifier
How it was found
- Find a new feature or scope by searching for changelogs or what's new pages.
- Locate an endpoint whose path contains an organisation identifier and a second object identifier.
- Change the second identifier to one belonging to a victim while keeping your own organisation identifier.
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 web address often contains numbers or codes that point to a specific record, such as an organisation and then an item inside it. Here the site checked that you belonged to the organisation but did not check that the item belonged to you. By swapping the item code for someone else's, a logged-in user could reach their data.
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.