CRITICAL9.8
GHSA-2j39-qcjm-428w
Apache Struts vulnerable to path traversal
Quick fix
GHSA-2j39-qcjm-428w — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.5.33</version> for org.apache.struts:struts2-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.struts:struts2-core
Introduced in:
2.0.0Fixed in: 2.5.33Fix
# pom.xml: bump <version>2.5.33</version> for org.apache.struts:struts2-coreMaven/org.apache.struts:struts2-core
Introduced in:
6.0.0Fixed in: 6.3.0.2Fix
# pom.xml: bump <version>6.3.0.2</version> for org.apache.struts:struts2-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2023-50164[ADVISORY]
- https://github.com/apache/struts/commit/162e29fee9136f4bfd9b2376da2cbf590f9ea163[WEB]
- https://github.com/apache/struts/commit/d8c69691ef1d15e76a5f4fcf33039316da2340b6[WEB]
- https://cwiki.apache.org/confluence/display/WW/S2-066[WEB]
- https://github.com/apache/struts[PACKAGE]
- https://lists.apache.org/thread/yh09b3fkf6vz5d6jdgrlvmg60lfwtqhj[WEB]
- https://security.netapp.com/advisory/ntap-20231214-0010[WEB]
- https://www.openwall.com/lists/oss-security/2023/12/07/1[WEB]
- http://packetstormsecurity.com/files/176157/Struts-S2-066-File-Upload-Remote-Code-Execution.html[WEB]
- http://www.openwall.com/lists/oss-security/2023/12/07/1[WEB]