Skip to content
Misconfiguration Write-up Beginner

Recon only bugs are sweet!

Five recon findings: logs exposing tokens, an exposed directory leaking source, stored XSS in a forum, self-XSS in Shopify, and a vhost reaching an internal page.

Hazem Hussien Follow

Published on hazemhussien99.wordpress.com

What are “Recon Only” bugs ? They are security vulnerabilities that are found without much manual exploitation and could be found using reconnaissance techniques such as dorking or directory brute forcing on an http web server (i just made that definition up :), this is just the way i see them and obviously not an…

Hazem Hussien, on hazemhussien99.wordpress.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 misconfiguration: sensitive log and source files placed in web-served directories, missing output encoding on forum posts, and a reverse proxy trusting the Host header to pick a backend.

Impact

Leaked tokens, a low-rated source leak, a stored XSS, a self-XSS with no shown exploitation, and an internal page reached via Host header.

What the attacker needed

Reconnaissance; forum account

The fix

Sensitive files should be kept out of web directories, forum input encoded, and the proxy should not trust the Host header.

How it was found

  1. Enumerate subdomains and probe them for interesting hosts.
  2. Find log file URLs on the static subdomain.
  3. Open the log files and read the authentication tokens inside.
  4. Find and access the exposed directory.
  5. Download the leaked PHP and configuration files.
  6. Create a forum account and post content that triggers stored XSS.

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 write-up lists several simple mistakes found by looking around rather than by clever attacks. One server left log files in a public folder, and those logs contained login tokens (short secret strings used to prove who you are). Another server let anyone download its own program files, and a third let a crafted Host header (the field that says which website you want) reach an internal machine.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by Hazem Hussien

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.