Path traversal in Apache Struts - CVE-2024-53677

 

Path traversal in Apache Struts - CVE-2024-53677

Published: December 11, 2024 / Updated: February 25, 2025


Vulnerability identifier: #VU101653
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2024-53677
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Apache Foundation
Affected software:
Apache Struts

Detailed 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 filenames during file upload within Action File Upload Interceptor. A remote attacker can upload a specially crafted file to the server into an arbitrary directory.

Successful exploitation may allow an attacker to upload an arbitrary file and execute it on the server, leading to a full system compromise.



How to mitigate CVE-2024-53677

Install update from vendor's website.

Sources