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
|
|
|
|
shodan-query: title:"Apache Tomcat"
|
2023-11-08 03:41:16 +00:00
|
|
|
max-request: 1
|
|
|
|
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
|