Skip to content
Info disclosure Write-up Beginner

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.

Haris M Follow

Published on medium.com

Bounty$400 View original

Hey hunters! This writeup is my Second writeup I’ll share with you how I get 400$ Bounty again using Google Dorks.

Haris Muthusamy, on 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

What the attacker needed

WordPress site with directory listing enabled; Sensitive files in a predictable directory

How it was found

  1. Choose a target and enumerate subdomains with httpx.
  2. Identify a subdomain running WordPress.
  3. Try to access the WordPress uploads directory path.
  4. Receive a 403 forbidden but continue probing.
  5. 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.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.