CVEvulnerability

CVE-2017-5638

9.8 CRITICAL Known exploited Published 2017-03-11 Modified 2026-06-17 Official page ↗

CISA Known Exploited Vulnerability

Apache Struts Remote Code Execution Vulnerability — Apache Struts

Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.

Added to KEV
2021-11-03
Remediation due
2022-05-03
Ransomware use
Known
Required action
Apply updates per vendor instructions.
Notes
https://nvd.nist.gov/vuln/detail/CVE-2017-5638
Status
Analyzed
Published
2017-03-11
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-755

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.

Affected configurations

• apache struts (>= 2.2.3 < 2.3.32) • apache struts (>= 2.5.0 < 2.5.10.1) • ibm storwize v3500 firmware 7.7.1.6 • ibm storwize v3500 firmware 7.8.1.0 • ibm storwize v5000 firmware 7.7.1.6 • ibm storwize v5000 firmware 7.8.1.0 • ibm storwize v7000 firmware 7.7.1.6 • ibm storwize v7000 firmware 7.8.1.0 • lenovo storage v5030 firmware 7.7.1.6 • lenovo storage v5030 firmware 7.8.1.0 • hp server automation 9.1.0 • hp server automation 10.0.0 • hp server automation 10.1.0 • hp server automation 10.2.0 • hp server automation 10.5.0 • oracle weblogic server 10.3.6.0.0 • oracle weblogic server 12.1.3.0.0 • oracle weblogic server 12.2.1.1.0 • oracle weblogic server 12.2.1.2.0 • arubanetworks clearpass policy manager (< 6.6.5) • netapp oncommand balance

Related

Weakness · CWE (1)

  • CWE-755 Improper Handling of Exceptional Conditions weakness

References