HIGH8.1
GHSA-8c6j-ffmf-q6vm
Apache Struts RCE Vulnerability
Quick fix
GHSA-8c6j-ffmf-q6vm — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.3.20.3</version> for org.apache.struts:struts2-coreDetails
Apache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via method: prefix, related to chained expressions.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.struts:struts2-core
Introduced in:
2.3.19Fixed in: 2.3.20.3Fix
# pom.xml: bump <version>2.3.20.3</version> for org.apache.struts:struts2-coreMaven/org.apache.struts:struts2-core
Introduced in:
2.3.21Fixed in: 2.3.24.3Fix
# pom.xml: bump <version>2.3.24.3</version> for org.apache.struts:struts2-coreMaven/org.apache.struts:struts2-core
Introduced in:
2.3.25Fixed in: 2.3.28.1Fix
# pom.xml: bump <version>2.3.28.1</version> for org.apache.struts:struts2-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2016-3081[ADVISORY]
- https://github.com/apache/struts[PACKAGE]
- https://struts.apache.org/docs/s2-032.html[WEB]
- https://web.archive.org/web/20210123152457/http://www.securityfocus.com/bid/91787[WEB]
- https://web.archive.org/web/20210225192113/http://www.securityfocus.com/bid/87327[WEB]
- https://web.archive.org/web/20210226011418/http://www.securitytracker.com/id/1035665[WEB]
- https://www.exploit-db.com/exploits/39756[WEB]
- http://packetstormsecurity.com/files/136856/Apache-Struts-2.3.28-Dynamic-Method-Invocation-Remote-Code-Execution.html[WEB]
- http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en[WEB]
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html[WEB]
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html[WEB]
- http://www.rapid7.com/db/modules/exploit/linux/http/struts_dmi_exec[WEB]
- http://www.rapid7.com/db/modules/exploit/multi/http/struts_dmi_exec[WEB]