BreachSpiderVerified, not vibes

CVE-2017-5638 in Apache Struts and 12 more products

Known-exploited (CISA) since 2021-11-03 Critical 9.8 Public exploit reported

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

Affects 13 products from 7 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS100.0%
EPSS percentile100th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apache Struts ≥ 2.2.3, < 2.3.32 ≥ 2.5.0, < 2.5.10.1
Arubanetworks Clearpass Policy Manager < 6.6.5
Hp Server Automation 9.1.0 10.0.0 10.1.0 10.2.0 10.5.0
Ibm Storwize V5000 (device and firmware) 7.7.1.6 7.8.1.0
Ibm Storwize V3500 (device and firmware) 7.7.1.6 7.8.1.0
Ibm Storwize V7000 (device and firmware) 7.7.1.6 7.8.1.0
Lenovo Storage V5030 (device and firmware) 7.7.1.6 7.8.1.0
Netapp Oncommand Balance No version listed by the source
Oracle Weblogic Server 10.3.6.0.0 12.1.3.0.0 12.2.1.1.0 12.2.1.2.0

Show 1 more products

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2021-11-03
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-5638
BreachSpider IDBS-2017-GLOBAL-198302-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2017-03-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-755: CWE-755

Analysis AI-written, not human-reviewed

CVE-2017-5638 affects the Jakarta Multipart parser in Apache Struts 2, allowing remote attackers to execute arbitrary commands via crafted HTTP headers. This vulnerability has been actively exploited in the wild and has a high CVSS score, indicating critical risk to affected systems.

The vulnerability can be exploited by sending a specially crafted Content-Type, Content-Disposition, or Content-Length HTTP header to the vulnerable Apache Struts 2 application. The attacker can then execute arbitrary commands on the server, leading to potential full system compromise.

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all HTTP headers, especially Content-Type, Content-Disposition, and Content-Length. Consider using a Web Application Firewall (WAF) to filter out suspicious requests.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2017-5638?

CVE-2017-5638 affects the Jakarta Multipart parser in Apache Struts 2, allowing remote attackers to execute arbitrary commands via crafted HTTP headers. This vulnerability has been actively exploited in the wild and has a high CVSS score, indicating critical risk to affected systems.

What is the CVSS score for CVE-2017-5638?

CVE-2017-5638 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 100.0%.

Is CVE-2017-5638 actively exploited?

Yes. CVE-2017-5638 is in the CISA known-exploited catalog (added 2021-11-03). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2017-5638?

Priority: IMMEDIATE. Advisory: https://cwiki.apache.org/confluence/display/WW/S2-045 PSIRT: [email protected]

What systems are affected by CVE-2017-5638?

CVE-2017-5638 affects Apache Struts; Arubanetworks Clearpass Policy Manager; Hp Server Automation; Ibm Storwize V5000, Storwize V3500, Storwize V7000; Lenovo Storage V5030; Netapp Oncommand Balance; Oracle Weblogic Server.

What NERC-CIP standard applies to CVE-2017-5638?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to electronic security perimeters, potentially compromising the integrity and availability of critical assets.

What IEC 62443 requirement maps to CVE-2017-5638?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited remotely to execute arbitrary code, which directly impacts the security of the industrial control system and its components.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Struts","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.