CVE-2017-5638

KEV
Published: Mar 11, 2017 Last Modified: Ott 22, 2025
ExploitDB:
Other exploit source:
Google Dorks:
CRITICAL 9,8
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: high
Availability: high
HIGH 10,0
Access Vector: network
Access Complexity: low
Authentication: none
Confidentiality: complete
Integrity: complete
Availability: complete

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,9427
Percentile
1,0th
Updated

EPSS Score Trend (Last 90 Days)

755

Improper Handling of Exceptional Conditions

Incomplete
Common Consequences
Security Scopes Affected:
Other
Potential Impacts:
Other
Applicable Platforms
All platforms may be affected
View CWE Details
Exploit

Apache Struts 2.3.5 < 2.3.31 / 2.5 < …

Verified

Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - Remote Code Execution

View Exploit Code →
Exploit

Apache Struts 2.3.5 < 2.3.31 / 2.5 < …

Verified Metasploit Framework (MSF)

Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - 'Jakarta' Multipart Parser OGNL Injection (Metasploit)

View Exploit Code →
Application

Server Automation by Hp

cpe:2.3:a:hp:server_automation:9.1.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Storwize V5000 Firmware by Ibm

cpe:2.3:o:ibm:storwize_v5000_firmware:7.8.1.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Weblogic Server by Oracle

cpe:2.3:a:oracle:weblogic_server:12.2.1.1.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Server Automation by Hp

cpe:2.3:a:hp:server_automation:10.2.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Storage V5030 Firmware by Lenovo

cpe:2.3:o:lenovo:storage_v5030_firmware:7.7.1.6:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Server Automation by Hp

cpe:2.3:a:hp:server_automation:10.5.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Weblogic Server by Oracle

cpe:2.3:a:oracle:weblogic_server:12.2.1.2.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Struts by Apache

Version Range Affected
From 2.2.3 (inclusive)
To 2.3.32 (exclusive)
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Storwize V3500 Firmware by Ibm

cpe:2.3:o:ibm:storwize_v3500_firmware:7.7.1.6:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Oncommand Balance by Netapp

cpe:2.3:a:netapp:oncommand_balance:-:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Clearpass Policy Manager by Arubanetworks

Version Range Affected
To 6.6.5 (exclusive)
cpe:2.3:a:arubanetworks:clearpass_policy_manager:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Server Automation by Hp

cpe:2.3:a:hp:server_automation:10.0.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Storwize V3500 Firmware by Ibm

cpe:2.3:o:ibm:storwize_v3500_firmware:7.8.1.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Server Automation by Hp

cpe:2.3:a:hp:server_automation:10.1.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Weblogic Server by Oracle

cpe:2.3:a:oracle:weblogic_server:10.3.6.0.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Weblogic Server by Oracle

cpe:2.3:a:oracle:weblogic_server:12.1.3.0.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Storwize V7000 Firmware by Ibm

cpe:2.3:o:ibm:storwize_v7000_firmware:7.7.1.6:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Storage V5030 Firmware by Lenovo

cpe:2.3:o:lenovo:storage_v5030_firmware:7.8.1.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Struts by Apache

Version Range Affected
From 2.5.0 (inclusive)
To 2.5.10.1 (exclusive)
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Storwize V7000 Firmware by Ibm

cpe:2.3:o:ibm:storwize_v7000_firmware:7.8.1.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Storwize V5000 Firmware by Ibm

cpe:2.3:o:ibm:storwize_v5000_firmware:7.7.1.6:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017…
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache…
https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-a…
https://cwiki.apache.org/confluence/display/WW/S2-045
https://cwiki.apache.org/confluence/display/WW/S2-046
https://exploit-db.com/exploits/41570
https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493…
https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce4…
https://github.com/mazen160/struts-pwn
https://github.com/rapid7/metasploit-framework/issues/8064
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_n…
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_n…
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_n…
https://isc.sans.edu/diary/22169
https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a…
https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc…
https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be4…
https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html
https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt
https://security.netapp.com/advisory/ntap-20170310-0001/
https://struts.apache.org/docs/s2-045.html
https://struts.apache.org/docs/s2-046.html
https://support.lenovo.com/us/en/product_security/len-14200
https://twitter.com/theog150/status/841146956135124993
https://www.exploit-db.com/exploits/41614/
https://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rc…
https://www.kb.cert.org/vuls/id/834067
https://www.symantec.com/security-center/network-protection-security-advisories…
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
http://www.securityfocus.com/bid/96729
http://www.securitytracker.com/id/1037973
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache…
https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-a…
https://cwiki.apache.org/confluence/display/WW/S2-045
https://cwiki.apache.org/confluence/display/WW/S2-046
https://exploit-db.com/exploits/41570
https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493…
https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce4…
https://github.com/mazen160/struts-pwn
https://github.com/rapid7/metasploit-framework/issues/8064
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_n…
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_n…
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_n…
https://isc.sans.edu/diary/22169
https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a…
https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc…
https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be4…
https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html
https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt
https://security.netapp.com/advisory/ntap-20170310-0001/
https://struts.apache.org/docs/s2-045.html
https://struts.apache.org/docs/s2-046.html
https://support.lenovo.com/us/en/product_security/len-14200
https://twitter.com/theog150/status/841146956135124993
https://www.exploit-db.com/exploits/41614/
https://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rc…
https://www.kb.cert.org/vuls/id/834067
https://www.symantec.com/security-center/network-protection-security-advisories…
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html
http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
http://www.securityfocus.com/bid/96729
http://www.securitytracker.com/id/1037973