CVE-2017-9791: Code execution in Apache Struts 1 plugin

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

The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x allows remote code execution via improper input validation. An attacker can exploit this by passing a malicious field value in a raw message to the ActionMessage function.

Vendors: Apache, Maven.

Quick answers

Is CVE-2017-9791 exploited in the wild?
Yes. CVE-2017-9791 is known to be exploited in the wild, first recorded on 10 February 2022. Treat it as urgent.
How severe is CVE-2017-9791?
Critical severity, with a CVSS score of 3.1, published 13 May 2022.
Which products and versions are affected?
org.apache.struts:struts2-struts1-plugin (Maven) ECOSYSTEM:introduced=0,last_affected=2.3.37.
Is there a fix for CVE-2017-9791?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2017-9791 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2017-9791?
Check whether you run Apache Struts 1 or org.apache.struts:struts2-struts1-plugin (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.

Affected products

  • Apache Struts 2 2.1.x, 2.3.x

Identifiers

  • CVE-2017-9791
  • GHSA-29rm-6752-gvwv

Timeline

  • 2022-02-10: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
  • 2022-02-10: disclosed

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