Skip to content

plsanu/Vehicle-Service-Management-System-MyAccount-Stored-Cross-Site-Scripting-XSS

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

CVE-2021-46068

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

Exploit Author: P.L.Sanu

CVE: CVE-2021-46068

CVSS: 4.8 MEDIUM

References:

Description:

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

Exploit:

  1. Login to the admin panel http://localhost/vehicle_service/admin
  2. Navigate to My Account section http://localhost/vehicle_service/admin/?page=user
  3. Inject the below payload in First Name & Last Name input field.

Payload:

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

Impact:

An attacker can able to inject malicious JavaScript code in My Account Section.

Mitigation:

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published