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"
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: misconfig,tech,tomcat,apache
|
2023-11-08 03:41:16 +00:00
|
|
|
|
|
|
|
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
|
2024-01-26 08:31:11 +00:00
|
|
|
# digest: 4b0a00483046022100acbebae47fea74944e9c0ecc1ab66fca13dd7c4dbd8771d5601fed9db72a0cf0022100b63d7e443f534f20cbad1632af42b8c663ab034e41b5efeb67ff784e3ea3802f:922c64590222798bb761d5b6d8e72950
|