Vulnerabilities

Vulnerability · CVE-2017-9791

Apache Struts 1 Improper Input Validation Vulnerability

Published Jul 10, 2017 · catalog updated Jun 16, 2026 · Apache Struts

Patch now

CVE-2017-9791 is in the CISA known-exploited catalog, due Aug 10, 2022. Confirm Apache Struts against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
Critical9.8
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
98.91%
Remediation
Remediation guidance
Affected products
cpe apache/struts · vendor Apache Struts · vendor Apache Struts 1

The Struts 1 plugin in Apache Struts might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage. Initial-access exploit intelligence.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe apache/struts2.3.1
  • cpe apache/struts2.3.1.1
  • cpe apache/struts2.3.1.2
  • cpe apache/struts2.3.3
  • cpe apache/struts2.3.4
  • cpe apache/struts2.3.4.1
  • cpe apache/struts2.3.7
  • cpe apache/struts2.3.8
  • vendor Apache Strutsversion unspecified
  • vendor Apache Struts 1version unspecified

How to fix CVE-2017-9791

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2017-9791 is in the CISA known-exploited catalog, due Aug 10, 2022. Confirm Apache Struts against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with 2.3.1, 2.3.1.1, 2.3.1.2, 2.3.3, 2.3.4, 2.3.4.1. Apply updates per vendor instructions.

What should an analyst verify?

CWE-20: Improper Input Validation. EPSS 98.91%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 10, 2017 · Catalog

    Detected

    The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.

  2. Feb 10, 2022 · CISA KEV

    Known exploited

    Apply updates per vendor instructions.

  3. Aug 10, 2022 · CISA KEV

    Remediation due

    Apply updates per vendor instructions.

  4. Jun 16, 2026 · Catalog

    Updated

    The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.

Sources

  • CISA KEVConfirmed exploitationCVE-2017-9791

    The Struts 1 plugin in Apache Struts might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.

    cisa.gov
  • CVE.orgVulnerability recordCVE-2017-9791

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2017-9791

    30-day exploitation probability 98.9%

    first.org
  • Exploit DatabasePublic exploit reference42324

    Public archive entry. The exploit body is not stored here.

    exploit-db.com
  • Exploit DatabasePublic exploit reference44643

    Public archive entry. The exploit body is not stored here.

    exploit-db.com
  • Metasploit ModulesPublic exploit moduleexploit_multi/http/struts2_code_exec_showcase

    Public module reference (excellent). Module source is not copied into this catalog.

    rapid7.com
  • NIST NVDVulnerability recordCVE-2017-9791

    The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2017-9791

    The Struts 1 plugin in Apache Struts might allow remote code execution via a malicious field value passed in a raw message to the ActionMessage.

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.