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.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.spring.io/spring-boot/docs/2.4.11-SNAPSHOT/actuator-api/htmlsingle/#threaddump
|
2021-08-21 04:42:49 +00:00
|
|
|
tags: springboot
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/threaddump"
|
|
|
|
- "{{BaseURL}}/actuator/threaddump"
|
2021-08-21 10:23:06 +00:00
|
|
|
|
2022-07-28 08:35:31 +00:00
|
|
|
stop-at-first-match: true
|
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: word
|
2022-07-28 08:35:31 +00:00
|
|
|
part: header
|
2021-08-21 04:42:49 +00:00
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
- "application/vnd.spring-boot.actuator"
|
|
|
|
- "application/vnd.spring-boot.actuator.v2+json"
|
|
|
|
- "application/vnd.spring-boot.actuator.v1+json"
|
|
|
|
condition: or
|
2022-07-28 08:35:31 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|