← All Labs
A02 Security Misconfiguration – Open Directory Listing
Directory indexing is enabled on a public backup folder, exposing synthetic files.
What is Security Misconfiguration – Exposed Directory Listing?
Directory listing occurs when a web server displays a folder's contents because indexing is enabled and no default index file exists. Exposed backups may reveal sensitive information.
About this lab
Designed by the SecurityElites team specially for training.
How AI helps you find it
AI can explain the relevant HTTP behaviour, suggest a focused test checklist and help compare expected and observed responses. Confirm findings manually.
How to fix it
- Disable directory indexing on public web roots.
- Store backups outside the web document root.
- Require authorization for backup retrieval.
- Remove obsolete backup and temporary files.
- Deny access to sensitive file types and directories.
- Test deployments for directory listings.
How AI helps you defend against it
AI can help review the relevant route, input handling or configuration and draft regression tests. A developer must validate the implementation.
Read the full OWASP LLM Top 10 guide · All free labs · AI red team certification