vendor:
Vehicle Parking Tracker System
by:
Anmol K Sachan
CVSS
HIGH
Cross-site Scripting
79
CWE
Product Name: Vehicle Parking Tracker System
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: N/A
Related CWE: N/A
CPE: a:phpgurukul:vehicle_parking_tracker_system
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows 10 XAMPP
2021
Vehicle Parking Tracker System 1.0 – ‘Owner Name’ Stored Cross-Site Scripting
This application is vulnerable to Stored XSS vulnerability. The vulnerable script is http://localhost/vpms/add-vehicle.php and the vulnerable parameter is 'Owner Name'. The payload used is ()"><script>alert(‘document.cookie’)</script> and the proof of concept is manage-incomingvehicle.php, where the Javascript code is executed.
Mitigation:
Input validation and output encoding should be used to prevent XSS attacks.