Exploited
CWE
20 94
Advisory Published
Advisory Published
Updated

CVE-2012-0391: Apache Struts 2 Improper Input Validation Vulnerability

First published: Sun Jan 08 2012(Updated: )

The `ExceptionDelegator` component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
maven/org.apache.struts.xwork:xwork-core<2.2.3.1
2.2.3.1
maven/org.apache.struts:struts2-core<2.2.3.1
2.2.3.1
Apache Struts 2>=2.0.0<2.2.3.1
Apache Struts 2<2.2.3.1
Apache Struts 2 Showcase

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-0391?

    CVE-2012-0391 is classified as a critical vulnerability in Apache Struts.

  • How do I fix CVE-2012-0391?

    To fix CVE-2012-0391, update Apache Struts to version 2.2.3.1 or later.

  • What types of attacks does CVE-2012-0391 enable?

    CVE-2012-0391 allows remote attackers to execute arbitrary Java code via crafted parameters.

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

    Apache Struts versions prior to 2.2.3.1 are affected by CVE-2012-0391.

  • What component of Apache Struts is vulnerable in CVE-2012-0391?

    The vulnerable component in CVE-2012-0391 is the ExceptionDelegator component.

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