LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

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

RBRecent Breaches Vulnerability Intelligence·Feb 10, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Aug 10, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2017-9791 to its Known Exploited Vulnerabilities catalog on Feb 10, 2022, with a federal patch deadline of Aug 10, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

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.

CVE-2017-9791 is an improper input validation weakness in Apache Struts 1 that can allow remote code execution. According to CISA, 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. For teams still running legacy Struts 1 applications, this matters because successful abuse can give an attacker control over the application process and the host it runs on.

Public detail is limited to the description above; exact affected builds, attack preconditions, and fixed releases must be confirmed against the vendor advisory. Treat any internet-facing or internally reachable Struts 1 instance as in scope until you verify otherwise.

How it works

The underlying weakness is CWE-20 (Improper Input Validation). In this case, the Struts 1 plugin does not adequately validate a field value that is supplied in a raw message destined for ActionMessage handling. An attacker who can submit such a crafted value may cause the framework to process it in an unsafe way, potentially leading to remote code execution in the context of the application server.

No further exploit mechanics, payloads, or preconditions are provided in the available facts. Defenders should assume that any untrusted input path that reaches ActionMessage processing is relevant and should not invent or rely on unconfirmed attack details. Confirm the precise trigger conditions and impact in the vendor advisory and your own code review of how messages are constructed and passed.

Am I affected? How to find it in your systems

Apache Struts 1 is a legacy Java web-application framework. It typically appears in older enterprise Java EE applications, often packaged as WAR/EAR files deployed on application servers such as Tomcat, JBoss/WildFly, WebLogic, or WebSphere. It may also be present as a transitive dependency inside custom or third-party applications that have not been modernized.

Practical inventory steps:

Because exact version ranges are not supplied here, compare every discovered Struts 1 instance against the vendor advisory. Telemetry signs of exploitation are not detailed in the facts; monitor application and server logs for anomalous input to message/ActionMessage handling, unexpected process creation, or unusual outbound connections from the application runtime. Absence of known signatures does not mean absence of compromise.

How to remediate

Patch first. CISA’s required action is to apply updates per vendor instructions. Obtain the fixed package or migration guidance directly from the Apache Struts project or your commercial distributor and apply it in accordance with the advisory. After patching, re-scan to confirm the vulnerable component is no longer present.

Additional hardening appropriate to this class of flaw:

If you can't patch immediately

Implement compensating controls while you arrange the vendor update:

These measures reduce risk but do not eliminate it; schedule the official update as soon as possible.

If your data may have been exposed

Actively exploited remote-code-execution vulnerabilities frequently lead to full application or host compromise and subsequent data theft. Known ransomware use is not documented for this CVE. If you have evidence of exploitation or cannot rule it out, follow your incident-response process: isolate affected systems, preserve logs and memory images, rotate credentials, and assess what data the application could access.

As a further check, you can run a free exposure scan of your email addresses against known breach data sets to see whether credentials or personal information associated with your organization have already appeared in public breach corpora. That check does not replace forensic investigation of the vulnerable systems themselves.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedApache · Struts 1
WeaknessCWE-20
Added to CISA KEVFeb 10, 2022
Federal patch deadlineAug 10, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities