Sensitive Data Exposure via wp-config.php file
A WordPress config file was publicly accessible, exposing database and cloud credentials and other keys.
- Triaged in 37 hours
- Fixed in 33 days
- Disclosed after 57 days
Description:
Hi team, A copy of the WordPress config file wp-config.php has been found at █████████ endpoint. It contains sensitive information, such as MySQL and AWS credentials, and various keys.
References
https://codex.wordpress.org/WordPress_Files
Impact
The page provides information to users who do not need it.
System Host(s)
████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- Go to: ███/wp-config.php_
- See the information.
Suggested Mitigation/Remediation Actions
Implement access control.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a misconfiguration where the web server served the wp-config.php file instead of blocking access to it.
Impact
The exposed credentials could allow an attacker to access the database and AWS services, though the report does not demonstrate actual exploitation.
What the attacker needed
None
The fix
Access to the wp-config.php file should be blocked at the web server level.
How it was found
- Go to the URL ending in wp-config.php_
- See the exposed information.
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 report has not been written yet. The Original tab links to the source.
A WordPress config file was left downloadable. It normally holds database and cloud passwords. The report says this exposes information to users who do not need it.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.