SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityAnalyzed

CVE-2017-5638

Apache Struts Remote Code Execution Vulnerability

KEVEXPLOIT ×2 ✓CRITICAL 9.8EPSS 100.0%

Does this matter?

Known to be exploited in the wild (CISA KEV, CISA remediation deadline 3 May 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
100.00% probability · 100th percentile
Public exploits
2 in Exploit-DB · verified · first 7 March 2017
CISA KEV
Listed 3 November 2021 · due 3 May 2022 · used in ransomware campaigns
Weakness
CWE-755
Affected
apache/struts · ibm/storwize v3500 firmware · ibm/storwize v5000 firmware · ibm/storwize v7000 firmware · lenovo/storage v5030 firmware · hp/server automation · oracle/weblogic server · arubanetworks/clearpass policy manager · netapp/oncommand balance
Source
security@apache.org
EPSS trend
0%50%100%27 October 2026: 100.00%27 October 202627 October 2026

EPSS 100.0% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

CISA notes

Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2017-5638

Public exploits (2)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-41614source ↗Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - 'Jakarta' Multipart Parser OGNL Injection (Metasploit)multiple · Metasploitremote15 March 2017yes
EDB-41570source ↗Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - Remote Code Executionlinux · Vex Woowebapps7 March 2017yes

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.