HIGH8.8
GHSA-876p-4wgc-75rx
Apache Struts RCE Vulnerability
Quick fix
GHSA-876p-4wgc-75rx — 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.x before 2.3.20.3, 2.3.24.3, and 2.3.28 allows remote attackers to execute arbitrary code via a `%{}` sequence in a tag attribute, aka forced double OGNL evaluation.
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.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.24Fixed in: 2.3.24.3Fix
# pom.xml: bump <version>2.3.24.3</version> for org.apache.struts:struts2-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2016-0785[ADVISORY]
- https://github.com/apache/struts/commit/15857a69e7baf3675804495a5954cd0756ac8364[WEB]
- https://github.com/apache/struts[PACKAGE]
- https://web.archive.org/web/20210123095715/http://www.securityfocus.com/bid/85066[WEB]
- https://web.archive.org/web/20220118185853/http://www.securitytracker.com/id/1035271[WEB]
- http://struts.apache.org/docs/s2-029.html[WEB]