CVE-2012-4386: Apache Struts - Cross Site Request Forgery
- Cve: CVE-2012-4386
- Name: Apache Struts - Cross Site Request Forgery
- 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.
- Impact: Attackers can perform unauthorized actions on behalf of users, leading to potential data theft or modification.
- Remediation: Update to the latest version of Apache Struts or apply security patches addressing CSRF validation issues.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a malicious request
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
- Epss score: 0.03348
- Epss percentile: 0.88984
- Assignee: [email protected]
- Published at: 2012-09-05T23:55:02Z
- Age in days: 5193
- Modified at: 2026-06-16T23:44:55Z
- References total: 7
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-4386
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:struts | = 2.3.4, = 2.3.3, = 2.3.1.2, = 2.3.1.1, = 2.3.1, = 2.2.3.1, = 2.2.3, = 2.2.1.1, = 2.2.1, = 2.1.8.1, = 2.1.8, = 2.1.6, = 2.1.5, = 2.1.4, = 2.1.3, = 2.1.2, = 2.1.1, = 2.1.0, = 2.0.14, = 2.0.13, = 2.0.12, = 2.0.11.2, = 2.0.11.1, = 2.0.11, = 2.0.10, = 2.0.9, = 2.0.8, = 2.0.7, = 2.0.6, = 2.0.5, = 2.0.4, = 2.0.3, = 2.0.2, = 2.0.1, = 2.0.0 | no | nvd | /v1/products/apache/struts |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/struts | product | yes | /v1/repositories/apache/struts |
Index
- Repositories: 14
- Repositories high signal: 6
- Packages: 1
Exploitation
- Remote: yes
- Exposed hosts: 2127
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports