2021-08-21 04:42:49 +00:00
|
|
|
id: springboot-threaddump
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect Springboot Thread Dump page
|
|
|
|
author: philippedelteil
|
|
|
|
severity: low
|
2022-01-25 19:38:53 +00:00
|
|
|
description: The threaddump endpoint provides a thread dump from the application's JVM.
|
2021-08-21 04:42:49 +00:00
|
|
|
reference: https://docs.spring.io/spring-boot/docs/2.4.11-SNAPSHOT/actuator-api/htmlsingle/#threaddump
|
|
|
|
tags: springboot
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/threaddump"
|
|
|
|
- "{{BaseURL}}/actuator/threaddump"
|
2021-08-21 10:23:06 +00:00
|
|
|
|
2021-08-21 04:42:49 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2021-08-21 10:23:06 +00:00
|
|
|
- '"threads":'
|
|
|
|
- '"threadName":'
|
2021-08-21 04:42:49 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
- "application/vnd.spring-boot.actuator"
|
|
|
|
- "application/vnd.spring-boot.actuator.v2+json"
|
|
|
|
- "application/vnd.spring-boot.actuator.v1+json"
|
|
|
|
condition: or
|
|
|
|
part: header
|