2021-01-28 17:43:50 +00:00
|
|
|
id: springboot-configprops
|
2021-01-12 03:54:18 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect Springboot Configprops Actuator
|
2021-06-09 12:20:56 +00:00
|
|
|
author: that_juan_,dwisiswant0,wdahlenb
|
2021-01-28 15:56:38 +00:00
|
|
|
severity: low
|
2021-01-12 03:54:18 +00:00
|
|
|
description: Sensitive environment variables may not be masked
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: springboot,exposure,misconfig
|
2021-01-12 03:54:18 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-01-12 03:54:18 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/configprops"
|
|
|
|
- "{{BaseURL}}/actuator/configprops"
|
2022-07-28 08:22:31 +00:00
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-01-12 03:54:18 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "org.springframework.boot.actuate"
|
|
|
|
- "beans"
|
2024-07-05 07:27:01 +00:00
|
|
|
- "context"
|
2021-01-12 03:54:18 +00:00
|
|
|
condition: and
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-01-12 03:54:18 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-01-12 03:54:18 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
- "application/vnd.spring-boot.actuator"
|
2021-01-28 15:56:38 +00:00
|
|
|
- "application/vnd.spring-boot.actuator.v1+json"
|
2021-01-12 03:54:18 +00:00
|
|
|
condition: or
|
|
|
|
part: header
|
2024-07-08 07:18:37 +00:00
|
|
|
# digest: 4a0a0047304502210097a39ca6ef994a3f46a6b8bf2886df951659e8020c10d8cf820da33acd4581ba022078fdb6bc8f3ab878aaa7b43e0b084cad9eeef4f344cca83290d131a2d3022df6:922c64590222798bb761d5b6d8e72950
|