Vulnerabilities

CVE-2017-5638

Apache Struts Remote Code Execution Vulnerability

Actively exploited (CISA KEV) Used in ransomware campaigns Critical 9.8 CVSS 3.1

Description

The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.

Description as published by the source, in English.

Key facts

Published
2017-03-11
Last modified
2026-06-17
Assigned by
security@apache.org
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
100.0 % among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Actively exploited

CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2021-11-03, with a remediation deadline of 2022-05-03 for US federal agencies.

Required action: Apply updates per vendor instructions.

Affected products

Vendor Product Versions Status
Apache Struts ≥ 2.2.3, < 2.3.32 Affected
Apache Struts ≥ 2.5.0, < 2.5.10.1 Affected
Arubanetworks Clearpass Policy Manager < 6.6.5 Affected
Hp Server Automation 10.0.0 Affected
Hp Server Automation 10.1.0 Affected
Hp Server Automation 10.2.0 Affected
Hp Server Automation 10.5.0 Affected
Hp Server Automation 9.1.0 Affected
Ibm Storwize V3500 all versions listed Not affected
Ibm Storwize V3500 Firmware 7.7.1.6 Affected
Ibm Storwize V3500 Firmware 7.8.1.0 Affected
Ibm Storwize V5000 all versions listed Not affected
Ibm Storwize V5000 Firmware 7.7.1.6 Affected
Ibm Storwize V5000 Firmware 7.8.1.0 Affected
Ibm Storwize V7000 all versions listed Not affected
Ibm Storwize V7000 Firmware 7.7.1.6 Affected
Ibm Storwize V7000 Firmware 7.8.1.0 Affected
Lenovo Storage V5030 all versions listed Not affected
Lenovo Storage V5030 Firmware 7.7.1.6 Affected
Lenovo Storage V5030 Firmware 7.8.1.0 Affected
Netapp Oncommand Balance all versions listed Affected
Oracle Weblogic Server 10.3.6.0.0 Affected
Oracle Weblogic Server 12.1.3.0.0 Affected
Oracle Weblogic Server 12.2.1.1.0 Affected
Oracle Weblogic Server 12.2.1.2.0 Affected
org.apache.struts struts2-core (Maven) ≥ 2.3.0, < 2.3.32 Affected
org.apache.struts struts2-core (Maven) ≥ 2.5.0, < 2.5.10.1 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027: Obfuscated Files or Information stealth
  • T1036.001: Invalid Code Signature stealth
  • T1539: Steal Web Session Cookie credential-access
  • T1553.002: Code Signing defense-impairment
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities