CVE-2023-50164: Apache Struts: File upload component had a directory traversal vulnerability

Published Dec 7, 2023
·
Updated

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

6 affected componentsFixes available
maven/org.apache.struts:struts2-core>=2.0.0<2.5.33
2.5.33
maven/org.apache.struts:struts2-core>=6.0.0<6.3.0.2
6.3.0.2
Apache struts>=2.0.0<2.5.33
Apache struts>=6.0.0<6.3.0.2
IBM QRadar SIEM<=7.5 - 7.5.0 UP7
Apache Struts 2

Event History

Dec 7, 2023
CVE Published
via MITRE·08:49 AM
Data Sourced
via MITRE·08:49 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
09:30 AM
Dec 13, 2023
News Published
12:41 AM
News Published
04:19 PM
Dec 21, 2023
News Published
02:13 PM
Jul 13, 2024
News Published
via BleepingComputer·03:16 PM
Jul 14, 2024
News Published
via BleepingComputer·03:33 PM
Dec 12, 2024
News Published
via The Register·01:31 PM
News Published
via The Register·01:35 PM
Dec 17, 2024
News Published
via BleepingComputer·06:04 PM
News Published
via The Register·09:57 PM
Dec 19, 2024
News Published
via Dark Reading·05:46 PM
Dec 20, 2024
News Published
via Dark Reading·12:01 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203