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-12 10:53:59 +00:00
|
|
|
|
|
|
|
# digest: 490a004630440220572e2b9041be621d66d3b022211cce1f42722ddb282c272ac5473ada2a5d725e02200538acfc5a3bce45b1698ca25c662be74514ea7138deb20e34ad21d908a4ce89:922c64590222798bb761d5b6d8e72950
|