CVE-2024-38816
HIGH EXPLOITED NUCLEISpring WebMvc.fn and WebFlux.fn - Path Traversal via Static Resource Handling
Title source: llmExploitation Summary
CVE-2024-38816 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 5 public exploits from researchers including WULINPIN, startsw1th, jaloon. A Nuclei detection template is also available.
AI-analyzed exploit summary This repository contains a functional proof-of-concept for CVE-2024-38816, demonstrating a path traversal vulnerability in Spring Framework 6.0.3. The exploit leverages symbolic links and %-encoded characters to traverse directories and access sensitive files like /etc/passwd.
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 (5)
This repository contains a functional proof-of-concept for CVE-2024-38816, demonstrating a path traversal vulnerability in Spring Framework 6.0.3. The exploit leverages symbolic links and %-encoded characters to traverse directories and access sensitive files like /etc/passwd.
The repository contains minimal Spring Boot configuration code but lacks any exploit logic or demonstration of CVE-2024-38816. It appears to be a placeholder or incomplete PoC.
This repository is a fork of Spring Web MVC 5.3.39 with fixes for CVE-2024-38816 and CVE-2024-38819. It provides patched source code and a Maven dependency for mitigation, but does not include exploit code or detailed vulnerability analysis.
The repository contains only GitHub workflow and action files, with no exploit code or technical details related to CVE-2024-38816. It appears to be a placeholder or incomplete repository.
This repository contains a vulnerable Spring Boot application demonstrating a directory traversal vulnerability (CVE-2024-38816) in the FileController. The application allows arbitrary file reads via a crafted filename parameter in the POST request, enabling path traversal attacks.
Nuclei Templates (1)
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N