CVE-2017-5638

CriticalActively exploited (CISA KEV)Known to be used in ransomware campaigns

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductApache Struts
PublishedMar 11, 2017
First seenMar 11, 2017
Added to KEVNov 3, 2021
Weakness typeCWE-755CWE-755

How to fix

CISA required action

Apply updates per vendor instructions.

CISA due date: May 3, 2022
Update
  • apache struts2.3.32, 2.5.10.1 or later
  • arubanetworks clearpass_policy_manager6.6.5 or later
  • org.apache.struts:struts2-core2.3.32, 2.5.10.1 or later

Affected products

ProductAffected versionsFixed in
apache struts2.2.3 ≤ v < 2.3.32, 2.5.0 ≤ v < 2.5.10.12.3.32, 2.5.10.1
ibm storwize_v3500_firmware7.7.1.6, 7.8.1.0—
ibm storwize_v5000_firmware7.7.1.6, 7.8.1.0—
ibm storwize_v7000_firmware7.7.1.6, 7.8.1.0—
lenovo storage_v5030_firmware7.7.1.6, 7.8.1.0—
hp server_automation9.1.0, 10.0.0, 10.1.0, 10.2.0, 10.5.0—
oracle weblogic_server10.3.6.0.0, 12.1.3.0.0, 12.2.1.1.0, 12.2.1.2.0—
arubanetworks clearpass_policy_managerv < 6.6.56.6.5
netapp oncommand_balanceNo range specified—
org.apache.struts:struts2-coreMaven2.3.0 ≤ v < 2.3.32, 2.5.0 ≤ v < 2.5.10.12.3.32, 2.5.10.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.