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"
|
|
|
|
- "contexts"
|
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100de778671099362e7bbae4ff422611ac686cee397df849b5a0c387a101eefe9da0221009c18715f4ab99ccbebcba20781c366e03b634a4c9364a72d44c1b98fa3ba45b4:922c64590222798bb761d5b6d8e72950
|