CVE-2012-4386
MEDIUM 6.8CVSS 2.0Cross-Site Request Forgery in Apache Struts
The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.
- Published
- 5 Sep 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- GHSA-2rvh-q539-q33v
- Sources
- NVDJSONOSV GHSA-2rvh-q539-q33vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.2:*:*:*:*:*:*:* |
= 2.0.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.3:*:*:*:*:*:*:* |
= 2.0.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.4:*:*:*:*:*:*:* |
= 2.0.4 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.5:*:*:*:*:*:*:* |
= 2.0.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.6:*:*:*:*:*:*:* |
= 2.0.6 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.7:*:*:*:*:*:*:* |
= 2.0.7 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.8:*:*:*:*:*:*:* |
= 2.0.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.9:*:*:*:*:*:*:* |
= 2.0.9 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.10:*:*:*:*:*:*:* |
= 2.0.10 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11:*:*:*:*:*:*:* |
= 2.0.11 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11.1:*:*:*:*:*:*:* |
= 2.0.11.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11.2:*:*:*:*:*:*:* |
= 2.0.11.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.12:*:*:*:*:*:*:* |
= 2.0.12 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.13:*:*:*:*:*:*:* |
= 2.0.13 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.14:*:*:*:*:*:*:* |
= 2.0.14 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.1:*:*:*:*:*:*:* |
= 2.1.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.2:*:*:*:*:*:*:* |
= 2.1.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.3:*:*:*:*:*:*:* |
= 2.1.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.4:*:*:*:*:*:*:* |
= 2.1.4 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.5:*:*:*:*:*:*:* |
= 2.1.5 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.6:*:*:*:*:*:*:* |
= 2.1.6 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.8:*:*:*:*:*:*:* |
= 2.1.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1.8.1:*:*:*:*:*:*:* |
= 2.1.8.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.1:*:*:*:*:*:*:* |
= 2.2.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.1.1:*:*:*:*:*:*:* |
= 2.2.1.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.3:*:*:*:*:*:*:* |
= 2.2.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.2.3.1:*:*:*:*:*:*:* |
= 2.2.3.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.1:*:*:*:*:*:*:* |
= 2.3.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.1.1:*:*:*:*:*:*:* |
= 2.3.1.1 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.1.2:*:*:*:*:*:*:* |
= 2.3.1.2 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.3:*:*:*:*:*:*:* |
= 2.3.3 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.3.4:*:*:*:*:*:*:* |
= 2.3.4 | |
| OSV | Maven | org.apache.struts:struts2-core | >= 2.0.0, < 2.3.4.1 | 2.3.4.1 |
References
- http://secunia.com/advisories/50420 · Vendor Advisory
- http://struts.apache.org/2.x/docs/s2-010.html · Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2012/09/01/4 · WEB
- http://www.openwall.com/lists/oss-security/2012/09/01/5 · WEB
- http://www.securityfocus.com/bid/55346
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78182 · WEB
- https://issues.apache.org/jira/browse/WW-3858 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-4386 · ADVISORY
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 5 Sep 2012)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)