华域联盟 漏洞资讯 Shopizer 跨站脚本漏洞

Shopizer 跨站脚本漏洞

Shopizer 跨站脚本漏洞

漏洞ID 2455874 漏洞类型 跨站脚本
发布时间 2021-06-02 更新时间 2021-06-02
CVE编号 CVE-2021-33562 CNNVD-ID CNNVD-202105-1517
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2021060013


http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-202105-1517

|漏洞详情
Shopizer是Shopizer团队的一套基于Java的开源电子商务解决方案。 Shopizer 2.17.0之前版本存在跨站脚本漏洞,该漏洞源于远程攻击者可利用该漏洞通过ref参数向一个关于任意产品的页面注入任意web脚本或HTML。
|漏洞EXP
# Exploit Title: Shopizer 2.16.0 - 'Multiple' Cross-Site Scripting (XSS)
# Date: 23-05-2021
# Exploit Author: Marek Toth 
# Vendor Homepage: https://www.shopizer.com
# Software Link: https://github.com/shopizer-ecommerce/shopizer
# Version: <= 2.16.0
# CVE: CVE-2021-33561, CVE-2021-33562

Stored XSS - 'customer_name' Administration 

Description:
A stored cross-site scripting (XSS) vulnerability in Shopizer before version 2.17.0 allows remote attackers to inject arbitrary web script or HTML via customer_name in various forms of store administration and saved in the database. The code is executed for any user of store administration when information is fetched from backend.

Steps to reproduce:
1. Open "http://example.com/admin/" and login to the administration
2. Open "Customers" (http://example.com/admin/customers/list.html) and click on the "Details" button
3. Change customer name to <script>alert(1)</script> and save it
4. Open "Customers" -> XSS payload will trigger

Except "Customers" section, XSS will be executed in "Orders" (/admin/orders/list.html) and "Recent orders" (/admin/home.html)

Reflected XSS - 'ref' parameter 

Description:
A reflected cross-site scripting (XSS) vulnerability in Shopizer before version 2.17.0 allows remote attackers to inject arbitrary web script or HTML via the 'ref' parameter.

Payloads: 
'+alert(1)+'
'+eval(String.fromCharCode(97,108,101,114,116,40,39,88,83,83,39,41))+'

PoC:
http://example.com/shop/product/vintage-bag-with-leather-bands.html/ref='+alert(1)+'

|参考资料

来源:MISC

链接:https://www.exploit-db.com/exploits/49901

来源:MISC

链接:https://github.com/shopizer-ecommerce/shopizer/compare/2.16.0...2.17.0

来源:MISC

链接:https://github.com/shopizer-ecommerce/shopizer/commit/197f8c78c8f673b957e41ca2c823afc654c19271

本文由 华域联盟 原创撰写:华域联盟 » Shopizer 跨站脚本漏洞

转载请保留出处和原文链接:https://www.cnhackhy.com/103494.htm

本文来自网络,不代表华域联盟立场,转载请注明出处。

作者: sterben

发表回复

联系我们

联系我们

2551209778

在线咨询: QQ交谈

邮箱: [email protected]

工作时间:周一至周五,9:00-17:30,节假日休息

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部