Skip to content
Vulnerability Intelligence

CVE-2017-5638

CriticalExploitedPublic exploit

Apache Struts vulnerable to remote arbitrary command execution due to improper input validation

Published Oct 18, 2018 · Updated Jul 8, 2026 · Also known as GHSA-j77q-2qqg-6989

Key Facts

Patch immediately
  • CVE-2017-5638 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Struts (Apache), Clearpass Policy Manager (Arubanetworks), Server Automation (Hp) and 7 more products.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Mar 11, 2017 and is known to be used in ransomware campaigns. Public exploit code is available.
  • EPSS estimates a 100% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Struts 2.3.32, Clearpass Policy Manager 6.6.5, org.apache.struts:struts2-core 2.3.32.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

100%

Higher than 99.9% of all scored CVEs

Exploited in the wild

Yes

4 catalog listings, used by ransomware

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2017-5638 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVNov 3, 2021May 3, 2022Known
Industry KEV feedMar 11, 2017May 3, 2022Known
CIRCL KEVNov 3, 2021May 3, 2022Known
ENISA EUVDNov 3, 2021n/aNot reported

Required action: Apply updates per vendor instructions.

Affected Products

22 affected entries in total
ProductAffected versionsFixed in
StrutsApache>= 2.3.x before 2.3.322.3.32
Clearpass Policy ManagerArubanetworksSee advisory6.6.5
Server AutomationHp10.0.0, 10.1.0, 10.2.0, 10.5.0, 9.1.0n/a
Oncommand BalanceNetappSee advisoryn/a
Weblogic ServerOracle10.3.6.0.0, 12.1.3.0.0, 12.2.1.1.0, 12.2.1.2.0n/a
5 more affected products in the full CVE brief

Patched Releases

Struts

2.3.32

Clearpass Policy Manager

6.6.5

org.apache.struts:struts2-core

2.3.32, 2.5.10.1

Timeline

  1. Added to Industry KEV feed

    Mar 11, 2017

  2. Publicly disclosed

    Oct 18, 2018

  3. Added to CISA KEV

    Nov 3, 2021

  4. Added to CIRCL KEV

    Nov 3, 2021

  5. Added to ENISA EUVD

    Nov 3, 2021

  6. Last updated

    Jul 8, 2026

Weakness Type

  • CWE-20 Improper Input Validation
  • CWE-755 Improper Handling of Exceptional Conditions

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2017-5638 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo