CVE-2017-5638

9.8 CRITICAL CISA KEV - Actively Exploited
Published: March 11, 2017 Modified: October 22, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
Source: security@apache.org
Exploit Third Party Advisory
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
Source: security@apache.org
Third Party Advisory
http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html
Source: security@apache.org
Press/Media Coverage Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
Source: security@apache.org
Patch Third Party Advisory
http://www.securityfocus.com/bid/96729
Source: security@apache.org
Broken Link Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1037973
Source: security@apache.org
Broken Link Third Party Advisory VDB Entry
https://cwiki.apache.org/confluence/display/WW/S2-045
Source: security@apache.org
Mitigation Vendor Advisory
https://cwiki.apache.org/confluence/display/WW/S2-046
Source: security@apache.org
Mitigation Vendor Advisory
https://exploit-db.com/exploits/41570
Source: security@apache.org
Exploit Third Party Advisory VDB Entry
https://github.com/mazen160/struts-pwn
Source: security@apache.org
Exploit
https://github.com/rapid7/metasploit-framework/issues/8064
Source: security@apache.org
Exploit Issue Tracking
https://isc.sans.edu/diary/22169
Source: security@apache.org
Exploit Third Party Advisory
https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html
Source: security@apache.org
Exploit Third Party Advisory
https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt
Source: security@apache.org
Exploit Third Party Advisory VDB Entry
https://security.netapp.com/advisory/ntap-20170310-0001/
Source: security@apache.org
Third Party Advisory
https://struts.apache.org/docs/s2-045.html
Source: security@apache.org
Mitigation Vendor Advisory
https://struts.apache.org/docs/s2-046.html
Source: security@apache.org
Mitigation Vendor Advisory
https://support.lenovo.com/us/en/product_security/len-14200
Source: security@apache.org
Third Party Advisory
https://twitter.com/theog150/status/841146956135124993
Source: security@apache.org
Broken Link Third Party Advisory
https://www.exploit-db.com/exploits/41614/
Source: security@apache.org
Exploit Third Party Advisory VDB Entry
https://www.kb.cert.org/vuls/id/834067
Source: security@apache.org
Third Party Advisory US Government Resource
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html
Source: af854a3a-2127-422b-91ae-364da2661108
Press/Media Coverage Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
http://www.securityfocus.com/bid/96729
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1037973
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link Third Party Advisory VDB Entry
https://cwiki.apache.org/confluence/display/WW/S2-045
Source: af854a3a-2127-422b-91ae-364da2661108
Mitigation Vendor Advisory
https://cwiki.apache.org/confluence/display/WW/S2-046
Source: af854a3a-2127-422b-91ae-364da2661108
Mitigation Vendor Advisory
https://exploit-db.com/exploits/41570
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
https://github.com/mazen160/struts-pwn
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
https://github.com/rapid7/metasploit-framework/issues/8064
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Issue Tracking
https://isc.sans.edu/diary/22169
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
https://security.netapp.com/advisory/ntap-20170310-0001/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://struts.apache.org/docs/s2-045.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mitigation Vendor Advisory
https://struts.apache.org/docs/s2-046.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mitigation Vendor Advisory
https://support.lenovo.com/us/en/product_security/len-14200
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://twitter.com/theog150/status/841146956135124993
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link Third Party Advisory
https://www.exploit-db.com/exploits/41614/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
https://www.kb.cert.org/vuls/id/834067
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory US Government Resource

67 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
94.3%
100th percentile
Exploitation Status
Actively Exploited
Remediation due: 2022-05-03

Weaknesses (CWE)

Affected Vendors

hp lenovo netapp oracle arubanetworks ibm apache