Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.
Specifically, an application is vulnerable when both of the following are true:
* the web application uses RouterFunctions to serve static resources
* resource handling is explicitly configured with a FileSystemResource location
However, malicious requests are blocked and rejected when any of the following is true:
* the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html is in use
* the application runs on Tomcat or Jetty
Metrics
Affected Vendors & Products
References
History
Tue, 15 Oct 2024 02:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Redhat
Redhat apache Camel Spring Boot |
|
CPEs | cpe:/a:redhat:apache_camel_spring_boot:4.4.3 | |
Vendors & Products |
Redhat
Redhat apache Camel Spring Boot |
Fri, 13 Sep 2024 23:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-22 | |
References |
| |
Metrics |
threat_severity
|
threat_severity
|
Fri, 13 Sep 2024 14:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Spring By Vmware Tanzu
Spring By Vmware Tanzu spring Framework |
|
CPEs | cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:5.3.0:*:*:*:*:*:*:* cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:6.0.0:*:*:*:*:*:*:* cpe:2.3:a:spring_by_vmware_tanzu:spring_framework:6.1.0:*:*:*:*:*:*:* |
|
Vendors & Products |
Spring By Vmware Tanzu
Spring By Vmware Tanzu spring Framework |
|
Metrics |
ssvc
|
Fri, 13 Sep 2024 06:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. Specifically, an application is vulnerable when both of the following are true: * the web application uses RouterFunctions to serve static resources * resource handling is explicitly configured with a FileSystemResource location However, malicious requests are blocked and rejected when any of the following is true: * the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html is in use * the application runs on Tomcat or Jetty | |
Title | CVE-2024-38816: Path traversal vulnerability in functional web frameworks | |
References |
| |
Metrics |
cvssV3_1
|
MITRE
Status: PUBLISHED
Assigner: vmware
Published: 2024-09-13T06:10:06.598Z
Updated: 2024-09-13T13:45:05.327Z
Reserved: 2024-06-19T22:32:06.582Z
Link: CVE-2024-38816
Vulnrichment
Updated: 2024-09-13T13:44:40.994Z
NVD
Status : Awaiting Analysis
Published: 2024-09-13T06:15:11.190
Modified: 2024-09-13T14:06:04.777
Link: CVE-2024-38816
Redhat