CVE-2016-3087
struts: Passing malicious expression can cause RCE when Dynamic Method Invocation is enabled and REST plugin is used
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
Description
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 vectors related to an ! (exclamation mark) operator to the REST Plugin.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.struts:struts2-core | 2.3.20.3, 2.3.24.3, 2.3.28.1 |
References
- http://struts.apache.org/docs/s2-033.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21987854
- http://www.securityfocus.com/bid/90960
- http://www.securitytracker.com/id/1036017
- https://access.redhat.com/security/cve/CVE-2016-3087
- https://github.com/apache/struts
- https://github.com/apache/struts/commit/6bd694b7980494c12d49ca1bf39f12aec3e03e2f
- https://nvd.nist.gov/vuln/detail/CVE-2016-3087
All 14 references
- https://struts.apache.org/docs/s2-033.html
- https://web.archive.org/web/20160616082237/http://www.securitytracker.com/id/1036017
- https://web.archive.org/web/20160728170709/http://www.securityfocus.com/bid/90960
- https://www.cve.org/CVERecord?id=CVE-2016-3087
- https://www.exploit-db.com/exploits/39919
- https://www.exploit-db.com/exploits/39919/