CVE-2024-38816

HIGH EXPLOITED NUCLEI

Org.springframework Spring-webmvc < 6.1.13 - Path Traversal

Title source: rule

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

Exploits (6)

nomisec WORKING POC 10 stars
by WULINPIN · infoleak
https://github.com/WULINPIN/CVE-2024-38816-PoC
nomisec STUB 3 stars
by startsw1th · poc
https://github.com/startsw1th/cve-2024-38816-demo
nomisec WRITEUP
by jaloon · poc
https://github.com/jaloon/spring-webmvc5
nomisec STUB
by wdragondragon · poc
https://github.com/wdragondragon/spring-framework
nomisec WORKING POC
by Anthony1078 · poc
https://github.com/Anthony1078/App-vulnerable

Nuclei Templates (1)

WebMvc.fn/WebFlux.fn - Path Traversal
HIGHby pussycat0x

Scores

CVSS v3 7.5
EPSS 0.9388
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

VulnCheck KEV 2024-10-22
CWE
CWE-22
Status published
Products (5)
org.springframework/spring-webflux 6.1.0 - 6.1.13Maven
org.springframework/spring-webmvc 6.1.0 - 6.1.13Maven
Spring/Spring 5.3.x - 5.3.40
Spring/Spring 6.0.x - 6.0.24
Spring/Spring 6.1.x - 6.1.13
Published Sep 13, 2024
Tracked Since Feb 18, 2026