IDOR Vulnerability in WEB3 Bug Bounty Platform Exposing User Sensitive PII
A user lookup endpoint accepted an object identifier supplied by the client and returned another user's profile without checking ownership. By swapping in a second account's identifier, an attacker could read that user's name, email, crypto wallet address and other personal details.
meetcyber.net
Published on meetcyber.net
Hii hunters Rs is here with my latest finding in one well known web3 bug bounty platform. I hope you find this helpful, if yes your welcome with Ideas and and appreciation.
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 findById endpoint looked up the user record purely by the supplied identifier and never verified that the requesting account owned or was permitted to view that record.
Impact
An attacker with any account could read other users' personal information, including names, email addresses and crypto wallet addresses; the report does not show any write or account-takeover capability.
What the attacker needed
Two free accounts; ability to intercept and edit requests
The fix
The endpoint should enforce server-side authorization on every request, validating that the caller owns or is permitted to view the requested object rather than trusting the client-supplied identifier.
How it was found
- Create two separate accounts on the platform.
- Log in as the first account and capture the request that fetches account details, then send it to the repeater tool.
- Replace the account identifier in the request with the second account's identifier.
- Send the modified request and observe that the response contains the second account's personal details.
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.
Many web apps fetch records by an ID number or string in the URL. If the server returns whatever record matches that ID without checking that the logged-in user is allowed to see it, anyone can change the ID and read someone else's data. This is called an IDOR, short for Insecure Direct Object Reference.
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.