Skip to content
Noroxi
CVE-2017-5638· NVD / CVE Program· CNA apache

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-mes

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.

CriticalCVSS 9.8 · v3.1KEVWeaponized Fix available
Published
Mar 10, 2017
Updated
Jun 16, 2026
EPSS
100.0% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

99

Now

Patch today or shut off access.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
30 / 30 · Listed
EPSS
30 / 30 · 100.0%

CISA SSVC decision

Exploitation
active
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Nov 3, 2021. That signals real attacks, not theory.

Remediation deadline for government agencies: May 3, 2022.

Known to be used in ransomware campaigns.

Affected systems

VendorProduct
apachestruts
ibmstorwize v3500 firmware
ibmstorwize v3500
ibmstorwize v5000 firmware
ibmstorwize v5000
ibmstorwize v7000 firmware
ibmstorwize v7000
lenovostorage v5030 firmware
lenovostorage v5030
hpserver automation
oracleweblogic server
arubanetworksclearpass policy manager

and 1 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache struts2.5.0 and later · before 2.5.10.1
  • apache struts2.2.3 and later · before 2.3.32
  • arubanetworks clearpass policy managerbefore 6.6.5
  • hp server automation10.0.0
  • hp server automation10.1.0
  • hp server automation10.2.0
  • hp server automation10.5.0
  • hp server automation9.1.0
  • ibm storwize v3500 firmware7.7.1.6
  • ibm storwize v3500 firmware7.8.1.0
  • ibm storwize v5000 firmware7.7.1.6
  • ibm storwize v5000 firmware7.8.1.0
  • ibm storwize v7000 firmware7.7.1.6
  • ibm storwize v7000 firmware7.8.1.0
  • lenovo storage v5030 firmware7.7.1.6
  • lenovo storage v5030 firmware7.8.1.0
  • netapp oncommand balanceall versions
  • oracle weblogic server10.3.6.0.0
  • oracle weblogic server12.1.3.0.0
  • oracle weblogic server12.2.1.1.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.

  • Apache Software Foundation Apache Struts

    • 2.3.x before 2.3.32, 2.5.x before 2.5.10.1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Mavenorg.apache.struts:struts2-corefrom 2.3.0 · before 2.3.322.3.32
Mavenorg.apache.struts:struts2-corefrom 2.5.0 · before 2.5.10.12.5.10.1

Other highest-scoring records for the same primary product.

  • CVE-2017-9791The Struts 1 plugin in Apache Struts 2.1.x and 2.3.x might allow remote code execution via a malicious field value passed in a raw message tKEV
    99Now
  • CVE-2020-17530Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.KEV
    98Now
  • CVE-2018-11776Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (eiKEV
    92Now
  • CVE-2017-9805The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an instance of XStreaKEV
    92Now
  • CVE-2012-0391The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception haKEV
    92Now
  • CVE-2006-1547ActionForm in Apache Software Foundation (ASF) Struts before 1.2.9 with BeanUtils 1.7 allows remote attackers to cause a denial of service vKEV
    76This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Maven:org.apache.struts:struts2-core2.3.32Package registry (OSV)
Maven:org.apache.struts:struts2-core2.5.10.1Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×2
  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×50

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrywebapps2017-03-07
Exploit-DB entryremote2017-03-15
Metasploit moduleexploit/multi/http/struts2_content_type_ognlApache Struts Jakarta Multipart Parser OGNL Injectionexploit2017-03-07
Nuclei detection templateNuclei template CVE-2017-5638 —
Proof-of-concept repository on GitHubstars:232017-03-07
Proof-of-concept repository on GitHubstars:612017-03-07
Proof-of-concept repository on GitHubstars:02017-03-08
Proof-of-concept repository on GitHubstars:252017-03-09
Proof-of-concept repository on GitHubstars:02017-03-10
Proof-of-concept repository on GitHubstars:222017-03-10
Proof-of-concept repository on GitHubstars:352017-03-10
Proof-of-concept repository on GitHubstars:12017-03-11

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-4 d
  2. Metasploit-4 d
  3. Published
  4. CISA KEV+1698 d
  5. TodaySep 29, 2026+3490 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

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

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records