29 lines
774 B
YAML
29 lines
774 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: 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: 490a004630440220572e2b9041be621d66d3b022211cce1f42722ddb282c272ac5473ada2a5d725e02200538acfc5a3bce45b1698ca25c662be74514ea7138deb20e34ad21d908a4ce89:922c64590222798bb761d5b6d8e72950
|