CWE
352
Advisory Published
Advisory Published
Updated

CVE-2012-4386: CSRF

First published: Wed Sep 05 2012(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
maven/org.apache.struts:struts2-core>=2.0.0<2.3.4.1
2.3.4.1
Apache Struts 2=2.0.0
Apache Struts 2=2.0.1
Apache Struts 2=2.0.2
Apache Struts 2=2.0.3
Apache Struts 2=2.0.4
Apache Struts 2=2.0.5
Apache Struts 2=2.0.6
Apache Struts 2=2.0.7
Apache Struts 2=2.0.8
Apache Struts 2=2.0.9
Apache Struts 2=2.0.10
Apache Struts 2=2.0.11
Apache Struts 2=2.0.11.1
Apache Struts 2=2.0.11.2
Apache Struts 2=2.0.12
Apache Struts 2=2.0.13
Apache Struts 2=2.0.14
Apache Struts 2=2.1.0
Apache Struts 2=2.1.1
Apache Struts 2=2.1.2
Apache Struts 2=2.1.3
Apache Struts 2=2.1.4
Apache Struts 2=2.1.5
Apache Struts 2=2.1.6
Apache Struts 2=2.1.8
Apache Struts 2=2.1.8.1
Apache Struts 2=2.2.1
Apache Struts 2=2.2.1.1
Apache Struts 2=2.2.3
Apache Struts 2=2.2.3.1
Apache Struts 2=2.3.1
Apache Struts 2=2.3.1.1
Apache Struts 2=2.3.1.2
Apache Struts 2=2.3.3
Apache Struts 2=2.3.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-4386?

    CVE-2012-4386 has a medium severity rating due to its potential for enabling cross-site request forgery (CSRF) attacks.

  • How do I fix CVE-2012-4386?

    To fix CVE-2012-4386, you should upgrade to Apache Struts version 2.3.4.1 or later.

  • Which versions of Apache Struts are affected by CVE-2012-4386?

    CVE-2012-4386 affects Apache Struts versions 2.0.0 through 2.3.4.

  • What types of attacks can CVE-2012-4386 allow?

    CVE-2012-4386 can allow remote attackers to perform cross-site request forgery (CSRF) attacks.

  • Is there a patch available for CVE-2012-4386?

    Yes, a patch is available in the form of an upgrade to Apache Struts version 2.3.4.1 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203