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.
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…
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
- Enumerate subdomains and probe them for interesting hosts.
- Find log file URLs on the static subdomain.
- Open the log files and read the authentication tokens inside.
- Find and access the exposed directory.
- Download the leaked PHP and configuration files.
- 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.