cve/2024/CVE-2024-38816.md
2025-09-29 16:08:36 +00:00

40 lines
2.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### [CVE-2024-38816](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-38816)
![](https://img.shields.io/static/v1?label=Product&message=Spring&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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 locationHowever, 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
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/12442RF/POC
- https://github.com/Anthony1078/App-vulnerable
- https://github.com/CllmsyK/YYBaby-Spring_Scan
- https://github.com/DMW11525708/wiki
- https://github.com/Lern0n/Lernon-POC
- https://github.com/Linxloop/fork_POC
- https://github.com/Threekiii/CVE
- https://github.com/WULINPIN/CVE-2024-38816-PoC
- https://github.com/adysec/POC
- https://github.com/cisp-pte/POC-20241008-sec-fork
- https://github.com/diegopacheco/Smith
- https://github.com/eeeeeeeeee-code/POC
- https://github.com/greenberglinken/2023hvv_1
- https://github.com/iemotion/POC
- https://github.com/jaloon/spring-webmvc5
- https://github.com/laoa1573/wy876
- https://github.com/oLy0/Vulnerability
- https://github.com/plbplbp/loudong001
- https://github.com/plzheheplztrying/cve_monitor
- https://github.com/startsw1th/cve-2024-38816-demo
- https://github.com/swarathesh/AI-Experts
- https://github.com/tanjiti/sec_profile
- https://github.com/wdragondragon/spring-framework