wanhuoa-smartupload-file-upload: Wanhu OA smartUpload.jsp - Arbitrary File Upload
- Template: wanhuoa-smartupload-file-upload
- Name: Wanhu OA smartUpload.jsp - Arbitrary File Upload
- Description: Wanhu OA smartUpload.jsp file has a file upload interface and does not filter file types, resulting in arbitrary file upload vulnerabilities. Malicious JSP files can be uploaded directly.
- Severity: critical
- Authors: SleepingBag945
- Tags: wanhu, oa, smartupload, file-upload, vuln
- References: https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/90103c248a2c52bb0a060d0ee95d5a67e4579c3d/docs/wiki/oa/%E4%B8%87%E6%88%B7OA/%E4%B8%87%E6%88%B7OA%20smartUpload.jsp%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E6%BC%8F%E6%B4%9E.md?plain=1#L24
- Verified: yes
- Max requests: 1
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/wanhu/wanhuoa-smartupload-file-upload.yaml
- Digest: 4b0a00483046022100f9a2fced2763f98d32131e0d29d4113e01c6ab71eff11c2bcf8c19da50369adc022100fa758dceaa3d4ee6a9af4936949977b97128786a970ed862708629bed5e849b3
- Created at: 2023-09-18T12:43:14Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 1164
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/wanhu/wanhuoa-smartupload-file-upload.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: app="万户网络-ezOFFICE"
- Max-request: 1
- Verified: yes
Labels
- Name: Wanhu OA - Arbitrary File Upload
- Impact: Attackers can upload malicious JSP files, potentially leading to remote code execution and full server compromise.
- Remediation: Update to the latest version of Wanhu OA.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: wanhuoa-smartupload-file-upload
info:
name: Wanhu OA smartUpload.jsp - Arbitrary File Upload
author: SleepingBag945
severity: critical
description: |
Wanhu OA smartUpload.jsp file has a file upload interface and does not filter file types, resulting in arbitrary file upload vulnerabilities. Malicious JSP files can be uploaded directly.
reference:
metadata:
verified: true
max-request: 1
fofa-query: app="万户网络-ezOFFICE"
tags: wanhu,oa,smartupload,file-upload,vuln
http:
- method: GET
path:
- "{{BaseURL}}/defaultroot/extension/smartUpload.jsp?path=information&fileName=infoPicName&saveName=infoPicSaveName&tableName=infoPicTable&fileMaxSize=0&fileMaxNum=0&fileType=gif,jpg,bmp,jsp,png&fileMinWidth=0&fileMinHeight=0&fileMaxWidth=0&fileMaxHeight=0"
matchers-condition: and
matchers:
- type: word
words:
- "请选择要上传的文件"
- "<TITLE>上传附件</TITLE>"
condition: and
- type: status
status:
- 200
digest: 4b0a00483046022100f9a2fced2763f98d32131e0d29d4113e01c6ab71eff11c2bcf8c19da50369adc022100fa758dceaa3d4ee6a9af4936949977b97128786a970ed862708629bed5e849b3:922c64590222798bb761d5b6d8e72950
```