springboot-env: Springboot Env Actuator - Detect
- Template: springboot-env
- Name: Springboot Env Actuator - Detect
- Description: Sensitive environment variables may not be masked
- Severity: low
- Authors: that_juan_, dwisiswant0, wdahlenb, philippedelteil, stupidfish
- Tags: misconfig, springboot, env, exposure, vuln
- Max requests: 4
- Directory: http/misconfiguration
- Path: http/misconfiguration/springboot/springboot-env.yaml
- Digest: 4a0a00473045022056e57840cc56ae6782bc4fe95e62a3eb07b341bfc1d8a7b34d903a1bdef414f4022100d1f375e4dca5395b85369e3e4737ed19d4b80ddbbcea8be8b80e7b2373e85ba0
- Created at: 2021-01-28T18:37:17Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 2125
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/springboot/springboot-env.yaml
- Checked, none or zero: references, cves, verified, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 4
Labels
- Name: Spring Boot Actuator - Sensitive Information Exposure
- Impact: Attackers can retrieve sensitive environment variables, potentially leading to further compromise of the application or infrastructure.
- Remediation: Update to the latest version of Spring Boot and ensure sensitive properties are properly masked or the Actuator endpoint is secured.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: springboot-env
info:
name: Springboot Env Actuator - Detect
author: that_juan_,dwisiswant0,wdahlenb,philippedelteil,stupidfish
severity: low
description: Sensitive environment variables may not be masked
metadata:
max-request: 4
tags: misconfig,springboot,env,exposure,vuln
http:
- method: GET
path:
- "{{BaseURL}}/env"
- "{{BaseURL}}/actuator/env"
- "{{BaseURL}}/actuator;/env;"
- "{{BaseURL}}/message-api/actuator/env"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "applicationConfig"
- "activeProfiles"
condition: or
- type: word
part: body
words:
- "server.port"
- "local.server.port"
condition: or
- type: word
part: header
words:
- "application/json"
- "application/vnd.spring-boot.actuator"
- "application/vnd.spring-boot.actuator.v1+json"
- "application/vnd.spring-boot.actuator.v2+json"
- "application/vnd.spring-boot.actuator.v3+json"
condition: or
- type: status
status:
- 200
digest: 4a0a00473045022056e57840cc56ae6782bc4fe95e62a3eb07b341bfc1d8a7b34d903a1bdef414f4022100d1f375e4dca5395b85369e3e4737ed19d4b80ddbbcea8be8b80e7b2373e85ba0:922c64590222798bb761d5b6d8e72950
```