Vulnerability · CVE-2017-5638
Apache Struts Remote Code Execution Vulnerability
Published Mar 10, 2017 · catalog updated Jun 16, 2026 · Apache Struts
Patch now
CVE-2017-5638 is in the CISA known-exploited catalog, due May 3, 2022. Confirm Apache Struts against the vendor advisory and apply that fix. The CVSS score does not change the priority.
- Severity
- Critical9.8
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 100.00%
- Remediation
- Remediation guidance
- Affected products
- cpe apache/struts · cpe arubanetworks/clearpass policy manager · cpe hp/server automation · cpe ibm/storwize v3500 firmware · cpe ibm/storwize v5000 firmware · cpe ibm/storwize v7000 firmware
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe apache/strutsversion unspecified
- cpe arubanetworks/clearpass policy managerversion unspecified
- cpe hp/server automation9.1.0
- cpe ibm/storwize v3500 firmware7.7.1.6
- cpe ibm/storwize v3500 firmware7.8.1.0
- cpe ibm/storwize v5000 firmware7.7.1.6
- cpe ibm/storwize v5000 firmware7.8.1.0
- cpe ibm/storwize v7000 firmware7.7.1.6
- cpe ibm/storwize v7000 firmware7.8.1.0
- cpe lenovo/storage v5030 firmware7.7.1.6
- cpe oracle/weblogic server10.3.6.0.0
- vendor Apache Strutsversion unspecified
How to fix CVE-2017-5638
Recommended remediation
Apply updates per vendor instructions. CISA due date May 3, 2022.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2017-5638 is in the CISA known-exploited catalog, due May 3, 2022. Confirm Apache Struts against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Compare what you have installed with hp/server automation 9.1.0; ibm/storwize v3500 firmware 7.7.1.6; ibm/storwize v3500 firmware 7.8.1.0; ibm/storwize v5000 firmware 7.7.1.6. Apply updates per vendor instructions.
What should an analyst verify?
CWE-20: Improper Input Validation; CWE-755: Improper Handling of Exceptional Conditions. EPSS 100.00%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Mar 10, 2017 · Catalog
Detected
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 containin
Nov 3, 2021 · CISA KEV
Known exploited
Apply updates per vendor instructions.
May 3, 2022 · CISA KEV
Remediation due
Apply updates per vendor instructions.
Jun 16, 2026 · Catalog
Updated
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 containin
Sources
- CISA KEVConfirmed exploitationCVE-2017-5638
Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.
cisa.gov - CVE.orgVulnerability recordCVE-2017-5638
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2017-5638
30-day exploitation probability 100.0%
first.org - Exploit DatabasePublic exploit reference41570
Public archive entry. The exploit body is not stored here.
exploit-db.com - Exploit DatabasePublic exploit reference41614
Public archive entry. The exploit body is not stored here.
exploit-db.com - Metasploit ModulesPublic exploit moduleexploit_multi/http/struts2_content_type_ognl
Public module reference (excellent). Module source is not copied into this catalog.
rapid7.com - NIST NVDVulnerability recordCVE-2017-5638
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
nvd.nist.gov - VulnCheck KEVConfirmed exploitationCVE-2017-5638
Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.
vulncheck.com
References
- VulnCheck exploitation evidence · blog.lumen.com
- VulnCheck exploitation evidence · cisa.gov
- Mitigation · cwiki.apache.org
- Mitigation · cwiki.apache.org
- VulnCheck exploitation evidence · isc.sans.edu
- CISA note · nvd.nist.gov
- Mitigation · struts.apache.org
- Mitigation · struts.apache.org
- VulnCheck exploitation evidence · cve.org
- VulnCheck exploitation evidence · f5.com
- VulnCheck exploitation evidence · trendmicro.com
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.