Lucene search
K

Squirrelcart PRO 3.0.0 Blind SQL Injection

🗓️ 22 Oct 2010 00:00:00Reported by Salvatore FrestaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 17 Views

Squirrelcart PRO 3.0.0 Blind SQL Injection Vulnerability in E-commerce Syste

Code
`Squirrelcart PRO 3.0.0 Blind SQL Injection Vulnerability  
  
Name Squirrelcart PRO  
Vendor http://www.squirrelcart.com  
Versions Affected 3.0.0  
  
Author Salvatore Fresta aka Drosophila  
Website http://www.salvatorefresta.net  
Contact salvatorefresta [at] gmail [dot] com  
Date 2010-10-21  
  
X. INDEX  
  
I. ABOUT THE APPLICATION  
II. DESCRIPTION  
III. ANALYSIS  
IV. SAMPLE CODE  
V. FIX  
  
  
I. ABOUT THE APPLICATION  
________________________  
  
Squirrelcart PRO is a commercial and used PHP/MySQL  
e-commerce system.  
  
I tested only the demo versions. Other versions could be  
vulnerable. I obtained the demo's version value from the  
staff.  
  
  
II. DESCRIPTION  
_______________  
  
A parameter is not properly sanitised before being used  
in a SQL query.  
  
  
III. ANALYSIS  
_____________  
  
Summary:  
  
A) Blind SQL Injection  
  
  
A) Blind SQL Injection  
______________________  
  
The parameters prod_rn in index.php when add_to_cart is  
set to a positive value is not properly sanitised before  
being used in a SQL query. This can be exploited to  
manipulate SQL queries by injecting arbitrary SQL code.  
  
This vulnerability doesn't requires to be logged in.  
  
Successful exploitation requires that the first part of  
the injection (in the sample code it is 271) must be a  
valid product number (just see the products list).  
  
  
IV. SAMPLE CODE  
_______________  
  
A) Blind SQL Injection  
  
http://site/path/index.php?add_to_cart=10&prod_rn=271 AND (SELECT(IF(0x41=0x41, BENCHMARK(9999999999,NULL),NULL)))  
  
Current online demo version:  
  
http://www.squirrelcart.com/demo1/index.php?add_to_cart=1&prod_rn=271 AND (SELECT(IF(0x41=0x41, BENCHMARK(9999999999,NULL),NULL)))  
  
  
V. FIX  
______  
  
No fix.  
  
`

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

22 Oct 2010 00:00Current
0.4Low risk
Vulners AI Score0.4
17