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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.struts:struts2-core to a version that resolves this vulnerability.

    Fixed in 2.5.33
  2. Upgrade

    Upgrade maven/org.apache.struts:struts2-core to a version that resolves this vulnerability.

    Fixed in 6.3.0.2
  3. Upgrade

    Upgrade Apache Struts to a version that resolves this vulnerability.

    Fixed in 2.5.33
  4. Upgrade

    Upgrade Apache Struts to a version that resolves this vulnerability.

    Fixed in 6.3.0.2

Event History

Dec 7, 2023
CVE Published
via MITRE·08:49 AM
Data Sourced
08:49 AM
DescriptionWeakness
Advisory Published
09:30 AM
Updated
08:12 PM
Description
Updated
09:15 PM
Description
Advisory Published
09:34 PM
Dec 9, 2023
Updated
04:21 AM
Affected Software
Dec 12, 2023
Data Sourced
05:01 PM
RemedySeverityAffected Software
Dec 13, 2023
News Published
12:41 AM
Exploit Published
via GitHub·09:31 AM
News Published
04:19 PM
Updated
05:15 PM
Affected Software
Dec 14, 2023
Updated
10:15 AM
Affected Software
Dec 18, 2023
Updated
08:35 PM
Affected Software
Dec 20, 2023
Updated
05:58 PM
Affected Software
Dec 21, 2023
News Published
02:13 PM
Jan 17, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Jul 13, 2024
News Published
via BleepingComputer·03:16 PM
Aug 2, 2024
Data Sourced
via MITRE·10:09 PM
DescriptionWeakness
Dec 12, 2024
News Published
via The Register·01:31 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
Feb 13, 2025
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·06:15 PM
RemedyDescriptionAffected Software
Data Sourced
via GitHub·07:28 PM
DescriptionSeverityWeaknessAffected Software
Updated
via GitHub·07:28 PM
Description
Mar 14, 2025
Updated
via MITRE·03:55 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

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