header-logo
Suggest Exploit
vendor:
Point of Sale System
by:
Saeed Bala Ahmed (r0b0tG4nG)
7.5
CVSS
HIGH
Multiple Stored XSS
79
CWE
Product Name: Point of Sale System
Affected Version From: Version 1
Affected Version To: Not provided
Patch Exists: NO
Related CWE: Not provided
CPE: a:point_of_sale_system:1.0
Metasploit:
Other Scripts:
Platforms Tested: Parrot OS
2020

Point of Sale System 1.0 – Multiple Stored XSS

This exploit allows an attacker to execute arbitrary script code in the Point of Sale System 1.0 application. The vulnerability can be triggered by injecting a malicious script in various fields of the application, including the Suppliers, Customers, and Products pages. When the injected script is executed, it can lead to unauthorized access, data theft, or other malicious activities.

Mitigation:

To mitigate this vulnerability, the vendor should implement input validation and sanitization mechanisms to prevent the execution of arbitrary scripts. Users are advised to update to a patched version of the application, if available.
Source

Exploit-DB raw data:

# Exploit Title: Point of Sale System 1.0 - Multiple Stored XSS
# Exploit Author: Saeed Bala Ahmed (r0b0tG4nG)
# Date: 2020-12-18
# Vendor Homepage: https://www.sourcecodester.com/php/9620/point-sale-system-pos.html
# Software Link: https://www.sourcecodester.com/download-code?nid=9620&title=Point+of+Sale+System+%28POS%29+using+PHP+with+Source+Code
# Affected Version: Version 1
# Tested on: Parrot OS

Step 1. Login to the application with admin credentials

Step 2. Click on "Suppliers" in header and select "Add Supplier".

Step 3. Input "<script>alert("r0b0tG4nG")</script>" in all fields of the form.
Note: Stored XSS vulnerability can also be found "Customers Page" when you select "Add New Customer". Apply Same method above to execute Stored XSS.

Step 4. Click on "Save" when done and this will trigger the Stored XSS payloads. Whenever you click on "Suppliers Page", your XSS Payloads will be triggered.

Note: Stored XSS can also be triggered when you click on "Products Page" and select "Add New Product".