Headline
CVE-2022-3547: POCs/POC at main · lakshaya0557/POCs
A vulnerability was found in SourceCodester Simple Cold Storage Management System 1.0. It has been classified as problematic. This affects an unknown part of the file /csms/admin/?page=system_info of the component Setting Handler. The manipulation of the argument System Name/System Short Name leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-211047.
# Exploit Title: Simple Cold Storage Management System v1.0 - Stored XSS in “Settings”
# Exploit Author: Lakshaya Bawa
# Vendor Name: oretnom23
# Vendor Homepage: https://www.sourcecodester.com/php/15088/simple-cold-storage-management-system-using-phpoop-source-code.html
# Software Link: https://www.sourcecodester.com/php/15088/simple-cold-storage-management-system-using-phpoop-source-code.html
# Version: v1.0
# Tested on: Kali Linux, Apache
Description: A multiple stored XSS in Simple Cold
A multiple stored XSS in Simple Cold Storage Management System v1.0 allows an attacker to input arbitrary javascript code into those vulnerable parameters
Vulnerable Parameters:
System Name
System Short Name
Payload:
<script>alert(1)</script>
Steps:
Login into admin account
Now go to "http://localhost/csms/admin/?page=system_info".
Now in Parameters “System Name” and “System Short Name” put your payload
Payload: <script>alert(1)</script>
- Now update the settings and our payload will be executed.