/Vehicle-Service-Management-System-Mechanic-List-Stored-Cross-Site-Scripting-XSS

CVE-2021-46069 - A Stored Cross Site Scripting (XSS) vulnerability exists in Vehicle Service Management System 1.0 via the Mechanic List Section in login panel.

CVE-2021-46069

Exploit Title: Vehicle Service Management System - 'Mechanic List' Stored Cross Site Scripting (XSS)

Exploit Author: P.L.Sanu

CVE: CVE-2021-46069

CVSS: 4.8 MEDIUM

References:

Description:

A Stored Cross Site Scripting (XSS) vulnerability exists in Vehicle Service Management System 1.0 via the Mechanic List Section in login panel.

Exploit:

  1. Login to the admin panel http://localhost/vehicle_service/admin
  2. Navigate to Mechanic List section and click on Create New button.
  3. Inject the below payload in Full Name & Contact input field.

Payload:

 "><script>alert(document.cookie)</script>
  1. Click on Save button.
  2. Malicious javascript code triggered.

Impact:

An attacker can able to inject malicious JavaScript code in Mechanic List Section.

Mitigation:

It is recommended to sanitize all the input fields throughout the application.