CVE-2021-46072
Exploit Title: Vehicle Service Management System - 'Service List' Stored Cross Site Scripting (XSS)
Exploit Author: P.L.Sanu
CVE: CVE-2021-46072
CVSS: 4.8 MEDIUM
References:
- https://www.plsanu.com/vehicle-service-management-system-service-list-stored-cross-site-scripting-xss
- https://nvd.nist.gov/vuln/detail/CVE-2021-46072
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46072
Description:
A Stored Cross Site Scripting (XSS) vulnerability exists in Vehicle Service Management System 1.0 via the Service List Section in login panel.
Exploit:
- Login to the admin panel http://localhost/vehicle_service/admin
- Navigate to Service List section and click on Create New button.
- Inject the below payload in Service Name & Description input field.
Payload:
"><script>alert(document.cookie)</script>- Click on Save button.
- Malicious javascript code triggered.
Impact:
An attacker can able to inject malicious JavaScript code in Service List Section.
Mitigation:
It is recommended to sanitize all the input fields throughout the application.