CVE-2012-4386
At a glance
- Source
- NVD
- EPSS
- EPSS 3.36 % · percentile 89 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-352 — Cross-Site Request Forgery
References
- https://issues.apache.org/jira/browse/WW-3858
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78182
- http://www.openwall.com/lists/oss-security/2012/09/01/5
- http://secunia.com/advisories/50420
- http://www.securityfocus.com/bid/55346
- http://struts.apache.org/2.x/docs/s2-010.html
- http://www.openwall.com/lists/oss-security/2012/09/01/4
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-2rvh-q539-q33v — Cross-Site Request Forgery in Apache Struts
European references
- ENISA EUVD · EUVD-2022-2048
- GCVE · GCVE-0-2012-4386
Affected configurations (NVD CPE)
cpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.2:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.3:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.4:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.5:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.6:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.7:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.8:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.9:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.10:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.11:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.11.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.11.2:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.12:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.13:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.0.14:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.0:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.2:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.3:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.4:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.5:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.6:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.8:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.1.8.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.2.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.2.1.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.2.3:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.2.3.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.3.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.3.1.1:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.3.1.2:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.3.3:*:*:*:*:*:*:*cpe:2.3:a:apache:struts:2.3.4:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |