400$ Bounty again using Google Dorks
A WordPress site exposed a database configuration file (wp-db.php) and other files in a directory listing, allowing an attacker to access sensitive information. The author found it via Google dorks and directory probing and received a bounty.
Hey hunters! This writeup is my Second writeup I’ll share with you how I get 400$ Bounty again using Google Dorks.
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
What the attacker needed
WordPress site with directory listing enabled; Sensitive files in a predictable directory
How it was found
- Choose a target and enumerate subdomains with httpx.
- Identify a subdomain running WordPress.
- Try to access the WordPress uploads directory path.
- Receive a 403 forbidden but continue probing.
- Access a WordPress include directory path and see a directory listing with wp-db.php and other files.
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.
A WordPress site had a folder that listed its files, including a configuration file that can contain database passwords. Anyone who found that folder could read those files and learn secrets about the site.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.