2021-08-04 16:47:33 +00:00
|
|
|
id: springboot-metrics
|
2021-08-06 15:18:32 +00:00
|
|
|
|
2021-08-04 16:38:47 +00:00
|
|
|
info:
|
2021-08-04 16:47:33 +00:00
|
|
|
name: Detect Springboot metrics Actuator
|
2021-08-04 16:38:47 +00:00
|
|
|
author: pussycat0x
|
|
|
|
severity: low
|
|
|
|
description: Additional routes may be displayed
|
2021-08-06 15:18:32 +00:00
|
|
|
tags: springboot,exposure
|
|
|
|
|
2021-08-04 16:38:47 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/metrics"
|
|
|
|
- "{{BaseURL}}/actuator/metrics"
|
2021-08-06 15:18:32 +00:00
|
|
|
|
2021-08-04 16:38:47 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "mem"
|
|
|
|
- "mem.free"
|
|
|
|
- "processors"
|
|
|
|
- "instance.uptime"
|
|
|
|
- "systemload.average"
|
|
|
|
- "nonheap.init"
|
|
|
|
- "heap.committed"
|
|
|
|
condition: and
|
2021-08-06 15:18:32 +00:00
|
|
|
|
2021-08-04 16:38:47 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|