CVE-2017-5638

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.999%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-11-03 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 10
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 2

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameApache Struts Remote Code Execution Vulnerability
Vendor / productApache / Struts
Date added2021-11-03
Federal remediation due date2022-05-03
Required actionApply updates per vendor instructions.
Known ransomware campaign useKnown

CISA SSVC decision points

Exploitationactive
Automatableyes
Technical impacttotal
Scored2025-02-06

Timeline

  1. 2017-03-07First Exploit-DB entry (EDB-ID 41570)4 days before publication
  2. 2017-03-11Published by the CNA02:11 UTC
  3. 2018-10-18GitHub advisory published (GHSA-j77q-2qqg-6989)586 days after publication
  4. 2021-11-03Added to the CISA KEV catalog1698 days after publication
  5. 2025-02-06CISA SSVC decision recorded2889 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 41614remotemultiple2017-03-15yes
EDB-ID 41570webappslinux2017-03-07yes

Nuclei templates:

GitHub advisory GHSA-j77q-2qqg-6989, affected packages:

PackageVulnerable versionsFixed in
Maven org.apache.struts:struts2-corefrom 2.3.0 before 2.3.322.3.32
Maven org.apache.struts:struts2-corefrom 2.5.0 before 2.5.10.12.5.10.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
apache strutsfrom 2.2.3 before 2.3.32fixed in 2.3.32from 2.5.0 before 2.5.10.1fixed in 2.5.10.12.3.322.5.10.1
arubanetworks clearpass_policy_managerbefore 6.6.5fixed in 6.6.56.6.5
hp server_automation10.0.0no fix listed10.1.0no fix listed10.2.0no fix listed10.5.0no fix listed9.1.0no fix listednot listednot listednot listednot listednot listed
ibm storwize_v3500_firmware7.7.1.6no fix listed7.8.1.0no fix listednot listednot listed
ibm storwize_v5000_firmware7.7.1.6no fix listed7.8.1.0no fix listednot listednot listed
ibm storwize_v7000_firmware7.7.1.6no fix listed7.8.1.0no fix listednot listednot listed
lenovo storage_v5030_firmware7.7.1.6no fix listed7.8.1.0no fix listednot listednot listed
netapp oncommand_balance
oracle weblogic_server10.3.6.0.0no fix listed12.1.3.0.0no fix listed12.2.1.1.0no fix listed12.2.1.2.0no fix listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

34 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources