One Param => $10k
The application's API endpoints failed to properly validate which parameters were accepted, allowing an attacker to add unexpected parameters to requests. This led to the disclosure of sensitive information, including plaintext passwords, across multiple endpoints.
Published on medium.com
Hi everyone, 8 months before I was invited to a private program on BugCrowd, where I reported 8 bugs and all of them were marked as duplicate. I was so depressed.
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 restrict which parameters were accepted, so adding unexpected parameters caused it to return sensitive data.
What the attacker needed
Valid bearer token; knowledge of API endpoints
How it was found
- Collect parameters from HTTP history and create a wordlist.
- Send requests to the API with the parameter positions marked for fuzzing.
- Run the intruder to test each parameter on each request.
- Observe responses for sensitive information disclosure.
- Change request methods and content types to find more endpoints.
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.
The API accepted extra parameters that were not part of the original request, and some of these caused it to return sensitive data like passwords. By trying many parameter names on many endpoints, the researcher found that the server did not check which parameters were allowed.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.