33 lines
801 B
YAML
33 lines
801 B
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
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/configprops"
|
||
|
- "{{BaseURL}}/actuator/configprops"
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- "org.springframework.boot.actuate"
|
||
|
- "beans"
|
||
|
- "contexts"
|
||
|
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
|