Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2023-50164 EUVD-2023-3074GHSA-2j39-qcjm-428w

Apache Struts: File upload component had a directory traversal vulnerability

Published Dec 7, 2023 · Updated Mar 14, 2025 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Struts 2.0.0 – ≤ 2.5.32, 6.0.0 – ≤ 6.3.0.1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 15 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.struts:struts2-core >= 2.0.0, < 2.5.33 2.5.33 GHSA-2j39-qcjm-428w
Maven org.apache.struts:struts2-core >= 6.0.0, < 6.3.0.2 6.3.0.2 GHSA-2j39-qcjm-428w

Advisories 6

References