nuclei-templates/http/misconfiguration/tomcat-stacktraces.yaml

31 lines
890 B
YAML

id: tomcat-stacktraces
info:
name: Tomcat Stack Traces Enabled
author: lucky0x0d
severity: info
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
http:
- method: GET
path:
- '{{BaseURL}}/?f=\['
matchers:
- type: dsl
dsl:
- 'contains(body, "tomcat")'
- 'contains(body, "org.apache")'
- status_code == 400
condition: and
# digest: 4a0a00473045022051b8c91fbecde333380a9fee98ecc94491131fad600864b6cc7917ed3b74a0a0022100f61490dbe9ab728a0ea11de7aee2e213be6ca30d7c94030da1c2efe1b5693f1a:922c64590222798bb761d5b6d8e72950