Path traversal in Apache Struts - CVE-2023-50164

 

Path traversal in Apache Struts - CVE-2023-50164

Published: December 7, 2023 / Updated: March 18, 2025


Vulnerability identifier: #VU83960
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:A/U:Amber
CVE-ID: CVE-2023-50164
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Apache Foundation
Affected software:
Apache Struts

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to input validation error when processing directory traversal sequences in path names. A remote attacker can upload a malicious file to the server and execute it.


How to mitigate CVE-2023-50164

Install update from vendor's website.

Sources