Exploit Author: P.L.Sanu
- https://www.plsanu.com/vehicle-service-management-system-myaccount-stored-cross-site-scripting-xss
- https://nvd.nist.gov/vuln/detail/CVE-2021-46068
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46068
A Stored Cross Site Scripting (XSS) vulnerability exists in Vehicle Service Management System 1.0 via the My Account Section in login panel.
- Login to the admin panel http://localhost/vehicle_service/admin
- Navigate to My Account section http://localhost/vehicle_service/admin/?page=user
- Inject the below payload in First Name & Last Name input field.
"><script>alert(document.cookie)</script>
- Click on update button.
- Malicious javascript code triggered.
An attacker can able to inject malicious JavaScript code in My Account Section.
It is recommended to sanitize all the input fields throughout the application.