Unauthorized Access and Data Leakage Vulnerability in a Crypto Pl
The reporting functionality allowed a user to change an is_superuser flag in the server response to unlock extra views, and by altering the userId parameter in API requests, a user could retrieve balance reports belonging to other users. The author states the issue did not lead to sensitive data exposure or unauthorised privilege escalation.
Published on medium.com
Hello, fellow bug hunters and cybersecurity geeks! I’m Yash Nimbalkar.
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 API did not check that the requested user identifier belonged to the authenticated user, and the interface trusted a client-side flag for showing extra views.
Impact
The author states the issue did not lead to sensitive data exposure or unauthorised privilege escalation, though balance reports for other users could be viewed.
What the attacker needed
A valid user account; ability to intercept HTTP requests
How it was found
- Log in with a valid user account.
- Intercept HTTP requests using Burp Suite.
- Change the is_superuser flag to true in the server response to unlock additional views.
- Modify the userId parameter in the balance report request to another user's identifier.
- Receive the other user's balance report.
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 application has an API that returns data based on a user identifier. The tester changed that identifier to another user's number and received that user's balance report. They also changed a flag in the response to see more options in the interface, but the author says this did not give real extra permissions.
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.