Skip to content

CVE-2017-5638

Apache Struts Remote Code Execution

9.8 CRITICALActively exploited (CISA KEV)Used in ransomwarePublic exploitEPSS 100.0%
  1. Published11 Mar 2017
  2. Added to CISA KEV3 Nov 2021
  3. Remediation due3 May 2022
9.8CVSS 3.1 scoreCRITICAL
Exploit probability (EPSS)100.0%
100th percentile of all scored CVEs
Actively exploited (CISA KEV)

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

Added to KEV: 3 Nov 2021Federal remediation due: 3 May 2022Used in ransomware
01

In short

CVE-2017-5638 (Apache Struts Remote Code Execution) has a CVSS 3.1 base score of 9.8, rated critical. CISA added it to the Known Exploited Vulnerabilities catalog on 3 Nov 2021, and it has been used in ransomware campaigns. Fixed in Apache Struts 2.3.32, Arubanetworks Clearpass Policy Manager 6.6.5 or later.

02

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.

03

CVSS 3.1 breakdown

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
04

Affected products

  • Apache Struts≥ 2.2.3 < 2.3.32 · ≥ 2.5.0 < 2.5.10.1
  • Arubanetworks Clearpass Policy Manager< 6.6.5
  • HP Server Automation10.0.0 · 10.1.0 · 10.2.0 · 10.5.0
  • Netapp Oncommand Balanceall versions
  • Oracle Weblogic Server10.3.6.0.0 · 12.1.3.0.0 · 12.2.1.1.0 · 12.2.1.2.0
  • 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

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.

06:00 · IN YOUR FLEET

How Secuno handles this

Secuno matches CVE-2017-5638 against the software on every managed device each hour and ranks it by exploit status, EPSS and exposure. Because it is on the CISA KEV list, its fix goes straight to the Emergency patch lane.