Skip to content
XSS Write-up Intermediate

Bug Bounty: The road to my first $1000 through hacking public websites

The article describes five separate bug bounty findings: an exposed API endpoint leaking user email addresses, a reflected XSS in Listserv, a .git/index exposure leading to a WordPress database backup, hard-coded credentials in a front-end JavaScript file, and a reflected XSS on a hidden endpoint. An attacker could exploit these to access sensitive data, run code in a victim's browser, or bypass authentication.

swehtpantz Follow

Published on swehtpantz.medium.com

What is bug bounty? In simple terms, bug bounties are payments, from companies, awarded to researchers for finding security vulnerabilities on their scoped infrastructure.

swehtpantz, on swehtpantz.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 multiple root causes: missing access controls on API endpoints, lack of input sanitisation, exposed backup files, hard-coded credentials, and insufficient output encoding.

Impact

The exposed email addresses could be used for password spraying, the XSS could run malicious code in a victim's browser, the database backup exposed password hashes and API keys, the hard-coded credentials could bypass authentication, and the second XSS could also run malicious code.

What the attacker needed

None for some bugs; victim clicks a link for XSS; access to the web application

The fix

The text states that the first vulnerability was fixed within 48 hours, the Listserv XSS was fixed and retested, but for the others it does not explicitly say they were fixed, though it implies they were addressed.

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 article is a collection of five real bug bounty reports. Each report explains a different mistake a company made, such as leaving a file with email addresses publicly accessible or putting a password in a JavaScript file. The author shows how they found each bug and what they learned, so beginners can understand the thought process.

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.