Vulnerability in Apache Struts
CVE-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-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 1.000 (100.0th percentile), scored .
Very high probability of exploitation in the next 30 days — among the top 0.1% most-likely-to-be-exploited CVEs. 100th percentile — 100.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
The 30-day trend appears once there are two daily scores.
Affected products
- Apache Struts
- Apache Software Foundation Struts — versions 2.5.x before 2.5.10.1, 2.3.x before 2.3.32
- Arubanetworks Clearpass Policy Manager
- HP Server Automation — versions 9.1.0, 10.0.0, 10.1.0
- IBM Storwize V3500
- IBM Storwize V3500 Firmware — versions 7.7.1.6, 7.8.1.0
- IBM Storwize V5000
- IBM Storwize V5000 Firmware — versions 7.7.1.6, 7.8.1.0
- IBM Storwize V7000
- IBM Storwize V7000 Firmware — versions 7.7.1.6, 7.8.1.0
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
Required action: Apply updates per vendor instructions.
Known ransomware campaign use: yes.
Public proof-of-concept exploits
References
- nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html (Exploit, Third Party Advisory)
- www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt (Third Party Advisory)
- arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-im… (Exploit, Press/Media Coverage)
- exploit-db.com/exploits/41570 (Exploit, VDB Entry, Third Party Advisory, exploit)
- security.netapp.com/advisory/ntap-20170310-0001/ (Third Party Advisory)
- github.com/rapid7/metasploit-framework/issues/8064 (Exploit, Issue Tracking)
- struts.apache.org/docs/s2-046.html (Mitigation, Vendor Advisory)
- blog.talosintelligence.com/2017/03/apache-0-day-exploited.html (Exploit, Third Party Advisory)
- www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulner… (Third Party Advisory)
- h20566.www2.hpe.com/hpsc/doc/public/display (Broken Link)
Frequently asked questions
- What is CVE-2017-5638?
- CVE-2017-5638 is a critical-severity vulnerability in Apache Struts, classified under Improper Handling of Exceptional Conditions. CVSS score: 9.8/10. Published 2017-03-11.
- How severe is CVE-2017-5638?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2017-5638 known to be exploited?
- Yes. CVE-2017-5638 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2021-11-03), indicating it is being actively exploited. 426 public proof-of-concept repositories are indexed.