2023-11-08 03:41:16 +00:00
|
|
|
id: tomcat-stacktraces
|
2023-11-11 17:33:54 +00:00
|
|
|
|
2023-11-08 03:41:16 +00:00
|
|
|
info:
|
|
|
|
name: Tomcat Stack Traces Enabled
|
2023-11-11 17:33:54 +00:00
|
|
|
author: lucky0x0d
|
2023-11-08 03:41:16 +00:00
|
|
|
severity: info
|
|
|
|
description: |
|
2023-11-11 06:37:35 +00:00
|
|
|
Examine whether Tomcat stack traces are turned on by employing a designated problematic pattern.
|
2023-11-08 03:41:16 +00:00
|
|
|
metadata:
|
2023-11-11 06:37:35 +00:00
|
|
|
verified: true
|
2023-11-08 03:41:16 +00:00
|
|
|
max-request: 1
|
2023-11-11 17:50:28 +00:00
|
|
|
shodan-query: title:"Apache Tomcat"
|
2023-11-08 03:41:16 +00:00
|
|
|
tags: tech,tomcat,apache
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/?f=\['
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2023-11-11 06:37:35 +00:00
|
|
|
- 'contains(body, "tomcat")'
|
|
|
|
- 'contains(body, "org.apache")'
|
2023-11-08 03:41:16 +00:00
|
|
|
- status_code == 400
|
|
|
|
condition: and
|
2023-11-11 17:43:27 +00:00
|
|
|
# digest: 4a0a00473045022100f3dcfc625937d01a06ca1cbc38d8f018ecf854dd651f97bb03ceaaa80d7de53f0220308fd52f24a0cd74ee06e27d34339d99c6eeb904d437fb9d8a391faab12f5f88:922c64590222798bb761d5b6d8e72950
|