Skip to content
Info disclosure Write-up Beginner

Out-of-Scope, Not Out-of-Impact: Unveiling Significant Sensitive Information Disclosure

A backup file named wp-config.php.old was publicly accessible and contained database credentials and cryptographic keys. An attacker could use these to access sensitive data or manipulate the WordPress installation.

Padsala Tushal Follow

Published on padsalatushal.medium.com

As a bug bounty hunter, navigating the complexities of subdomain vulnerabilities often leads to intriguing discoveries. One such revelation, though initially deemed out of scope, unearthed a significant vulnerability with unforeseen implications.

Padsala Tushal, on padsalatushal.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 a backup copy of the WordPress configuration file was left in a publicly accessible directory.

Impact

The exposed credentials and keys could allow unauthorised access to sensitive data or manipulation of the WordPress installation.

What the attacker needed

Publicly accessible backup file

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 stores its database username, password, and secret keys in a file called wp-config.php. Someone left an old copy of that file on the web server, so anyone who found the link could read those secrets. With the database password, a stranger might read or change private data on the site.

What is Info disclosure?

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

More by Padsala Tushal

View all

2 more disclosed reports, best first.

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.