CVE-2017-5638
Apache Struts Remote Code Execution Vulnerability
Apache StrutsFrameworks
CVSS
9.8CriticalExploit odds (EPSS)>99.9%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
CISA required actionApply updates per vendor instructions. CISA KEV
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Timeline
- 7 Mar 2017Exploit code publicMetasploit
- 11 Mar 2017, 02:11 UTCPublishedCVE List
- 3 Nov 2021Added to CISA KEVCISA KEV
Public exploit code and templates 4
- Exploit moduleApache Struts Jakarta Multipart Parser OGNL Injection 7 Mar 2017Metasploit
- Remote exploitApache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - 'Jakarta' Multipart Parser OGNL Injection (Metasploit) 15 Mar 2017Exploit-DB
- Webapps exploitApache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - Remote Code Execution 7 Mar 2017Exploit-DB
- Scanner templateApache Struts 2 - Remote Command ExecutionNuclei
Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.
Description
Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.
Text from CVE List
Affected versions 2
- Apache Strutsaffected: 2.3.x before 2.3.32CVE List
- Apache Strutsaffected: 2.5.x before 2.5.10.1CVE List
References 28
- arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/Advisoryvia CVE List
- security.netapp.com/advisory/ntap-20170310-0001/Advisoryvia CVE List
- kb.cert.org/vuls/id/834067Advisoryvia CVE List
- symantec.com/security-center/network-protection-security-advisories/SA145Advisoryvia CVE List
- support.lenovo.com/us/en/product_security/len-14200Advisoryvia CVE List
- exploit-db.com/exploits/41570Exploitvia CVE List
- github.com/rapid7/metasploit-framework/issues/8064Exploitvia CVE List
- packetstormsecurity.com/files/141494/S2-45-poc.py.txtExploitvia CVE List
- exploit-db.com/exploits/41614/Exploitvia CVE List
- nvd.nist.gov/vuln/detail/CVE-2017-5638Referencevia CISA KEV
- nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.htmlReferencevia CVE List
- struts.apache.org/docs/s2-046.htmlReferencevia CVE List
- imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerability-in-apache-struts-2/Referencevia CVE List
- h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03733en_usReferencevia CVE List
- isc.sans.edu/diary/22169Referencevia CVE List
- struts.apache.org/docs/s2-045.htmlReferencevia CVE List
- twitter.com/theog150/status/841146956135124993Referencevia CVE List
- github.com/mazen160/struts-pwnReferencevia CVE List
- git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493971e7d5a756d61780d57a76eb1f519aReferencevia CVE List
- h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03723en_usReferencevia CVE List
- git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce47160036ed120a48345d9aa884477228Referencevia CVE List
- cwiki.apache.org/confluence/display/WW/S2-045Referencevia CVE List
- cwiki.apache.org/confluence/display/WW/S2-046Referencevia CVE List
- h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03749en_usReferencevia CVE List
- lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3EReferencevia CVE List
- lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922%40%3Cannounce.apache.org%3EReferencevia CVE List
- lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7%40%3Cannounce.apache.org%3EReferencevia CVE List
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-5638Referencevia CVE List