2021-01-28 17:43:50 +00:00
|
|
|
id: springboot-env
|
2021-01-12 03:54:18 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect Springboot Env Actuator
|
|
|
|
author: that_juan_ & dwisiswant0 & wdahlenb
|
2021-05-14 13:25:06 +00:00
|
|
|
severity: low
|
2021-01-12 03:54:18 +00:00
|
|
|
description: Sensitive environment variables may not be masked
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/env"
|
|
|
|
- "{{BaseURL}}/actuator/env"
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2021-04-28 10:20:24 +00:00
|
|
|
- "applicationConfig"
|
2021-01-12 03:54:18 +00:00
|
|
|
- "local.server.port"
|
2021-04-28 10:20:24 +00:00
|
|
|
condition: and
|
2021-01-12 03:54:18 +00:00
|
|
|
- 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
|