CWE
20
Advisory Published
Advisory Published
Updated

CVE-2016-0785: Input Validation

First published: Tue Apr 12 2016(Updated: )

Apache Struts 2.x before 2.3.20.3, 2.3.24.3, and 2.3.28 allows remote attackers to execute arbitrary code via a `%{}` sequence in a tag attribute, aka forced double OGNL evaluation.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
maven/org.apache.struts:struts2-core>=2.3.24<2.3.24.3
2.3.24.3
maven/org.apache.struts:struts2-core>=2.0.0<2.3.20.3
2.3.20.3
Apache Struts 2>=2.0.0<2.3.20.3
Apache Struts 2>=2.3.21<=2.3.24.1

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-2016-0785?

    CVE-2016-0785 is classified as critical due to its ability to allow remote code execution.

  • How do I fix CVE-2016-0785?

    To fix CVE-2016-0785, upgrade to Apache Struts version 2.3.20.3, 2.3.24.3, or 2.3.28 or later.

  • What versions are affected by CVE-2016-0785?

    CVE-2016-0785 affects all Apache Struts 2.x versions before 2.3.20.3, 2.3.24.3, and 2.3.28.

  • What type of vulnerability is CVE-2016-0785?

    CVE-2016-0785 is a remote code execution vulnerability due to improper handling of OGNL expressions.

  • Can CVE-2016-0785 be exploited remotely?

    Yes, CVE-2016-0785 can be exploited remotely by attackers through specially crafted requests.

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