27 lines
786 B
YAML
27 lines
786 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.
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
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: 4b0a00483046022100acbebae47fea74944e9c0ecc1ab66fca13dd7c4dbd8771d5601fed9db72a0cf0022100b63d7e443f534f20cbad1632af42b8c663ab034e41b5efeb67ff784e3ea3802f:922c64590222798bb761d5b6d8e72950 |