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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- Confirmed exploitation (CISA KEV)+35
- Used in ransomware campaigns (CISA)+10
- Public exploit/PoC (nuclei, metasploit, exploitdb)+20
- EPSS 100% (30-day exploitation probability)+15
- Technical severity (critical)+10
- Automatable exploitation (SSVC)+3
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — www.oracle.com (NIST National Vulnerability Database)
- Documented mitigation — cwiki.apache.org (NIST National Vulnerability Database)
- Documented mitigation — cwiki.apache.org (NIST National Vulnerability Database)
- Documented mitigation — struts.apache.org (NIST National Vulnerability Database)
- Documented mitigation — struts.apache.org (NIST National Vulnerability Database)
- Maven Org.apache.struts:struts2-core: fixed in version 2.3.32 — github.com (GitHub Security Advisories)
- Maven Org.apache.struts:struts2-core: fixed in version 2.5.10.1 — github.com (GitHub Security Advisories)
CISA required action CISA
Apply updates per vendor instructions.
US federal deadline: May 3, 2022 — passed 1626 day(s) ago
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Apache Software Foundation Struts, Arubanetworks Clearpass Policy Manager, Hp Server Automation…).
- Treat as emergency remediation: the CVE is in CISA KEV (confirmed exploitation).
- The attack is network-based and needs no privileges: restrict exposure (ACLs, VPN, WAF) until patched.
- Apply the fixed version or the patch documented under Remediation.
- EPSS ahead of 100% of scored CVEs: prioritize it in the patch queue.
- Search available logs for exploit probes, errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Apache Software Foundation | Struts | ≥ 2.5.0 and < 2.5.10.1≥ 2.2.3 and < 2.3.32 | Vulnerable | NIST National Vulnerability Database |
| Apache Software Foundation | Struts | version 2.3.x before 2.3.32version 2.5.x before 2.5.10.1 | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Arubanetworks | Clearpass Policy Manager | < 6.6.5 | Vulnerable | NIST National Vulnerability Database |
| Hp | Server Automation | version 10.5.0version 10.2.0version 10.1.0version 10.0.0version 9.1.0 | Vulnerable | NIST National Vulnerability Database |
| Ibm | Storwize V3500 Firmware | version 7.7.1.6version 7.8.1.0 | Vulnerable | NIST National Vulnerability Database |
| Ibm | Storwize V5000 Firmware | version 7.7.1.6version 7.8.1.0 | Vulnerable | NIST National Vulnerability Database |
| Ibm | Storwize V7000 Firmware | version 7.7.1.6version 7.8.1.0 | Vulnerable | NIST National Vulnerability Database |
| Lenovo | Storage V5030 Firmware | version 7.7.1.6version 7.8.1.0 | Vulnerable | NIST National Vulnerability Database |
| Netapp | Oncommand Balance | versions not specified by the source | Vulnerable | NIST National Vulnerability Database |
| Oracle | Weblogic Server | version 10.3.6.0.0version 12.2.1.2.0version 12.2.1.1.0version 12.1.3.0.0 | Vulnerable | NIST National Vulnerability Database |
| Maven | Org.apache.struts:struts2-core | ≥ 2.5.0 and ≤ 2.5.10≥ 2.3.0 and ≤ 2.3.31 | Vulnerable | GitHub Security Advisories |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | Critical | 3.9 | 5.9 | nvd@nist.gov via NIST National Vulnerability Database |
| 9.8 | CVSS 3.1 | Critical | 3.9 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 via NIST National Vulnerability Database |
| 9.8 | CVSS 3.1 | Critical | — | — | CISA-ADP via CVE Program (cve.org) e CISA ADP |
| 10.0 | CVSS 3.0 | Critical | — | — | GitHub, Inc. via GitHub Security Advisories |
| 10.0 | CVSS 2.0 | High | 10.0 | 10.0 | nvd@nist.gov via NIST National Vulnerability Database |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (score shown at the top: nvd@nist.gov) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
CISA KEV details CISA
CISA lists a CVE once it has evidence of exploitation against real targets.
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 reference date.
Public exploits, PoCs and detection templates
Public code that demonstrates or tests the flaw raises the odds of mass exploitation — and Nuclei templates help find vulnerable assets in your environment.
- Apache Struts Jakarta Multipart Parser OGNL Injection excellent Mar 7, 2017
- Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - Remote Code Execution verified Mar 7, 2017
- Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - 'Jakarta' Multipart Parser OGNL Injection (Metasploit) verified Mar 15, 2017
Warning: public PoCs are sometimes disguised malware. Use them only for authorized testing in an isolated environment. This portal does not host exploit code — it only points to the sources.
EPSS over time FIRST
Oct 13, 2026 → Oct 14, 2026 · 2 reading(s) · max 100.00%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Prioritize edge telemetry for the network-reachable component (proxy, WAF, IDS/IPS).
- Hunt retroactively in logs from before Nov 3, 2021 (KEV listing): exploitation may have started earlier.
Timeline
What happened to this CVE, newest first.
- 2026
- Fix documented
- Affected products added · maven/org.apache.struts:struts2-core
- Affected products added · apache software foundation/apache struts
- SSVC assessment updated
- Record published
- Fix documented
- Affected products added · apache/struts, ibm/storwize v3500 firmware, ibm/storwize v5000 firmware, ibm/storwize v7000 firmware, lenovo/storage v50
- CVSS changed · 9.8
- Source status changed · → Analyzed
- Added to CISA KEV (detected)
- Record created in this database
- 2021
- Added to CISA KEV catalog
- 2017
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 2× References added · Oct 13, 2026 – Oct 13, 2026
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
50 on the record
- cwiki.apache.org/confluence/display/WW/S2-045
- cwiki.apache.org/confluence/display/WW/S2-046
- struts.apache.org/docs/s2-045.html
- struts.apache.org/docs/s2-046.html
- www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- www.cisa.gov/known-exploited-vulnerabilities-catalog
- git1-us-west.apache.org/repos/asf
- github.com/mazen160/struts-pwn
- www.securityfocus.com/bid/96729
- www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerabilit
- www.symantec.com/security-center/network-protection-security-advisories/SA145
- security.netapp.com/advisory/ntap-20170310-0001
- git1-us-west.apache.org/repos/asf
- nvd.nist.gov/vuln/detail/CVE-2017-5638
- h20566.www2.hpe.com/hpsc/doc/public/display
- github.com/apache/struts/commit/352306493971e7d5a756d61780d57a76eb1f519a
- blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerabi
- www.securitytracker.com/id/1037973
- git1-us-west.apache.org/repos/asf
- web.archive.org/web/20170311203630/http://www.securityfocus.com/bid/96729
- github.com/rapid7/metasploit-framework/issues/8064
- www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
- lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c
- exploit-db.com/exploits/41570
- isc.sans.edu/diary/22169
- h20566.www2.hpe.com/hpsc/doc/public/display
- packetstormsecurity.com/files/141494/S2-45-poc.py.txt
- web.archive.org/web/20170921030226/http://www.securitytracker.com/id/1037973
- lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922
- www.eweek.com/security/apache-struts-vulnerability-under-attack.html
- blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerabi
- www.kb.cert.org/vuls/id/834067
- arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils
- h20566.www2.hpe.com/hpsc/doc/public/display
- security.netapp.com/advisory/ntap-20170310-0001/
- www.exploit-db.com/exploits/41614
- lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922
- arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils
- lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7
- git1-us-west.apache.org/repos/asf
- nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html
- lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c
- www.exploit-db.com/exploits/41614/
- twitter.com/theog150/status/841146956135124993
- support.lenovo.com/us/en/product_security/len-14200
- github.com/advisories/GHSA-j77q-2qqg-6989
- www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerabilit
- lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7
- github.com/apache/struts/commit/b06dd50af2a3319dd896bf5c2f4972d2b772cf2b
- blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
Elsewhere on this site
Related CVEs (same products)
- High CVE-2026-104712 Apache Struts: Disproportionate response size when rendering BigDecimal request parameters 10d
- Medium CVE-2026-104713 Apache Struts: Unbounded request body read in the REST plugin 10d
- High CVE-2026-104714 Apache Struts: Shared message formatter exposes date and time values across concurrent requests 10d
- Critical CVE-2026-104711 Apache Struts: OGNL injection in the legacy RESTful action mapper 10d
- High CVE-2026-46848 Improper Access Control in Oracle Weblogic Server Jun 17, 2026
- High CVE-2026-35311 Improper Access Control in Oracle Weblogic Server Jun 17, 2026
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.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware 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 record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2017-5638 is "Apache Struts Remote Code Execution Vulnerability", rated Critical. It affects Struts (Apache Software Foundation); versions are in the scope table. It is in CISA KEV: there is evidence of real-world exploitation. CVSS 9.8 describes technical severity. EPSS 100.00% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.