CVE-2017-5638
Last modified
CVE-2017-5638 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. CISA has confirmed active exploitation in the wild. EPSS estimates a 100.00% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
100.0th percentile
Probability of exploitation in the next 30 days. Learn more
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Struts | >= 2.2.3, < 2.3.32 |
| Apache | Struts | >= 2.5.0, < 2.5.10.1 |
| Ibm | Storwize V3500 Firmware | 7.7.1.6 |
| Ibm | Storwize V3500 Firmware | 7.8.1.0 |
| Ibm | Storwize V5000 Firmware | 7.7.1.6 |
| Ibm | Storwize V5000 Firmware | 7.8.1.0 |
| Ibm | Storwize V7000 Firmware | 7.7.1.6 |
| Ibm | Storwize V7000 Firmware | 7.8.1.0 |
| Lenovo | Storage V5030 Firmware | 7.7.1.6 |
| Lenovo | Storage V5030 Firmware | 7.8.1.0 |
| Hp | Server Automation | 9.1.0 |
| Hp | Server Automation | 10.0.0 |
| Hp | Server Automation | 10.1.0 |
| Hp | Server Automation | 10.2.0 |
| Hp | Server Automation | 10.5.0 |
| Oracle | Weblogic Server | 10.3.6.0.0 |
| Oracle | Weblogic Server | 12.1.3.0.0 |
| Oracle | Weblogic Server | 12.2.1.1.0 |
| Oracle | Weblogic Server | 12.2.1.2.0 |
| Arubanetworks | Clearpass Policy Manager | < 6.6.5 |
| Netapp | Oncommand Balance | All versions |
References
- http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.htmlExploit, Third Party Advisory
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txtThird Party Advisory
- http://www.eweek.com/security/apache-struts-vulnerability-under-attack.htmlPress/Media Coverage, Third Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.htmlPatch, Third Party Advisory
- http://www.securityfocus.com/bid/96729Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037973Broken Link, Third Party Advisory, VDB Entry
- https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/Exploit, Press/Media Coverage
- https://cwiki.apache.org/confluence/display/WW/S2-045Mitigation, Vendor Advisory
- https://cwiki.apache.org/confluence/display/WW/S2-046Mitigation, Vendor Advisory
- https://exploit-db.com/exploits/41570Exploit, Third Party Advisory, VDB Entry
- https://github.com/rapid7/metasploit-framework/issues/8064Exploit, Issue Tracking
- https://isc.sans.edu/diary/22169Exploit, Third Party Advisory
- https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.htmlExploit, Third Party Advisory
- https://packetstormsecurity.com/files/141494/S2-45-poc.py.txtBroken Link, Exploit, Third Party Advisory, VDB Entry
- https://security.netapp.com/advisory/ntap-20170310-0001/Third Party Advisory
- https://struts.apache.org/docs/s2-045.htmlMitigation, Vendor Advisory
- https://struts.apache.org/docs/s2-046.htmlMitigation, Vendor Advisory
- https://support.lenovo.com/us/en/product_security/len-14200Third Party Advisory
- https://twitter.com/theog150/status/841146956135124993Broken Link, Third Party Advisory
- https://www.exploit-db.com/exploits/41614/Exploit, Third Party Advisory, VDB Entry
- https://www.kb.cert.org/vuls/id/834067Third Party Advisory, US Government Resource
- http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.htmlExploit, Third Party Advisory
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txtThird Party Advisory
- http://www.eweek.com/security/apache-struts-vulnerability-under-attack.htmlPress/Media Coverage, Third Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.htmlPatch, Third Party Advisory
- http://www.securityfocus.com/bid/96729Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037973Broken Link, Third Party Advisory, VDB Entry
- https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/Exploit, Press/Media Coverage
- https://cwiki.apache.org/confluence/display/WW/S2-045Mitigation, Vendor Advisory
- https://cwiki.apache.org/confluence/display/WW/S2-046Mitigation, Vendor Advisory
- https://exploit-db.com/exploits/41570Exploit, Third Party Advisory, VDB Entry
- https://github.com/rapid7/metasploit-framework/issues/8064Exploit, Issue Tracking
- https://isc.sans.edu/diary/22169Exploit, Third Party Advisory
- https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.htmlExploit, Third Party Advisory
- https://packetstormsecurity.com/files/141494/S2-45-poc.py.txtBroken Link, Exploit, Third Party Advisory, VDB Entry
- https://security.netapp.com/advisory/ntap-20170310-0001/Third Party Advisory
- https://struts.apache.org/docs/s2-045.htmlMitigation, Vendor Advisory
- https://struts.apache.org/docs/s2-046.htmlMitigation, Vendor Advisory
- https://support.lenovo.com/us/en/product_security/len-14200Third Party Advisory
- https://twitter.com/theog150/status/841146956135124993Broken Link, Third Party Advisory
- https://www.exploit-db.com/exploits/41614/Exploit, Third Party Advisory, VDB Entry
- https://www.kb.cert.org/vuls/id/834067Third Party Advisory, US Government Resource
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-5638US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2017-5638?
How severe is CVE-2017-5638?
How do I fix CVE-2017-5638?
Are you affected by CVE-2017-5638?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
