Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate internet-exposed admin panel
-
DeliveryIdentify /admin/ajax.php endpoint
-
ExploitInject SQL payload into 'id' parameter
-
ExecutionTrigger unsanitized database query
-
ImpactExtract or manipulate appointment records
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. |
| Exploitation Conditions | The vulnerable endpoint /admin/ajax.php?action=delete_appointment must be network-reachable. The CVSS 4.0 vector assigns PR:N (no privileges required), which the reporter assessed as meaning no authentication is needed to reach and exploit this endpoint - however, the /admin/ path prefix strongly implies an administrative session boundary that should be independently verified for each deployment; if standard session authentication is enforced, exploitation requires a valid admin session (PR:L or PR:H). No special non-default configuration is required beyond the application being deployed and the admin interface being accessible. Exploitation is limited by the product's minimal real-world deployment, and any network-layer restriction (firewall, VPN, IP allowlist) on the admin panel effectively prevents exploitation. |
| Impact | The CVSS 4.0 score of 6.9 with AV:N/AC:L/AT:N/PR:N/UI:N reflects a straightforward, low-friction network attack. However, partial impact metrics (VC:L/VI:L/VA:L) indicate the blast radius is limited rather than catastrophic - consistent with SQLi that enables data enumeration and record manipulation rather than full OS compromise. The public POC (GitHub issues tracker) meaningfully lowers the skill bar for exploitation. Notably, the endpoint sits under an /admin/ path, which in typical PHP web apps implies session-gated access - the PR:N assessment by VulDB may reflect a bypass or lack of authentication enforcement specific to this application, but this is inferred rather than confirmed. No EPSS score was provided and no KEV listing exists, suggesting exploitation is opportunistic rather than widespread. Real-world risk is further bounded by the product's extremely narrow deployment base (hobbyist/student projects). Defenders should prioritize based on whether this application is internet-facing and whether the admin panel is publicly reachable. |
| Exploit ScenarioDerived | An attacker discovers a SourceCodester Simple Doctors Appointment System instance via a web search or automated scanner, then submits a crafted HTTP GET or POST request to /admin/ajax.php?action=delete_appointment&id=1' OR '1'='1 (or a UNION-based payload) without requiring a valid session if authentication is absent or bypassable. The injected SQL executes against the backend database, allowing the attacker to enumerate patient appointment records, extract credentials stored in the database, or delete/corrupt records. A public POC demonstrating this technique is available at https://github.com/Andyov0/cve/issues/3. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 exposes the application's database to remote manipulation through the unsanitized 'id' parameter in the admin delete-appointment endpoint. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) indicates low-complexity remote exploitation with no authentication formally required per the reporter's assessment, though the /admin/ path implies a session context that should be independently verified. A public proof-of-concept is available on GitHub, raising practical exploitation risk despite the product's limited real-world footprint; no active exploitation (CISA KEV) has been recorded.
RemediationAI
No vendor-released patch has been identified at time of analysis; the CPE wildcard and absence of any advisory from SourceCodester confirm no fixed version is available. The primary long-term fix is to rewrite database interactions using PDO prepared statements or mysqli parameterized queries, ensuring the 'id' parameter is bound rather than interpolated. As an immediate compensating control, restrict network access to the /admin/ directory using web server configuration (e.g., Apache .htaccess IP allowlist or nginx allow/deny directives) so only trusted management hosts can reach the endpoint - this is the most impactful short-term mitigation but requires careful allowlist maintenance. Deploying a web application firewall (WAF) with SQLi rulesets (e.g., ModSecurity CRS) can reduce exploitation success but should not be treated as a primary control. If the application is internet-facing and cannot be immediately patched or restricted, consider taking the admin interface offline until a fix is applied. References: VulDB advisory at https://vuldb.com/vuln/386995 and the public POC at https://github.com/Andyov0/cve/issues/3.
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
The application is a PHP-based web system distributed by SourceCodester, a platform for hobbyist and student code projects. The vulnerable endpoint is /admin/ajax.php?action=delete_appointment, where the 'id' parameter is concatenated into a SQL query without sanitization or parameterization. CWE-89 (Improper Neutralization of Special Elements used in a SQL Command) is the root cause - a classic failure to use prepared statements or bound parameters in PHP database interactions (likely via mysqli or PDO). The affected CPE is cpe:2.3:a:sourcecodester:simple_doctors_appointment_system:*:*:*:*:*:*:*:*, with version 1.0 confirmed as affected per EUVD-2026-54575. The wildcard CPE version range suggests no patched version has been formally published.
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
Admin-path endpoint implies at least a low-privilege session is required; partial C/I/A impact reflects SQLi scope limited to application data.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in SourceCodester Simple Doctors Appointment System 1.0. This vulnerability affects unknown code of the file /admin/ajax.php?action=delete_appointment. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.
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.
SQL 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 allows unauthenticated remote attackers to comprom
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 allows remote unauthenticated attackers to extract
Unrestricted file upload in SourceCodester Simple Doctors Appointment System up to version 1.0 allows authenticated remo
Unrestricted file upload in SourceCodester Simple Doctors Appointment System 1.0 allows a remote, high-privilege attacke
EUVD-2026-54575
GHSA-6xff-q3mm-r426
NVD
CVE.org
EPSS
VulDB
Exploit-DB