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
History

Fri, 13 Sep 2024 23:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22
References
Metrics threat_severity

None

threat_severity

Important


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

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon 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

cve-icon Vulnrichment

Updated: 2024-09-13T13:44:40.994Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-09-13T06:15:11.190

Modified: 2024-09-13T14:06:04.777

Link: CVE-2024-38816

cve-icon Redhat

Severity : Important

Publid Date: 2024-09-13T06:15:11Z

Links: CVE-2024-38816 - Bugzilla