Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.3.2, 4.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
The following versions of Spring Cloud Gateway Server Webflux may be vulnerable to the ability to expose environment variables and system properties to attackers. An application should be considered vulnerable when all the following are true: • The application is using Spring Cloud Gateway Server Webflux (Spring Cloud Gateway Server WebMVC is not vulnerable). • An admin or untrusted third party using Spring Expression Language (SpEL) to access environment variables or system properties via routes. • An untrusted third party could create a route that uses SpEL to access environment variables or system properties if: * The Spring Cloud Gateway Server Webflux actuator web endpoint is enabled via management.endpoints.web.exposure.include=gateway and management.endpoint.gateway.enabled=trueor management.endpoint.gateway.access=unrestricte. • The actuator endpoints are available to attackers. • The actuator endpoints are unsecured.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- VMware Spring Cloud Gateway Server Webflux
3.1.x, 4.0.x, 4.1.x, 4.2.x, 4.3.x
- org.springframework.cloud:spring-cloud-gateway-serverMaven
From 4.3.0 · fixed in 4.3.2
- org.springframework.cloud:spring-cloud-gateway-serverMaven
From 4.2.0 · fixed in 4.2.6
- org.springframework.cloud:spring-cloud-gateway-serverMaven
From 4.0.0 · through 4.1.9
- org.springframework.cloud:spring-cloud-gateway-serverMaven
through 3.1.10