All vulnerabilities

Servers and applications

CVE-2012-4386

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.

Severity
Medium 6.8
Published
5 Sept 2012
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
3.4% in the next 30 daysHigher than 88% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Cross-site request forgery (CWE-352)
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
Apache StrutsServers and applications · cpe:a:apache:struts
  • Version 2.3.4
  • Version 2.3.3
  • Version 2.3.1.2
  • Version 2.3.1.1
All 35 release lines
  • Version 2.0.0
  • Version 2.0.1
  • Version 2.0.2
  • Version 2.0.3
  • Version 2.0.4
  • Version 2.0.5
  • Version 2.0.6
  • Version 2.0.7
  • Version 2.0.8
  • Version 2.0.9
  • Version 2.0.10
  • Version 2.0.11
  • Version 2.0.11.1
  • Version 2.0.11.2
  • Version 2.0.12
  • Version 2.0.13
  • Version 2.0.14
  • Version 2.1.0
  • Version 2.1.1
  • Version 2.1.2
  • Version 2.1.3
  • Version 2.1.4
  • Version 2.1.5
  • Version 2.1.6
  • Version 2.1.8
  • Version 2.1.8.1
  • Version 2.2.1
  • Version 2.2.1.1
  • Version 2.2.3
  • Version 2.2.3.1
  • Version 2.3.1
  • Version 2.3.1.1
  • Version 2.3.1.2
  • Version 2.3.3
  • Version 2.3.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-4386
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-4386