漏洞描述
Examine whether Tomcat stack traces are turned on by employing a designated problematic pattern.
id: tomcat-stacktraces
info:
name: Tomcat Stack Traces Enabled
author: lucky0x0d
severity: low
description: |
Examine whether Tomcat stack traces are turned on by employing a designated problematic pattern.
classification:
cpe: cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: apache
product: tomcat
shodan-query: title:"Apache Tomcat"
tags: misconfig,tech,tomcat,apache,vuln
http:
- method: GET
path:
- '{{BaseURL}}/?f=\['
matchers:
- type: dsl
dsl:
- 'contains(body, "tomcat")'
- 'contains(body, "org.apache")'
- status_code == 400
condition: and
# digest: 4a0a00473045022100de0aed811f7cc7402d647dfdc4953304e655f44be65199ee58862149d43a974702201d32f947d64da63410d3d55fb50c6ef71eafeaa2f6957aff04c99802f8ab43f8:922c64590222798bb761d5b6d8e72950