CVE-2026-5179
7.3SourceCodester · Simple Doctors Appointment System
A SQL injection vulnerability exists in the SourceCodester Simple Doctors Appointment System 1.0, specifically within the username parameter of the login functionality.
Executive summary
An unauthenticated SQL injection vulnerability in SourceCodester Simple Doctors Appointment System 1.0 allows remote attackers to execute arbitrary database queries, potentially leading to full system compromise.
Vulnerability
This vulnerability is a SQL injection flaw (CWE-89) located in the /admin/login.php file. The application fails to properly sanitize the username parameter before incorporating it into database queries, allowing an unauthenticated attacker to manipulate SQL commands.
Business impact
Successful exploitation of this vulnerability allows unauthorized access to the underlying database, which may result in the exfiltration of sensitive patient or administrative information. Given the CVSS score of 7.3, this represents a high-severity risk that could lead to complete data exposure, unauthorized administrative access, and significant operational disruption.
Remediation
Immediate Action: As no official vendor patch is currently available, administrators should restrict network access to the administrative login page and implement strict input validation on the affected parameter.
Proactive Monitoring: Monitor web server logs for suspicious POST requests to /admin/ajax.php or /admin/login.php that contain SQL keywords or unusual character patterns.
Compensating Controls: Deploy a Web Application Firewall (WAF) to detect and block common SQL injection payloads targeted at the username parameter.
Exploitation status
Public Exploit Available: Yes, a public proof-of-concept exists as documented in the referenced security research.
Analyst recommendation
Due to the critical nature of SQL injection and the lack of a vendor-provided patch, users of the Simple Doctors Appointment System should consider the software insecure for production environments. If the system must remain online, ensure it is isolated from public networks and protected by robust WAF rules until a secure version is released.
More SourceCodester CVEs
Sources
Originally found and disclosed by dyh18 (VulDB User), per the CVE Program record.
- VDB-354247 | SourceCodester Simple Doctors Appointment System login.php sql injection Vulnerability database entry
- VDB-354247 | CTI Indicators (IOB, IOC, TTP, IOA)
- Submit #780353 | SourceCodester Simple Doctor's Appointment System 1.0 SQL Injection Third-party advisory
- Exploit / PoC
- sourcecodester.com