CVE-2012-4386

Summary

CVECVE-2012-4386
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-09-05 23:55:02 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-352 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Struts 2.0.0 All All All
Application Apache Struts 2.0.1 All All All
Application Apache Struts 2.0.10 All All All
Application Apache Struts 2.0.11 All All All
Application Apache Struts 2.0.11.1 All All All
Application Apache Struts 2.0.11.2 All All All
Application Apache Struts 2.0.12 All All All
Application Apache Struts 2.0.13 All All All
Application Apache Struts 2.0.14 All All All
Application Apache Struts 2.0.2 All All All
Application Apache Struts 2.0.3 All All All
Application Apache Struts 2.0.4 All All All
Application Apache Struts 2.0.5 All All All
Application Apache Struts 2.0.6 All All All
Application Apache Struts 2.0.7 All All All
Application Apache Struts 2.0.8 All All All
Application Apache Struts 2.0.9 All All All
Application Apache Struts 2.1.0 All All All
Application Apache Struts 2.1.1 All All All
Application Apache Struts 2.1.2 All All All
Application Apache Struts 2.1.3 All All All
Application Apache Struts 2.1.4 All All All
Application Apache Struts 2.1.5 All All All
Application Apache Struts 2.1.6 All All All
Application Apache Struts 2.1.8 All All All
Application Apache Struts 2.1.8.1 All All All
Application Apache Struts 2.2.1 All All All
Application Apache Struts 2.2.1.1 All All All
Application Apache Struts 2.2.3 All All All
Application Apache Struts 2.2.3.1 All All All
Application Apache Struts 2.3.1 All All All
Application Apache Struts 2.3.1.1 All All All
Application Apache Struts 2.3.1.2 All All All
Application Apache Struts 2.3.3 All All All
Application Apache Struts 2.3.4 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
oss-security - Re: CVE request: Apache Struts S2-010 and S2-011 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
oss-security - CVE request: Apache Struts S2-010 and S2-011 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
504 Gateway Time-out af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
[WW-3858] Decouple token names from their respective session attribute names - ASF JIRA af854a3a-2127-422b-91ae-364da2661108 issues.apache.org
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
S2-010 - Apache Struts 2 Wiki - Apache Software Foundation af854a3a-2127-422b-91ae-364da2661108 struts.apache.org Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report