Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Real-world risk is HIGH despite the 7.3 CVSS score falling just below 'critical' threshold. Multiple risk signals converge: the CVSS vector shows network-accessible attack requiring no user interaction or authentication (AV:N/AC:L/PR:N/UI:N), meaning any exposed instance is trivially exploitable. Publicly available exploit code exists (GitHub POC at github.com/dyh1213-wq/cve/issues/4), reducing attacker effort to script-kiddie level. The CVSS Environmental score indicates Proof-of-Concept exploitation (E:P) is confirmed. No CISA KEV listing suggests no widespread campaign detected yet, but the low barrier to exploitation and authentication bypass capability make this attractive for opportunistic scanning. SSVC factors indicate high automatable potential (login forms are easily fingerprinted), technical impact includes credential theft and data manipulation, and the system's healthcare context amplifies impact. Contrast with high-CVSS vulnerabilities requiring local access or complex exploitation chains - this is a point-and-shoot web vulnerability with published instructions. Organizations running this application on public networks face immediate risk, especially given SourceCodester's distribution model (free code often deployed without security hardening). The 'Simple' in the product name and free availability suggest wide deployment by smaller medical practices with limited security resources. |
| Exploit ScenarioDerived | An external attacker performs reconnaissance using automated vulnerability scanners or manual probing to identify Simple Doctors Appointment System deployments by fingerprinting the /admin/ajax.php endpoint and SourceCodester-specific HTML patterns. Using the publicly available GitHub proof-of-concept, the attacker crafts a malicious HTTP POST request to /admin/ajax.php?action=login2, injecting SQL payload into the email parameter such as ' OR '1'='1' -- to bypass authentication, or UNION-based injection to extract database tables. Successful exploitation grants administrative access to the appointment system, exposing patient names, contact information, appointment schedules, and potentially medical notes. The attacker could pivot to exfiltrate the entire database, create backdoor accounts, or modify appointment records for fraud schemes. Given the low attack complexity and no authentication requirement, this attack can be automated and scaled across internet-facing instances identified through Shodan or similar search engines. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 allows unauthenticated remote attackers to compromise confidentiality, integrity, and availability via the /admin/ajax.php login endpoint. Attackers manipulate the 'email' parameter to execute arbitrary SQL commands. Publicly available exploit code exists (GitHub POC published), significantly lowering the attack barrier. The CVSS score of 7.3 reflects network-based exploitation requiring low complexity and no privileges, with partial impact across all CIA triad elements. No CISA KEV listing at time of analysis, but the combination of public exploit and authentication bypass capability makes this a realistic threat to internet-facing instances.
RemediationAI
No vendor-released patch identified at time of analysis. SourceCodester products are often distributed as educational code samples without ongoing security maintenance or formal patch cycles. Organizations should immediately implement defense-in-depth controls: first, restrict network access to the /admin/ directory using IP whitelisting, VPN requirements, or removing public exposure entirely. Second, deploy a web application firewall (WAF) with SQL injection signatures targeting the vulnerable endpoint - rules should inspect POST parameters to /admin/ajax.php for SQL metacharacters and injection patterns. Third, conduct code review of the login2 function in ajax.php and implement parameterized queries using PDO prepared statements or mysqli_prepare functions to sanitize the email parameter. For organizations unable to modify the code, consider replacing the application with a maintained alternative that receives security updates. Monitor for the GitHub POC exploit pattern (available at github.com/dyh1213-wq/cve/issues/4) in web access logs. Additional vulnerability intelligence available through VulDB entries 354248 at vuldb.com/vuln/354248. If the application stores protected health information (PHI), treat this as a potential HIPAA breach incident requiring risk assessment per regulatory requirements.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from improper neutralization of special elements in SQL commands (CWE-89), a classic injection flaw in web applications. The affected component is /admin/ajax.php in the login2 action handler, where user-supplied input from the 'email' parameter is concatenated directly into SQL queries without parameterization or adequate sanitization. SourceCodester Simple Doctors Appointment System is a PHP-based web application for managing medical appointments, typically deployed with MySQL/MariaDB backends. The CPE identifier (cpe:2.3:a:sourcecodester:simple_doctors_appointment_system) confirms this is a SourceCodester product. SQL injection at the authentication layer is particularly severe because attackers can bypass login mechanisms entirely, extract database contents (including credentials, patient records), modify data, or escalate to operating system command execution depending on database permissions and configuration. The PHP ecosystem's historical challenges with SQL injection - often due to use of deprecated mysql_* functions or improper use of mysqli/PDO - likely contributed to this flaw.
Know when Simple Doctors Appointment System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in SourceCodester Simple Doctors Appointment System 1.0. This vulnerability affects unknown code of the file /admin/ajax.php?action=login2. This manipulation of the argument email causes sql injection. The attack is possible to be carried out remotely. The exploit has been published and may be used.
Executive ViewAI
SourceCodester Simple Doctors Appointment System 1.0 contains a critical SQL injection vulnerability in the login endpoint that allows unauthenticated attackers to bypass authentication and access patient data, appointment records, and system configurations. With publicly available exploit code and no vendor patch available, any organization running this product on internet-facing servers faces immediate risk of data breach and operational disruption.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /admin/ajax.php endpoint via firewall or WAF to trusted administrators only; (2) Deploy WAF rules to detect and block SQL injection payloads in the 'email' parameter; (3) Implement database-level access controls limiting appointment system credentials to read-only where operationally feasible; (4) Enable detailed audit logging on authentication attempts and database queries; (5) Isolate affected systems from direct internet access behind VPN or jump-host authentication. These controls reduce exploitation likelihood but do not eliminate risk-patch or replacement is required for full remediation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Related Vulnerabilities in SourceCodester Doctors Appointment System SQL Injection
View all 3SQL injection in SourceCodester Simple Doctors Appointment System 1.0 exposes the `/admin/ajax.php?action=set_appointmen
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 exposes the application's database to remote manip
Unrestricted file upload in SourceCodester Simple Doctors Appointment System 1.0 allows a remote, high-privilege attacke
EUVD-2026-17313
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB