45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
id: springboot-threaddump
|
|
|
|
info:
|
|
name: Detect Springboot Thread Dump page
|
|
author: philippedelteil
|
|
severity: low
|
|
description: The threaddump endpoint provides a thread dump from the application's JVM.
|
|
reference:
|
|
- https://docs.spring.io/spring-boot/docs/2.4.11-SNAPSHOT/actuator-api/htmlsingle/#threaddump
|
|
metadata:
|
|
max-request: 2
|
|
tags: springboot,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/threaddump"
|
|
- "{{BaseURL}}/actuator/threaddump"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"threads":'
|
|
- '"threadName":'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/json"
|
|
- "application/vnd.spring-boot.actuator"
|
|
- "application/vnd.spring-boot.actuator.v2+json"
|
|
- "application/vnd.spring-boot.actuator.v1+json"
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022100e84bdcaef53d35d21dde2fc8032f98a613ca074b63c089c3fe3ac5de3c1300d602205b909c7185e88d5c150c6b6c0ef2a99b1ff8728d48d2555896571df27b4dd83e:922c64590222798bb761d5b6d8e72950
|