CVE-2023-50164: Apache Struts: File upload component had a directory traversal vulnerability
An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution. Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.2 or greater to fix this issue.
Other sources
FasterXML Woodstox could allow a remote attacker to obtain sensitive information, caused by improper handling of XML external entity (XXE) declarations. By using a specially-crafted XML content, a remote attacker could exploit this vulnerability to obtain sensitive information, and use this information to launch further attacks against the affected system.
— IBM
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-50164?
CVE-2023-50164 is a vulnerability in Apache Struts that allows an attacker to perform Remote Code Execution by manipulating file upload params.
How can this vulnerability be exploited?
This vulnerability can be exploited by manipulating file upload params to enable path traversal and uploading a malicious file.
What is the recommended action to fix CVE-2023-50164?
Users are recommended to upgrade to versions Struts 2.5.33 or Struts 6.3.0.1 or greater to fix this vulnerability.
Where can I find more information about CVE-2023-50164?
You can find more information about CVE-2023-50164 on the Apache mailing list, OSS security mailing list, and the NIST vulnerability database.
What is the Common Weakness Enumeration (CWE) associated with CVE-2023-50164?
The Common Weakness Enumeration (CWE) associated with CVE-2023-50164 is CWE-552: Files or Directories Accessible to External Parties.