41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
id: springboot-configprops
|
|
|
|
info:
|
|
name: Detect Springboot Configprops Actuator
|
|
author: that_juan_,dwisiswant0,wdahlenb
|
|
severity: low
|
|
description: Sensitive environment variables may not be masked
|
|
metadata:
|
|
max-request: 2
|
|
tags: springboot,exposure,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/configprops"
|
|
- "{{BaseURL}}/actuator/configprops"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "org.springframework.boot.actuate"
|
|
- "beans"
|
|
- "context"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
words:
|
|
- "application/json"
|
|
- "application/vnd.spring-boot.actuator"
|
|
- "application/vnd.spring-boot.actuator.v1+json"
|
|
condition: or
|
|
part: header
|
|
# digest: 4a0a0047304502210097a39ca6ef994a3f46a6b8bf2886df951659e8020c10d8cf820da33acd4581ba022078fdb6bc8f3ab878aaa7b43e0b084cad9eeef4f344cca83290d131a2d3022df6:922c64590222798bb761d5b6d8e72950 |