Security Resilience

CVE-2017-5638

Apache Struts 2.2.3 – 2.3.32

CISA KEVActive ExploitationEUVD ExploitedPublic PoCRansomware-linked
Published
11 March 2017
Modified
21 April 2026
KEV Added
03 November 2021
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 100.0th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2017-5638 is a critical-severity Improper Handling of Exceptional Conditions (CWE-755) vulnerability in Apache Struts. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 0.0% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability CVE-2017-5638 resides in the Jakarta Multipart parser component of Apache Struts 2 versions 2.3.x prior to 2.3.32 and 2.5.x prior to 2.5.10.1. It arises from improper exception handling and error-message generation when processing file-upload requests, tracked as CWE-755, and carries a CVSS 3.1 base score of 9.8.

Unauthenticated remote attackers can exploit the flaw over the network by supplying a crafted Content-Type, Content-Disposition, or Content-Length HTTP header during a file-upload attempt, resulting in arbitrary command execution on the server with no user interaction required.

The issue was exploited in the wild in March 2017, including attacks that embedded a #cmd= string inside the Content-Type header. Multiple vendor advisories and security analyses reference the same attack pattern and affected Struts versions.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.

CWE(s)
KEV Date Added
03 November 2021

Related Threats

Threat-Actor AttributionAI

Microsoft Corp. (Salesforce / Slack engineer recruitment claims)
Top 10 Routinely Exploited Vulnerabilities | CISA
AnonOps
Top 10 Routinely Exploited Vulnerabilities | CISA

CVEs Like This One

CVE-2021-38003Shared CWE-755both on KEV
CVE-2018-11776Same product: Apache Strutsboth on KEV
CVE-2017-9805Same product: Apache Strutsboth on KEV
CVE-2016-3081Same product: Apache Strutsboth on KEV
CVE-2021-42013Same vendor: Apacheboth on KEV
CVE-2021-41773Same vendor: Apacheboth on KEV
CVE-2020-17530Same product: Apache Strutsboth on KEV
CVE-2024-29748Shared CWE-755both on KEV
CVE-2020-7247Shared CWE-755both on KEV
CVE-2018-0155Shared CWE-755both on KEV

Affected Assets

apache
struts
2.2.3 — 2.3.32 · 2.5.0 — 2.5.10.1
ibm
storwize v3500 firmware
7.7.1.6, 7.8.1.0
ibm
storwize v5000 firmware
7.7.1.6, 7.8.1.0
ibm
storwize v7000 firmware
7.7.1.6, 7.8.1.0
lenovo
storage v5030 firmware
7.7.1.6, 7.8.1.0
hp
server automation
10.0.0, 10.1.0, 10.2.0, 10.5.0, 9.1.0
oracle
weblogic server
10.3.6.0.0, 12.1.3.0.0, 12.2.1.1.0, 12.2.1.2.0
arubanetworks
clearpass policy manager
≤ 6.6.5
netapp
oncommand balance
all versions

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-755

Provides defined handling (alert and additional actions) for the exceptional condition of audit logging failure.

addresses: CWE-755

Supplies a concrete handling action (safe mode) for exceptional conditions, mitigating risks from improper or absent handling that could allow continued attacks.

addresses: CWE-755

By preparing users for contingency scenarios, the control promotes proper handling of exceptional conditions instead of default or unsafe behaviors.

addresses: CWE-755

An updated contingency plan defines current actions for exceptional conditions, reducing the window for attackers to exploit improper handling leading to system failure.

addresses: CWE-755

Procedures ensure proper handling of exceptional conditions to support effective incident response.

addresses: CWE-755

Incident response testing confirms proper handling of exceptional conditions to limit exploit impact.

addresses: CWE-755

Gives users guidance on incident handling, reducing improper handling of exceptional conditions that could stem from exploited weaknesses.

addresses: CWE-755

Enforces structured response to exceptional conditions so the system cannot remain in an unsafe state.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance verifies correct handling of exceptional conditions.

finds

Monitoring can surface unhandled exceptions but does not enforce proper handling.

prevents

Secure coding standards mandate proper exception handling to avoid CWE-755.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-755, a class-level weakness. Rules are authored against its narrower children: CWE-274, CWE-280, CWE-333.

References