# Exploit Title: Online Clothing Store 1.0 - Persistent Cross-Site Scripting
# 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>
SaveData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation