Skip to content
Leaked secrets Write-up Beginner

Winning Swags and Hall of Fame for Finding bugs.

The author found exposed API keys in JavaScript files on a subdomain, which could be used to fetch geolocation data. They also reported other bugs such as clickjacking on login pages, weak password policy, and an exposed Swagger UI, but the text gives few technical details.

medium.com

Published on medium.com

📩 Read the article for free —CLICK HERE.

RivuDon, 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, secret API keys were hardcoded in client-side JavaScript files, making them accessible to anyone.

Impact

The exposed API key could be used to fetch geolocation data, demonstrating potential unauthorized access to a service.

What the attacker needed

None

How it was found

  1. Performed subdomain enumeration and recon to collect live subdomains.
  2. Picked a random subdomain and manually checked JavaScript files for sensitive information.
  3. Found exposed API keys in a JavaScript file.
  4. Used the API key with a curl command to fetch geolocation data as proof of concept.
  5. Reported the bug and received a Hall of Fame recognition.

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.

This is a story about a bug hunter who found several security problems on a company's website. The main issue was that secret keys were left in the website's code, which could let someone use those keys to access services. The author also found other common issues like clickjacking, where a malicious site tricks you into clicking something on another site.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.