ID:10637 - Exploit for Path traversal in Pivotal Spring Framework - CVE-2024-38816

 
Main Vulnerability Database Exploits ID:10637 - Exploit for Path traversal in Pivotal Spring Framework - CVE-2024-38816

ID:10637 - Exploit for Path traversal in Pivotal Spring Framework - CVE-2024-38816

Published: October 22, 2024


Vulnerability identifier: #VU97224
Vulnerability risk: Medium
CVE-ID: CVE-2024-38816
CWE-ID: CWE-22
Exploitation vector: Remote access
Vulnerable software:
Pivotal Spring Framework

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Specifically, an application is vulnerable when both of the following are true:

  • the web application uses RouterFunctions</code> to serve static resources</li><li>resource handling is explicitly configured with a <code>FileSystemResource location


Remediation

Install update from vendor's website.