CVE-2013-2251: Code injection in Apache Struts

CVE-2013-2251 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2022-05-13

Apache Struts 2 allows remote attackers to execute arbitrary Object-Graph Navigation Language (OGNL) expressions via crafted parameters using action:, redirect:, or redirectAction: prefixes. This improper input validation vulnerability can lead to remote code execution.

Technologies: Apache Struts, org.apache.struts:struts2-core (Maven). Vendors: Apache, Maven.

Quick answers

Is CVE-2013-2251 exploited in the wild?
Yes. CVE-2013-2251 is known to be exploited in the wild, first recorded on 25 March 2022. Treat it as urgent.
How severe is CVE-2013-2251?
Critical severity, with a CVSS score of 3.1, published 13 May 2022.
Which products and versions are affected?
org.apache.struts:struts2-core (Maven) ECOSYSTEM:introduced=0,fixed=2.3.15.1.
Is there a fix for CVE-2013-2251?
Yes. org.apache.struts:struts2-core (Maven): upgrade to 2.3.15.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2013-2251 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2013-2251?
Check whether you run Apache Struts or org.apache.struts:struts2-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.apache.struts:struts2-core (Maven): upgrade to 2.3.15.1 or later
    # set org.apache.struts:struts2-core to 2.3.15.1 in your pom.xml or build.gradle

Affected products

  • Apache Struts 2 2.0.0 through 2.3.15

Identifiers

  • CVE-2013-2251
  • GHSA-47qp-8v9g-39hp

Timeline

  • 2013-07-16: advisory: Original Apache Struts S2-016 advisory date
  • 2022-03-25: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
  • 2022-03-25: disclosed: NVD publication date

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.