Spring Framework Improper Path Limitation in XsltView
Spring Framework
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-webmvc Maven |
|
|
Spring Framework
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-webmvc Maven |
|
|
Use of XsltView in a Spring MVC application can result in SSRF and RCE attack if the application has an "/**" mapping that results in view rendering, and where the view name is not explicitly specified. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlier
From the CVE record · vmware
Spring MVC applications using XsltView are vulnerable when they have an "/**" mapping that renders a view without an explicitly specified view name. Under those conditions, an attacker can cause server-side request forgery (SSRF) and remote code execution (RCE). The input does not specify authentication or user-interaction requirements.
Check applications using Spring Framework 5.2.25.RELEASE or earlier, 5.3.0–5.3.49, 6.0.0–6.0.30, 6.1.0–6.1.28, 6.2.0–6.2.19, or 7.0.0–7.0.8.