nuclei-templates/misconfiguration/springboot/springboot-env.yaml

45 lines
1005 B
YAML
Raw Normal View History

2021-01-28 17:43:50 +00:00
id: springboot-env
info:
name: Detect Springboot Env Actuator
2021-08-20 07:12:53 +00:00
author: that_juan_,dwisiswant0,wdahlenb,philippedelteil
2021-05-14 13:25:06 +00:00
severity: low
description: Sensitive environment variables may not be masked
2021-08-06 15:32:50 +00:00
tags: springboot,exposure
requests:
- method: GET
path:
- "{{BaseURL}}/env"
- "{{BaseURL}}/actuator/env"
2022-07-28 08:35:52 +00:00
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
2021-04-28 10:20:24 +00:00
- "applicationConfig"
- "activeProfiles"
condition: or
2021-05-16 09:49:19 +00:00
- type: word
part: body
words:
- "server.port"
- "local.server.port"
2021-05-16 09:49:19 +00:00
condition: or
- type: word
2022-07-28 08:35:52 +00:00
part: header
words:
- "application/json"
- "application/vnd.spring-boot.actuator"
2021-01-28 15:56:38 +00:00
- "application/vnd.spring-boot.actuator.v1+json"
2021-08-20 07:12:53 +00:00
- "application/vnd.spring-boot.actuator.v2+json"
condition: or
2022-07-28 08:35:52 +00:00
- type: status
status:
- 200