Back to 2019: Disclosure Employers PII and Credentials
A subdomain of a company had directory indexing enabled, exposing a folder of PDF files that contained employee personal information and admin credentials. An attacker could read these files to obtain sensitive data and credentials for other company assets.
Published on medium.com
Hi! I start my series of articles where i will show bugs founded by me on different Bug Bounty programs (mostly from HackerOne and Bugcrowd).
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 the web server had directory listing enabled on a folder that stored sensitive PDF documents.
Impact
An attacker could obtain employee personal information and credentials for an admin panel and other company assets.
What the attacker needed
Domain found via WHOIS and search; directory listing enabled; no authentication on the folder
The fix
The company closed the subdomain, which removed the exposure.
How it was found
- Find a company domain via WHOIS registrant information and Google.
- Scan the domain with a wordlist of common directory names.
- Discover directory indexing on a webmaster folder.
- Open the uploaded subfolder and download the PDF files it lists.
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.
Directory indexing is a web server setting that lists all files in a folder when no index page exists, like leaving a filing cabinet open. Here, a folder on a company subdomain was open this way, and it held PDF documents with private employee details and login credentials. Anyone who found the folder could download those files.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.