CSACyber Security AuditWebbandflow
Information disclosure Low

Directory Listing

A web server showing the full contents of a folder when no specific page is requested.

What it is

Directory listing is a web server feature that displays all files in a folder when no default page is present. Left enabled, it can reveal files never meant to be browsed, such as backups, configuration, or source files. It turns a folder into an open index for anyone to explore.

Why it matters

Exposed file listings can lead attackers directly to sensitive or forgotten files that would otherwise be hard to find.

How to fix it

Disable automatic directory listing on the web server and ensure sensitive files are not stored within web-accessible folders.

Related terms

References

← Back to the glossary