info: name: Apache Tomcat - Directory Listing Enabled author: oleveloper severity: medium description: | Directory listing is enabled on the Apache Tomcat server. This may allow unauthorized users to browse directories and access sensitive files, leading to potential information disclosure. remediation: | Disable directory listings by setting <listings>false</listings>in the web.xml file or by configuring the DefaultServlet appropriately to prevent directory browsing. reference: - https://isms.kisa.or.kr - Cloud Vulnerability Assessment Guide(2024) by KISA metadata: verified:true tags: tomcat,config,file,misconfiguration,directory-listing
http: -method: GET path: -"{{BaseURL}}/"
headers: Accept-Language: en
matchers-condition: and matchers: -type: status status: -200