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.
- Configure your web server to prevent directory listings for all paths beneath the web root.
- Place into each directory a default file (such as index.htm) that the web server will display instead of returning a directory listing.
Ignore this check
- Escape Severity: LOW
- OWASP: API1:2023
- PCI DSS: 6.5.8
- WASC: WASC-48
- CVSS_VECTOR: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS_SCORE: 5.3