GitHub Advisory Database
GHSA-737w-mh58-cxjp
Arbitrary code execution in Apache Struts
Details
Apache Struts 2 before 2.3.14.2 allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the (1) URL or (2) A tag.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.struts:struts2-core | From 2.0.0 before 2.3.14.2 (fixed in 2.3.14.2) |
| Maven | org.apache.struts.xwork:xwork-core | From 2.0.0 before 2.3.14.2 (fixed in 2.3.14.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1966
- https://github.com/apache/struts/commit/7e6f641ebb142663cbd1653dc49bed725edf7f56
- https://bugzilla.redhat.com/show_bug.cgi?id=967656
- https://cwiki.apache.org/confluence/display/WW/S2-013
- https://github.com/apache/struts
- http://struts.apache.org/development/2.x/docs/s2-013.html