Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate internet-exposed booking.php
-
DeliveryInject SQL payload into doc_id parameter
-
ExploitBypass query logic via UNION or boolean injection
-
ExecutionEnumerate database schema
-
ImpactExfiltrate patient records and credentials
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 | No special conditions are required beyond network reachability of the |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, score 5.5) rates vulnerable-system impact as VC:L/VI:L/VA:L, which appears conservative for a SQL injection vulnerability - full database exfiltration is generally achievable via standard techniques, warranting C:H in an independent assessment. No EPSS score was provided; the presence of a public PoC on GitHub elevates real-world exploitation probability substantially above baseline for this class of vulnerability. No CISA KEV listing exists at time of analysis, but the combination of PR:N/UI:N attack surface and public exploit code makes automated scanning straightforward. Even a mid-sized municipal IT team in swidnica that has deployed this booking system as part of a local healthcare portal should treat this as urgent given the fully unauthenticated, network-accessible attack path. The primary limiting factor on actual harm is the likely narrow deployment footprint - this is a demo-grade project, not a widely distributed commercial platform. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers the internet-facing booking endpoint and sends an HTTP GET or POST request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Unauthenticated SQL injection in code-projects Doctor Appointment System 1.0 exposes the /patient/booking.php endpoint to remote database manipulation via the unsanitized doc_id parameter. Attackers with network access can extract patient records, appointment data, and stored credentials, or modify database contents without any authentication. Public exploit code exists on GitHub, significantly lowering the bar for exploitation; no vendor patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis; code-projects products are typically educational or demo codebases without an active security maintenance track. The primary code-level fix is to replace direct parameter interpolation in /patient/booking.php with PHP PDO or MySQLi prepared statements for the doc_id query, eliminating the injection surface entirely. As an immediate compensating control, restrict public access to the /patient/booking.php endpoint via firewall rules or web server access controls (e.g., Apache Require ip or nginx allow/deny directives) to trusted networks only. Deploying a WAF rule targeting SQL metacharacter patterns in the doc_id parameter can reduce automated exploitation risk but should not be treated as a complete fix - WAF bypass via encoding or fragmentation is feasible. Any deployment holding real patient data should be taken offline until the prepared-statement fix is applied. Monitor VulDB at https://vuldb.com/vuln/398545 for any patch updates.
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 affected product is a PHP-based web application (CPE: cpe:2.3:a:code-projects:doctor_appointment_system:*:*:*:*:*:*:*:*) published by code-projects, a repository of educational and demo PHP projects. The vulnerability is a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the doc_id parameter passed to /patient/booking.php is interpolated directly into a SQL query without parameterized statements or input sanitization. This pattern is endemic to code-projects applications, which frequently omit prepared statement usage. The underlying database is typically MySQL or MariaDB, and standard error-based or time-based blind SQLi techniques are applicable given the lack of input validation.
Know when Doctor 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
Unauthenticated network-accessible SQLi enables full DB read/write; A:L as application denial-of-service is incidental, not primary impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in code-projects Doctor Appointment System 1.0. This vulnerability affects unknown code of the file /patient/booking.php. The manipulation of the argument doc_id results in sql injection. The attack may be launched remotely. The exploit is now public and may be used.
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 code-projects Doctor Appointment System SQL Injection
View all 2More in Doctor Appointment System
View allSourcecodester Doctor Appointment System 1.0 is vulnerable to SQL Injection in the variable $userid at doctors\myDetails
Doctormms v1.0 was discovered to contain a SQL injection vulnerability via the $userid parameter at myAppoinment.php. Ra
SQL injection in admin.php in doctor appointment system 1.0 allows an unauthenticated attacker to insert malicious SQL q
Blind SQL injection in contactus.php in Doctor Appointment System 1.0 allows an unauthenticated attacker to insert malic
Blind SQL injection in contactus.php in Doctor Appointment System 1.0 allows an unauthenticated attacker to insert malic
Blind SQL injection in contactus.php in doctor appointment system 1.0 allows an unauthenticated attacker to insert malic
Blind SQL injection in contactus.php in Doctor Appointment System 1.0 allows an unauthenticated attacker to insert malic
A vulnerability classified as critical was found in projectworlds Online Doctor Appointment Booking System 1.0. Rated me
A vulnerability was found in projectworlds Online Doctor Appointment Booking System 1.0. Rated medium severity (CVSS 6.9
SQL injection in the expertise parameter in search_result.php in Doctor Appointment System v1.0 allows an authenticated
Cross Site Scripting (XSS) vulnerability in contactus.php in Doctor Appointment System 1.0 allows remote attackers to in
Cross Site Scripting (XSS) vulnerability in contactus.php in Doctor Appointment System 1.0 allows remote attackers to in
EUVD-2026-70873
GHSA-vjqr-p6rh-8pwg
NVD
CVE.org
EPSS
VulDB
Exploit-DB