CVE-2012-4386

struts2: CSRF protection bypass

Published Sep 5, 2012 CVSS 2.0 · 6.8 Medium EPSS 3.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-2048 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.
Github GHSA Github GHSA GHSA-2rvh-q539-q33v Cross-Site Request Forgery in Apache Struts
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 8:35 PM
Reserved
Aug 21, 2012, 12:00 AM
Status
Modified
Published
Sep 5, 2012, 11:55 PM
Modified
Jun 16, 2026, 11:44 PM
Severity
Moderate
Public date
Aug 11, 2012, 12:00 AM