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...
Basic Information
- CVE State
- PUBLISHED
- Reserved Date
- January 29, 2017
- Published Date
- March 11, 2017
- Last Updated
- February 06, 2025
- Vendor
- Apache Software Foundation
- Product
- Apache Struts
- 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.
- Tags
- Exploitation
- active
- Automatable
- Yes
- Technical Impact
- total
CVSS Scores
CVSS v3.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0
Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C
SSVC Information
References
Known Exploited Vulnerability Information
Source | Added Date |
---|---|
CISA | 2021-11-03 00:00:00 UTC |
Scanner Integrations
Scanner | URL | Date Detected |
---|---|---|
Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts2_content_type_ognl.rb | 2025-04-29 11:01:23 UTC |
Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-5638.yaml | 2025-04-26 00:00:00 UTC |
Potential Proof of Concepts
Warning: These PoCs have not been tested and could contain malware. Use at your own risk.
struts2_content_type_ognl
Type: metasploit • Created: Unknown
Xernary/CVE-2017-5638-POC
Type: github • Created: 2024-12-08 17:22:38 UTC • Stars: 0
kloutkake/CVE-2017-5638-PoC
Type: github • Created: 2024-09-04 19:59:29 UTC • Stars: 1
FredBrave/CVE-2017-5638-ApacheStruts2.3.5
Type: github • Created: 2023-05-10 22:48:58 UTC • Stars: 0
mritunjay-k/CVE-2017-5638
Type: github • Created: 2023-03-02 04:37:09 UTC • Stars: 0
mfdev-solution/Exploit-CVE-2017-5638
Type: github • Created: 2022-12-21 21:14:12 UTC • Stars: 0
Tankirat/CVE-2017-5638
Type: github • Created: 2022-03-28 07:58:31 UTC • Stars: 0
readloud/CVE-2017-5638
Type: github • Created: 2022-02-28 14:49:52 UTC • Stars: 0
Badbird3/CVE-2017-5638
Type: github • Created: 2021-06-24 05:41:45 UTC • Stars: 0
jongmartinez/CVE-2017-5638
Type: github • Created: 2020-12-06 16:16:43 UTC • Stars: 1
colorblindpentester/CVE-2017-5638
Type: github • Created: 2019-03-22 23:25:49 UTC • Stars: 0
un4ckn0wl3z/CVE-2017-5638
Type: github • Created: 2018-11-22 04:02:59 UTC • Stars: 2
leandrocamposcardoso/CVE-2017-5638-Mass-Exploit
Type: github • Created: 2018-06-24 22:40:54 UTC • Stars: 0
win3zz/CVE-2017-5638
Type: github • Created: 2018-05-13 16:13:26 UTC • Stars: 15
0x00-0x00/CVE-2017-5638
Type: github • Created: 2018-02-15 17:31:07 UTC • Stars: 6
cafnet/apache-struts-v2-CVE-2017-5638
Type: github • Created: 2018-01-28 05:17:04 UTC • Stars: 0
lizhi16/CVE-2017-5638
Type: github • Created: 2017-09-28 08:43:21 UTC • Stars: 1
Xhendos/CVE-2017-5638
Type: github • Created: 2017-08-12 23:00:14 UTC • Stars: 0
R4v3nBl4ck/Apache-Struts-2-CVE-2017-5638-Exploit-
Type: github • Created: 2017-07-24 05:05:28 UTC • Stars: 3
sUbc0ol/Apache-Struts2-RCE-Exploit-v2-CVE-2017-5638
Type: github • Created: 2017-06-30 09:55:41 UTC • Stars: 13
sUbc0ol/Apache-Struts-CVE-2017-5638-RCE-Mass-Scanner
Type: github • Created: 2017-06-30 09:40:31 UTC • Stars: 1
eeehit/CVE-2017-5638
Type: github • Created: 2017-06-13 06:59:15 UTC • Stars: 0
homjxi0e/CVE-2017-5638
Type: github • Created: 2017-06-08 21:47:11 UTC • Stars: 0
AndreasKl/CVE-2017-5638
Type: github • Created: 2017-06-05 20:11:06 UTC • Stars: 0
payatu/CVE-2017-5638
Type: github • Created: 2017-05-05 13:17:37 UTC • Stars: 7
bhagdave/CVE-2017-5638
Type: github • Created: 2017-03-18 09:39:59 UTC • Stars: 0
oktavianto/CVE-2017-5638-Apache-Struts2
Type: github • Created: 2017-03-13 11:39:55 UTC • Stars: 1
initconf/CVE-2017-5638_struts
Type: github • Created: 2017-03-11 14:30:02 UTC • Stars: 8
random-robbie/CVE-2017-5638
Type: github • Created: 2017-03-11 11:22:44 UTC • Stars: 0
jrrombaldo/CVE-2017-5638
Type: github • Created: 2017-03-11 10:43:16 UTC • Stars: 0
sjitech/test_struts2_vulnerability_CVE-2017-5638
Type: github • Created: 2017-03-11 10:03:54 UTC • Stars: 0
immunio/apache-struts2-CVE-2017-5638
Type: github • Created: 2017-03-10 21:33:25 UTC • Stars: 35
Timeline
-
CVE ID Reserved
-
CVE Published to Public
-
Exploit Used in Malware
-
Added to KEVIntel
-
Proof of Concept Exploit Available
-
Detected by Nuclei
-
Detected by Metasploit