Skip to content
XSS Write-up Intermediate

16. Real Bug Bounty Stories (from My Reports)

The article recounts several bug bounty findings, including a .env file exposed via Google dorking, an API key hardcoded in client-side JavaScript, a dangling DNS record, an IDOR in a data export download link, a blind SSRF bypassing a blacklist to reach AWS metadata, and an XSS chained with a missing HttpOnly cookie flag. An attacker could use these to access secrets, take over accounts, or retrieve cloud credentials.

infosecwriteups.com

Published on infosecwriteups.com

🔐Free Article Link

Abhijeet kumawat, on infosecwriteups.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 a mix of misconfigurations, missing authorization checks, and fragile input validation across different features.

Impact

The findings could expose sensitive data, allow account takeover, or grant access to cloud credentials, though some required specific conditions like a victim clicking a link.

What the attacker needed

Publicly indexed files; access to the web app; ability to request data export; victim clicks a link

How it was found

  1. Search Google for files with a .env extension on the target domain.
  2. Open the indexed .env file to view its contents.
  3. Inspect JavaScript files loaded by the web app for hardcoded secrets.
  4. Resolve discovered subdomains and check for ones pointing to third-party services.
  5. Request a data export and note the file_id in the download link.
  6. Change the file_id to another value and download the resulting file.

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 collection of short stories about finding security mistakes in websites. For example, a file meant to be private was left where Google could find it, and a download link let one user grab another user's data by changing a number. The author explains how small observations led to bigger problems.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.