Wordpress directories/files visible to internet
The WordPress uploads directory on a corporate subdomain was publicly browsable, exposing files that appeared to contain employee email addresses and pictures. An attacker could browse the directory to collect these files and personal information.
- Triaged in 16 hours
- Fixed in 8 days
- Paid in 8 days
- Disclosed after 38 days
#Issue
During my testing I noticed that ubnt website https://directory.corp.ubnt.com seems to leak some data into internet. Wordpress directory https://directory.corp.ubnt.com/wp-content/uploads/ is showing files which I suppose shouldn't be visible to internet.
I noticed that these files include UBNT-employee email addresses (including personal?), pictures etc.
#Reproduction Just open URL https://directory.corp.ubnt.com/wp-content/uploads/ and start browsing folders/files. Most "juicy" stuff can be seen in these folders: ██████████
BR, -Tomi
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 directory listing was enabled on the WordPress uploads folder, so the server returned an index of its files instead of denying the request.
Impact
Files that should not be public, including what appeared to be employee email addresses and pictures, could be viewed and downloaded by anyone on the internet.
What the attacker needed
None
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 web server can be set up to list every file in a folder when no specific file is requested, like leaving a filing cabinet open. Here the folder where WordPress stores uploaded files was open like that, so anyone could see and download its contents. Those contents included what looked like staff email addresses and photos.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.