CVE-2013-2251: Apache Struts Improper Input Validation Vulnerability

Published Jul 18, 2013
·
Updated

Apache Struts 2.0.0 through 2.3.15 allows remote attackers to execute arbitrary OGNL expressions via a parameter with a crafted (1) action:, (2) redirect:, or (3) redirectAction: prefix.

Other sources

Apache Struts allows remote attackers to execute arbitrary Object-Graph Navigation Language (OGNL) expressions.

CISA

The Struts 2 DefaultActionMapper supports a method for short-circuit navigation state changes by prefixing parameters with "action:" or "redirect:", followed by a desired navigational target expression. This mechanism was intended to help with attaching navigational information to buttons within forms.

In Struts 2 before 2.3.15.1 the information following "action:", "redirect:" or "redirectAction:" is not properly sanitized. Since said information will be evaluated as OGNL expression against the value stack, this introduces the possibility to inject server side code.

Affected Software

63 affected componentsFixes available
maven/org.apache.struts:struts2-core<2.3.15.1
2.3.15.1
Apache Struts
Apache Struts=2.0.0
Apache Struts=2.0.1
Apache Struts=2.0.2
Apache Struts=2.0.3
Apache Struts=2.0.4
Apache Struts=2.0.5
Apache Struts=2.0.6
Apache Struts=2.0.7
Apache Struts=2.0.8
Apache Struts=2.0.9
Apache Struts=2.0.10
Apache Struts=2.0.11
Apache Struts=2.0.11.1
Apache Struts=2.0.11.2
Apache Struts=2.0.12
Apache Struts=2.0.13
Apache Struts=2.0.14
Apache Struts=2.1.0
Apache Struts=2.1.1
Apache Struts=2.1.2
Apache Struts=2.1.3
Apache Struts=2.1.4
Apache Struts=2.1.5
Apache Struts=2.1.6
Apache Struts=2.1.8
Apache Struts=2.1.8.1
Apache Struts=2.2.1
Apache Struts=2.2.1.1
Apache Struts=2.2.3
Apache Struts=2.2.3.1
Apache Struts=2.3.1
Apache Struts=2.3.1.1
Apache Struts=2.3.1.2
Apache Struts=2.3.3
Apache Struts=2.3.4
Apache Struts=2.3.4.1
Apache Struts=2.3.7
Apache Struts=2.3.8
Apache Struts=2.3.12
Apache Struts=2.3.14
Apache Struts=2.3.14.1
Apache Struts=2.3.14.2
Apache Struts=2.3.14.3
Apache Struts=2.3.15
Apache Archiva>=1.3<1.3.8
Apache Archiva=1.2
Apache Archiva=1.2.2
Apache Struts>=2.0.0<=2.3.15
All of the following
Fujitsu Interstage Business Process Manager Analytics=12.0
Any of the following
Microsoft Windows Server 2003
Microsoft Windows Server 2008
redhat Enterprise Linux>=5.0<=6.10
All of the following
Fujitsu Interstage Business Process Manager Analytics=12.1
Any of the following
Microsoft Windows Server 2003
Microsoft Windows Server 2008
Microsoft Windows Server 2012
Oracle Solaris=11
redhat Enterprise Linux>=5.0<=6.10
Oracle Siebel Apps - E-billing=6.1
Oracle Siebel Apps - E-billing=6.1.1
Oracle Siebel Apps - E-billing=6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.struts:struts2-core to a version that resolves this vulnerability.

    Fixed in 2.3.15.1

Event History

Jul 18, 2013
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Jul 20, 2013
Data Sourced
via NVD·03:37 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 25, 2022
Known Exploited
via CISA·12:00 AM
May 13, 2022
Advisory Published
01:14 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2013-2251?

CVE-2013-2251 is classified as a critical vulnerability due to its potential for remote code execution through crafted input.

2

How can I mitigate CVE-2013-2251?

To mitigate CVE-2013-2251, ensure that you update to Apache Struts version 2.3.15.1 or later.

3

What versions of Apache Struts are affected by CVE-2013-2251?

CVE-2013-2251 affects Apache Struts versions from 2.0.0 to 2.3.15.

4

What types of attacks can CVE-2013-2251 enable?

CVE-2013-2251 can enable remote attackers to execute arbitrary OGNL expressions, potentially leading to full system compromise.

5

Is there a patch available for CVE-2013-2251?

Yes, a patch is available by upgrading to Apache Struts version 2.3.15.1 or newer.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203