CVE-2017-5638: Apache Struts Remote Code Execution Vulnerability
In CISA’s Known Exploited Vulnerabilities catalog: Apache Struts Remote Code Execution Vulnerability.
Added , federal remediation due . Known ransomware use: Known.
Required action: Apply updates per vendor instructions.
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
Apache Software Foundation: Apache Struts
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- blog.talosintelligence.com/2017/03/apache-0-day-exploited.html (opens in new tab)
- blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerabi… (opens in new tab)
- arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils… (opens in new tab)
- cwiki.apache.org/confluence/display/WW/S2-045 (opens in new tab)
- cwiki.apache.org/confluence/display/WW/S2-046 (opens in new tab)
- exploit-db.com/exploits/41570 (opens in new tab)
- git1-us-west.apache.org/repos/asf (opens in new tab)
- git1-us-west.apache.org/repos/asf (opens in new tab)
- github.com/mazen160/struts-pwn (opens in new tab)
- github.com/rapid7/metasploit-framework/issues/8064 (opens in new tab)
- h20566.www2.hpe.com/hpsc/doc/public/display (opens in new tab)
- h20566.www2.hpe.com/hpsc/doc/public/display (opens in new tab)
- h20566.www2.hpe.com/hpsc/doc/public/display (opens in new tab)
- isc.sans.edu/diary/22169 (opens in new tab)
- lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7… (opens in new tab)
- lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c… (opens in new tab)
- lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922… (opens in new tab)
- nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html (opens in new tab)
- packetstormsecurity.com/files/141494/S2-45-poc.py.txt (opens in new tab)
- security.netapp.com/advisory/ntap-20170310-0001/ (opens in new tab)
- struts.apache.org/docs/s2-045.html (opens in new tab)
- struts.apache.org/docs/s2-046.html (opens in new tab)
- support.lenovo.com/us/en/product_security/len-14200 (opens in new tab)
- twitter.com/theog150/status/841146956135124993 (opens in new tab)
- www.exploit-db.com/exploits/41614/ (opens in new tab)
- www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerabilit… (opens in new tab)
- www.kb.cert.org/vuls/id/834067 (opens in new tab)
- www.symantec.com/security-center/network-protection-security-advisories/SA145 (opens in new tab)
- www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt (opens in new tab)
- www.eweek.com/security/apache-struts-vulnerability-under-attack.html (opens in new tab)
- www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html (opens in new tab)
- www.securityfocus.com/bid/96729 (opens in new tab)
- www.securitytracker.com/id/1037973 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)