27 lines
774 B
YAML
27 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: 4a0a00473045022100f3dcfc625937d01a06ca1cbc38d8f018ecf854dd651f97bb03ceaaa80d7de53f0220308fd52f24a0cd74ee06e27d34339d99c6eeb904d437fb9d8a391faab12f5f88:922c64590222798bb761d5b6d8e72950 |