Sensitive Images & Files Exposed Through Directory Listing
A directory listing was enabled on a U.S. Department of Defense web asset, exposing an index of files. An attacker could browse the directory and potentially access sensitive images and files.
- Triaged in 7 hours
- Fixed in 15 days
- Disclosed after 11 months
During reconnaissance over U.S Dept of Defense assets, I identified directory listing enabled in ███████
Proof of Concept:
█████ ███ ████ ███
Impact
A directory listing provides an attacker with the complete index of all the resources located inside of the directory. The specific risks and consequences vary depending on which files are listed and accessible. The files can possibly expose sensitive information as well as sensitive files like private videos or photos.
System Host(s)
█████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Visit ███████/
Suggested Mitigation/Remediation Actions
Disable Directory Listing in █████
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 the web server was configured to allow directory listing (autoindex) on a directory that contained sensitive files.
Impact
An attacker could see the full list of files in the directory and potentially access sensitive information such as private videos or photos.
What the attacker needed
None
The fix
Directory listing should be disabled on the server.
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 directory listing is when a web server shows a list of all files in a folder instead of a normal web page. If that folder contains private files, anyone who finds the folder can see and download them. Here, a government website had this feature turned on.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.