CVE-2017-5638
CVE-2017-5638 — Apache Struts Remote Code Execution Vulnerability
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.
Published Updated Sources: NVD, Apache Software Foundation (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Nov 3, 2021
EPSS
100%
top of FIRST's scoreset
CVSS base
9.8
critical · 4 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade org.apache.struts:struts2-core to 2.3.32 or later (maven advisory GHSA-j77q-2qqg-6989).
CISA required action
Apply updates per vendor instructions.
Federal deadline May 3, 2022 — passed 1,676 days ago
Red Hat VEX · CVE-2017-5638
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Apache Struts | 2.3.x before 2.3.32 | Vulnerable |
| Apache | Apache Struts | 2.5.x before 2.5.10.1 | Vulnerable |
| Maven | org.apache.struts:struts2-core | >= 2.3.0, <= 2.3.31 | Vulnerable |
| Maven | org.apache.struts:struts2-core | >= 2.5.0, <= 2.5.10 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, CNA |
| 10.0 | CVSS 2.0 | high | 10 | 10 | NVD |
| 10.0 | CVSS 3.1 | critical | n/a | n/a | GHSA |
| 9.8 | CVSS 3.1 | critical | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-20 · Improper Input Validation
- DoS: Crash, Exit, or Restart
- DoS: Resource Consumption (CPU)
- DoS: Resource Consumption (Memory)
- Read Memory
Mitigation: Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build recognizers for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses. [REF-1109] [REF-1110] [REF-1111]
CWE-755 · Improper Handling of Exceptional Conditions
- Other::
Weakness & attack patterns
- CWE-755
- CWE-20Improper Input Validation
Inferred from the weakness class — not observed against this CVE.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Nov 3, 2021
Federal deadline
May 3, 2022
passed 1,676 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
642
2 of the 5 sampled are weaponized
Exploit entries
80
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
2
Named
QakBot
QBot, win.qakbot, QuackBot
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
💀 CRITICAL Exploits Trending ├ CVE-2025-55182 · Meta/React “React2Shell” · PoC live (10) ├ CVE-2026-67401 · WebPros · PoC live (9.9) ├ CVE-2017-5638 · Apache Struts · PoC live (9.8)
@exploitgrid· Oct 8, 2026
⚠️ EXPLOIT TOOL CLAIM — CVE-2017-5638 Threat actor Hacknatill is reportedly advertising a tool allegedly capable of exploiting CVE-2017-5638, a critical vulnerability in the Apache Struts 2 framework. 🔎 Vulnerability: CVE-2017-5638 💥 Impact: Remote Code Execution (RCE) 🔐 https://t.co/fGpHFFcEHK
@CyberPulse56· Oct 1, 2026
CVE Vulnerabilities That Shaped the Bug Bounty World A quick timeline worth knowing: 1. CVE-2014-0160 • Heartbleed - 2014 2. CVE-2014-6271 • Shellshock - 2014 3. CVE-2016-5195 • Dirty COW - 2016 4. CVE-2017-0144 • EternalBlue - 2017 5. CVE-2017-5638 • Apache Struts RCE -
@NitinGavhane_· Sep 13, 2026
Replaced productId=2 with productId=e in Burp Suite. Server returned HTTP 500 with a full stack trace. Hidden in the response: Apache Struts 2 2.3.31 the framework behind the Equifax breach. CVE-2017-5638. CVSS 10.0. No auth. Just a letter instead of a number. #BurpSuite https://t.co/BBUKTM7To7
@theFreemenOS· Sep 7, 2026
Good morning. 🌅 Interesting technical detail to start the day: The Equifax breach in 2017, 147 million people's personal data exposed traced back to a single Apache Struts vulnerability, CVE-2017-5638, for which a patch had been available for two months before exploitation. The https://t.co/29ubSy7Osg
@iamjustape· Jun 19, 2026
13 more posts on this CVEShowing 5 of 18 · Who is discussing this CVE, and how loudlyUnlock freeDetection rules
Sigma and YARA rules a source published for this CVE — the only detection content any connected source supplies.

Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Apache Struts, Org.apache.struts:struts2-core.
- Monitor for scanner or exploit-pattern traffic after 722 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
11 more threat groups on this CVEShowing 5 of 16 · Attribution, campaigns and the malware each one runsUnlock free- ip162.142.125.4654
SANS Wide Scanners Feeds · Jan 21, 2021
- ip45.148.10.3548
DShield-Firehol · Aug 14, 2023
- ip45.148.10.24265
DShield-Firehol · Mar 6, 2022
- ip148.153.56.6269
AlienVault OTX Feeds · Jun 6, 2025
- ip176.65.148.1084
Blocklist.de-Firehol-SSH · Apr 14, 2025
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited s1kh/Vulnerability-Analysis-and-Mitigation
Oct 25, 2026 · SOCRadar CTI
Cve is exploited GU-007/struts2-tool
Oct 1, 2026 · SOCRadar CTI
Added · CVSS 3.1 9.8 (AV:N)
Jun 17, 2026 · NVD
- 2021
Added to CISA KEV catalog
Nov 3, 2021 · CISA
- 2018
Added · GHSA-j77q-2qqg-6989 published (critical)
Oct 18, 2018 · GitHub Security Advisory
- 2017
Added · Verified remote entry: Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - 'Jakarta' Multipart Parser OGNL Injection (…
Mar 15, 2017 · Exploit-DB
Initial · CVE published
Mar 11, 2017 · NVD
Added · Verified webapps entry: Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - 'Content-Type' Remote Code Execution (RCE)
Mar 7, 2017 · Exploit-DB
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 20×SVRS was changedMay 28, 2026 – Oct 12, 2026 · SOCRadar CTI
- 10×TweetsMay 28, 2026 – Oct 9, 2026 · SOCRadar CTI
- 4×Github ReposMay 26, 2026 – Oct 17, 2026 · SOCRadar CTI
- 3×TelegramJun 8, 2026 – Jul 18, 2026 · SOCRadar CTI
References
52 on the record
- blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
Exploit, Third Party Advisory, GITHUB, NIST
- blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/
Exploit, Third Party Advisory, Vendor Advisory, GITHUB, NIST
- www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
Third Party Advisory
- www.eweek.com/security/apache-struts-vulnerability-under-attack.html
Press/Media Coverage, Third Party Advisory
- www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
Patch, Third Party Advisory, GITHUB, NIST
- www.securityfocus.com/bid/96729
Broken Link, Third Party Advisory, VDB Entry, GITHUB
- www.securitytracker.com/id/1037973
Broken Link, Third Party Advisory, VDB Entry
- arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/
Exploit, Press/Media Coverage, Vendor Advisory, NIST
Coverage
3 stories from the feeds we poll
IQUALIF France Leak, IUT Paris Seine Breach, US IAB Auction, SMTP Credential Dump, and Apache Struts Exploit Sale
socradar.io · Oct 5, 2026
ISC StormCast for Wednesday, March 29th 2017
isc.sans.edu · Mar 29, 2017
Strutting your stuff – Unauthenticated Remote Code Execution
blackhillsinfosec.com · Mar 10, 2017
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2017-9791 Apache Struts 1 Improper Input Validation VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2013-2251 Apache Struts Improper Input Validation VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2018-11776 Apache Struts Remote Code Execution VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2017-9805 Apache Struts Deserialization of Untrusted Data VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2016-3081 Apache Struts Command Injection VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2019-0230 Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code…CVSS 9.8
Elsewhere on this site
- Apacheevery CVE for this vendor
- Mavenevery CVE for this vendor
- Apache Strutsevery page on this product
- November 2021what else CISA listed
- Input Validationsame class
- CWE-755other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2017-5638 is Apache Struts Remote Code Execution Vulnerability, a critical vulnerability affecting Apache Struts, Org.apache.struts:struts2-core from Apache Software Foundation, Maven. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 722 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.