ampleShop™ eCommerce Software vuln.
###############################################
Vuln. discovered by : r0t
Date: 25 april 2006
vendor:www.amplecom.com/
affected versions:2.1 and previous
orginal advisory:http://pridels.blogspot.com/2006/04/ampleshop-ecommerce-software-vuln.html
###############################################
Vuln. Description:
ampleShop™ contains a flaw that allows a remote sql injection
attacks.Input passed to the "RecordID" parameter in
"Customeraddresses_RecordAction.cfm" and in "youraccount.cfm" isn't
properly sanitised before being used in a SQL query.
Input passed to the "solus" parameter in "detail.cfm" isn't properly
sanitised before being used in a SQL query.
Input passed to the "cat" parameter in "category.cfm" isn't properly
sanitised before being used in a SQL query.
This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
examples:
/Customeraddresses_RecordAction.cfm?RecordID
=1[SQL]&CustomerID=6&set=yes
/youraccount.cfm?RecordID=[SQL]
/category.cfm?cat=[SQL]
/detail.cfm?solus=[SQL]
###############################################
Solution:
Edit the source code to ensure that input is properly sanitised.
###############################################
More information @ unsecured-systems.com/forum/