Lucene search
K

Quick Cart 6.7 Shell Upload

🗓️ 13 Jun 2024 00:00:00Reported by Eagle EyeType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 212 Views

Authenticated Remote Code Execution & Shell Upload in Quick Cart 6.7

Code
`# Title : Authenticated Remote Code Execution & Shell Upload  
# Product : Quick Cart  
# Vendor : https://opensolution.org/  
# Affected Version : 6.7  
# Researcher : Eagle Eye  
# Tested on : Window & Linux  
# Date : 11/06/2024  
# Affected path : admin.php , core/common-admin.php, database/config.php  
# Affected function : saveVariables()  
# Report : Already contact the vendor but no response  
  
# Description : Unfiltered parameter that post into admin.php?p=tools-config override any  
$config key value cause to unwanted file inclusion and allowed file extension overriding  
lead to remote code execution.  
# Step to reproduce (Method 1)  
- login at admin.php  
- click Products and New Product from top navbar  
- On the right panel, choose add file  
- Upload malicious script with extension txt or any allowed extension like jpg  
- click setting on right above  
- click save and intercept the request  
- on body parameter, add &default_pages_template=../../files/yourmaliciousfile.txt and proceed  
# Step to reproduce (Method 2)  
- login at admin.php  
- click setting on right above  
- click save and intercept the request  
- on body parameter, add &allowed_extensions=php and proceed  
- click Products and New Product from top navbar  
- On the right panel, choose add file  
- And you can upload malicious script with extension php - You may find on path eg: http://website.com/files/shell.php  
`

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