info: name: Apache Tomcat - Directory Listing Enabled author: oleveloper severity: medium description: | Directory listing is enabled on the Apache Tomcat server, allowing users to view the contents of web directories.This could lead to unauthorized access to sensitive files and potential information disclosure. remediation: | Disable directory listings by setting the listings parameter to falsein the web.xml under the DefaultServlet. This helps prevent unauthorized directory browsing and protects sensitive files. reference: - https://isms.kisa.or.kr metadata: verified:true max-request:1 vendor: apache product: tomcat shodan-query: title:"Apache Tomcat" tags: tomcat,misconfig,listing,kisa
http: -method: GET path: -"{{BaseURL}}"
matchers-condition: and matchers: -type: word part: body words: -"Directory Listing For" -"<a href="