CVE-2017-5638
Apache Struts Remote Code Execution Vulnerability
This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Struts, fix it now.
CISA required action: Apply updates per vendor instructions.
US federal civilian agencies must remediate by May 3, 2022.
Patch status
Official fix available since
Apply the vendor's update to every affected system. Check the fixed-in versions below where known.
Basis: NVD patch reference
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 National Vulnerability Database. Official vulnerability data, reproduced as published.
Affected products
| Product | Vendor | Affected versions | Fixed in | Source |
|---|---|---|---|---|
| Struts | Apache Software Foundation | >= 2.2.3, < 2.3.32; >= 2.5.0, < 2.5.10.1 | 2.3.32; 2.5.10.1 | KEV |
| WebLogic Server | Oracle | 10.3.6.0.0; 12.1.3.0.0; 12.2.1.1.0; 12.2.1.2.0 | — | NVD |
Sources: KEV = CISA Known Exploited Vulnerabilities catalog; NVD = NIST National Vulnerability Database.
Intelligence timeline
Developments from the last 30 days, newest first.
- CVSS scoredUpdateKEV
CVE-2017-5638 scored CVSS 9.8: Apache Struts, Apache Struts Remote Code Execution Vulnerability
CISA lists this as exploited in the wild and known to be used in ransomware campaigns. Unpatched Struts systems are exposed to active attacks now.
Basis: NIST National Vulnerability Database
- Patch releasedUpdateKEV
Patch released for CVE-2017-5638: Apache Struts, Apache Struts Remote Code Execution Vulnerability
An official fix is now available for Apache Struts. This vulnerability is being exploited, so apply it promptly.
Basis: NVD patch reference
1 earlier event is available with a subscription. See plans.
Coverage
We have not published a story about this vulnerability yet.
References
- nvd.nist.gov
- blog.talosintelligence.com
- blog.trendmicro.com
- arubanetworks.com
- eweek.com
- oracle.com
- securityfocus.com
- securitytracker.com
- arstechnica.com
- cwiki.apache.org
- cwiki.apache.org
- exploit-db.com
- git1-us-west.apache.org
- git1-us-west.apache.org
- github.com
- github.com
- h20566.www2.hpe.com
- h20566.www2.hpe.com
- h20566.www2.hpe.com
- isc.sans.edu
- lists.apache.org
- lists.apache.org
- lists.apache.org
- nmap.org
- packetstormsecurity.com
- security.netapp.com
- struts.apache.org
- struts.apache.org
- support.lenovo.com
- twitter.com
