Skip to content
Server Security Center
KEVcritical9.8

CVE-2017-9791: Apache Struts 1 Improper Input Validation

Apache Struts 1 · listed in the CISA catalog of actively exploited vulnerabilities since 2022-02-10.

CVSS v3.1 (CISA ADP)
9.8
critical
EPSS (exploit probability, 30 days)
99%
among the highest 0.1% of all CVEs
Added to CISA KEV
2022-02-10
US federal due date 2022-08-10
Automatable (CISA SSVC)
yes
technical impact: total

CVE-2017-9791 explained

CVE-2017-9791 is an improper input validation flaw in the Struts 1 plugin of Apache Struts 2.1.x and 2.3.x. A malicious field value passed in a raw message to the ActionMessage might allow remote code execution. CISA lists it as known to be exploited, so affected web applications warrant urgent attention.

Impact

A remote attacker without credentials or user interaction might execute code on the server running the affected application. Successful exploitation can lead to full loss of confidentiality, integrity and availability. CISA rates the flaw as automatable, meaning it can be exploited at scale, with total technical impact on the affected component. Attackers are known to exploit this vulnerability. Ransomware use is listed as unknown.

Who is affected

The CVE record lists Apache Software Foundation Apache Struts, 2.1.x series and 2.3.x series, with the issue located in the Struts 1 plugin. The record describes the affected versions in free text only. It names no fixed version. Consult the vendor advisory for the versions or changes that resolve the issue.

Written with AI from the data on this page and checked against it automatically.

Official description

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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Apache Software Foundation Apache Struts
    Affected
    • 2.1.x series
    • 2.3.x series
    Fixed in
    not stated

    Version statement as published by the CNA (free text).

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: struts.apache.org/docs/s2-048.html
  • CISA's deadline for US federal agencies: 2022-08-10 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Identify all applications using Apache Struts 2.1.x or 2.3.x with the Struts 1 plugin.
  2. Apply updates per vendor instructions, as CISA requires, using the Apache advisory to select a fixed release.
  3. If updating is delayed, apply mitigations described in the vendor advisory for the Struts 1 plugin.
  4. Restrict network exposure of affected applications until they are patched.
  5. Check affected servers for signs of compromise, since the vulnerability is known to be exploited.

The CVE record names no fixed version. This does not mean no fix exists. Follow the Apache vendor advisory and CISA's required action to apply updates per vendor instructions. Until updated, apply the advisory's mitigations, limit network exposure of affected applications and monitor for signs of compromise.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-20 Improper Input Validation

Questions about CVE-2017-9791

Is CVE-2017-9791 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-02-10, with a US federal due date of 2022-08-10. Whether it is used in ransomware campaigns is listed as unknown.
Which component is vulnerable?
The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x. A malicious field value passed in a raw message to the ActionMessage might allow remote code execution.
Which version fixes it?
The CVE record names no fixed version. Refer to the Apache vendor advisory and apply updates per vendor instructions, as CISA requires.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.