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
|
2021-08-06 15:32:50 +00:00
|
|
|
tags: springboot,exposure
|
2021-01-12 03:54:18 +00:00
|
|
|
|
|
|
|
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"
|
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
|