CVE-2012-0392 Apache Struts's CookieInterceptor component does not use the parameter-name whitelist
MediumCVSS 6.8
EPSS 97.5%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts/struts2-core(Maven) | < 2.2.3.1 | 2.2.3.1 |
| org.apache.struts.xwork/xwork-core(Maven) | < 2.2.3.1 | 2.2.3.1 |
| org.apache.struts/struts2-core(Maven) | = 2.0.11 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.0.11.1 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.0.11.2 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.0.12 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.0.14 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.0.5 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.0.6 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.0.8 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.0.9 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.1.2 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.1.6 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.1.8 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.1.8.1 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.2.1 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.2.1.1 | No fix listed |
| org.apache.struts/struts2-core(Maven) | = 2.2.3 | No fix listed |
| org.apache.struts.xwork/xwork-core(Maven) | = 2.2.1 | No fix listed |
| org.apache.struts.xwork/xwork-core(Maven) | = 2.2.1.1 | No fix listed |
| org.apache.struts.xwork/xwork-core(Maven) | = 2.2.3 | No fix listed |
| apache struts | >= 2.0.0, < 2.3.1 | 2.3.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- [dailydave] 20120106 Apache Struts exploit mailing-list third-party-advisory
- 20120105 SEC Consult SA-20120104-0 :: Multiple critical vulnerabilities in Apache Struts2 broken-link mailing-list
- struts.apache.org vendor-advisory
- struts.apache.org release-notes vendor-advisory
- 18329 exploit third-party-advisory vdb-entry
- github.com patch
- web.archive.org
- web.archive.org
- github.com
- github.com product
- 47393 third-party-advisory
- www.sec-consult.com broken-link