Skip to content
Info disclosure Write-up Intermediate

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.

Bilal Khan Follow

Published on medium.com

Bounty$10,000 View original

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.

Bilal Khan, on medium.com

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

  1. Collect parameters from HTTP history and create a wordlist.
  2. Send requests to the API with the parameter positions marked for fuzzing.
  3. Run the intruder to test each parameter on each request.
  4. Observe responses for sensitive information disclosure.
  5. 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.

More by Bilal Khan

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.