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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
GitHub 15 repositories · most starred shown
-
jakabakos/CVE-2023-50164-Apache-Struts-RCE ★ 84 · Dec 13, 2023
A critical security vulnerability, identified as CVE-2023-50164 (CVE: 9.8) was found in Apache Struts, allowing attackers to manipulate file upload parameters that can potentially lead to unauthorize…
-
dwisiswant0/cve-2023-50164-poc ★ 57 · Dec 17, 2023
Proof of Concept for Path Traversal in Apache Struts ("CVE-2023-50164")
-
snyk-labs/CVE-2023-50164-POC ★ 6 · Dec 30, 2023
-
Trackflaw/CVE-2023-50164-ApacheStruts2-Docker ★ 6 · Dec 20, 2023
Vulnerable docker container for Apache Struts 2 RCE CVE-2023-50164
-
bcdannyboy/CVE-2023-50164 ★ 4 · Dec 15, 2023
A scanning utility and PoC for CVE-2023-50164
-
Trackflaw/CVE-2024-10924-Wordpress-Docker ★ 3 · Nov 20, 2024
Vulnerable docker container for Really Simple Security (Free, Pro, and Pro Multisite) 9.0.0 – 9.1.1.1 – Authentication Bypass CVE-2023-50164
-
sunnyvale-it/CVE-2023-50164-PoC ★ 2 · Jan 12, 2024
CVE-2023-50164 (Apache Struts path traversal to RCE vulnerability) - Proof of Concept
-
aaronm-sysdig/cve-2023-50164 ★ 1 · Dec 22, 2023
-
Thirukrishnan/CVE-2023-50164-Apache-Struts-RCE ★ 1 · Dec 20, 2023
-
helsecert/cve-2023-50164 ★ 1 · Dec 18, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- WID-SEC-2026-2893 Oracle Hyperion: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 18, 2026
- WID-SEC-2024-0119 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 21, 2024
- WID-SEC-2023-3069 Apache Struts: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Sep 2, 2024
- WID-SEC-2024-0597 SAP Security Patch Day – März 2024 BSI CERT-Bund (WID) · Mar 11, 2024
- WID-SEC-2024-0122 Oracle Hyperion: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2024-0106 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
References
- https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj vendor-advisory mailing-list
- https://www.openwall.com/lists/oss-security/2023/12/07/1
- http://packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.html
- https://security.netapp.com/advisory/ntap-20231214-0010/