GitHub Advisory Database
GHSA-876p-4wgc-75rx
Apache Struts RCE Vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.struts:struts2-core | From 2.0.0 before 2.3.20.3 (fixed in 2.3.20.3) |
| Maven | org.apache.struts:struts2-core | From 2.3.24 before 2.3.24.3 (fixed in 2.3.24.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-0785
- https://github.com/apache/struts/commit/15857a69e7baf3675804495a5954cd0756ac8364
- https://github.com/apache/struts
- https://web.archive.org/web/20210123095715/http://www.securityfocus.com/bid/85066
- https://web.archive.org/web/20220118185853/http://www.securitytracker.com/id/1035271
- http://struts.apache.org/docs/s2-029.html