nuclei-templates/cves/2022/CVE-2022-30512.yaml

46 lines
1.2 KiB
YAML

id: CVE-2022-30512
info:
name: School Dormitory Management System 1.0 - SQL Injection
author: tess
severity: critical
description: |
School Dormitory Management System 1.0 is vulnerable to SQL Injection via accounts/payment_history.php:31.
reference:
- https://github.com/bigzooooz/CVE-2022-30512
- https://nvd.nist.gov/vuln/detail/CVE-2022-30512
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-3051
- https://www.sourcecodester.com/php/15319/school-dormitory-management-system-phpoop-free-source-code.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-30512
cwe-id: CWE-89
metadata:
verified: "true"
tags: cve,cve2022,sqli
requests:
- method: GET
path:
- '{{BaseURL}}/dms/admin/accounts/payment_history.php?account_id=2%27'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Fatal error'
- 'Uncaught Error: Call to a member function fetch_assoc()'
- '<th class="">Month of</th>'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200