CVE-2024-38816
Last modified
CVE-2024-38816 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 14.72% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-38816?
How severe is CVE-2024-38816?
How do I fix CVE-2024-38816?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-38810Missing Authorization When Using @AuthorizeReturnObject in S…7.5
- CVE-2024-38811VMware Fusion (13.x before 13.6) contains a code-execution v…7.8
- CVE-2024-38812The vCenter Server contains a heap-overflow vulnerability in…9.8
- CVE-2024-38813The vCenter Server contains a privilege escalation vulnerabi…9.8
- CVE-2024-38814An authenticated SQL injection vulnerability in VMware HCX w…8.8
- CVE-2024-38815VMware NSX contains a content spoofing vulnerability. An u…4.3
- CVE-2024-38817VMware NSX contains a command injection vulnerability. A m…6.7
- CVE-2024-38818VMware NSX contains a local privilege escalation vulnerabili…6.7
- CVE-2024-38819Applications serving static resources through the functional…7.5
- CVE-2024-3882A vulnerability was found in Tenda W30E 1.0.1.25(633). It ha…8.8
- CVE-2024-38820The fix for CVE-2022-22968 made disallowedFields patterns in…5.3
- CVE-2024-38821Spring WebFlux applications that have Spring Security author…9.1
Are you affected by CVE-2024-38816?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
