Skip to main content

Doctor Appointment System EUVDEUVD-2026-70873

| CVE-2026-85402 MEDIUM
SQL Injection (CWE-89)
2026-09-04 VulDB GHSA-vjqr-p6rh-8pwg
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate internet-exposed booking.php
  2. Delivery
    Inject SQL payload into doc_id parameter
  3. Exploit
    Bypass query logic via UNION or boolean injection
  4. Execution
    Enumerate database schema
  5. Impact
    Exfiltrate 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 /patient/booking.php endpoint. The CVSS 4.0 vector confirms PR:N and UI:N, meaning exploitation is unauthenticated and requires no victim interaction. The application must simply be deployed and accessible over HTTP/HTTPS - no non-default configuration, feature flag, or plugin is needed. The doc_id parameter is a standard booking form field (doctor selection), present in normal application usage. The only limiting factors are that the PHP application must be running with database connectivity active, and the server must not be behind a WAF or IP-allowlist that blocks external requests.

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 /patient/booking.php?doc_id=1' OR 1=1 UNION SELECT table_name,2,3 FROM information_schema.tables--. The application passes this unsanitized input directly into a SQL query, returning enumerated table names in the response. The attacker then proceeds to dump the users or patients table, extracting plaintext or weakly hashed credentials and personal health information. Public exploit code on GitHub (https://github.com/lccc-t/CVE/issues/5) provides a ready-made template for this extraction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Doctor Appointment System 1.0

Affected Packages

euvd doctor_appointment_system no fix

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 9.4 CRITICAL

Unauthenticated network-accessible SQLi enables full DB read/write; A:L as application denial-of-service is incidental, not primary impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Sep 04, 2026 - 03:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Sep 04, 2026 - 03:00 cve.org
MEDIUM 5.5

DescriptionCVE.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

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Rare
demo/educational PHP project, minimal production deployment
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2
CVE-2023-40945 CRITICAL POC
9.8 Sep 11

Sourcecodester Doctor Appointment System 1.0 is vulnerable to SQL Injection in the variable $userid at doctors\myDetails

CVE-2023-39852 CRITICAL POC
9.8 Aug 15

Doctormms v1.0 was discovered to contain a SQL injection vulnerability via the $userid parameter at myAppoinment.php. Ra

CVE-2021-27314 CRITICAL POC
9.8 Mar 05

SQL injection in admin.php in doctor appointment system 1.0 allows an unauthenticated attacker to insert malicious SQL q

CVE-2021-27320 HIGH POC
7.5 Mar 24

Blind SQL injection in contactus.php in Doctor Appointment System 1.0 allows an unauthenticated attacker to insert malic

CVE-2021-27319 HIGH POC
7.5 Mar 24

Blind SQL injection in contactus.php in Doctor Appointment System 1.0 allows an unauthenticated attacker to insert malic

CVE-2021-27316 HIGH POC
7.5 Mar 24

Blind SQL injection in contactus.php in doctor appointment system 1.0 allows an unauthenticated attacker to insert malic

CVE-2021-27315 HIGH POC
7.5 Mar 24

Blind SQL injection in contactus.php in Doctor Appointment System 1.0 allows an unauthenticated attacker to insert malic

CVE-2025-3180 MEDIUM POC
6.9 Apr 03

A vulnerability classified as critical was found in projectworlds Online Doctor Appointment Booking System 1.0. Rated me

CVE-2025-3178 MEDIUM POC
6.9 Apr 03

A vulnerability was found in projectworlds Online Doctor Appointment Booking System 1.0. Rated medium severity (CVSS 6.9

CVE-2021-27124 MEDIUM POC
6.5 Feb 18

SQL injection in the expertise parameter in search_result.php in Doctor Appointment System v1.0 allows an authenticated

CVE-2021-27318 MEDIUM POC
6.1 Mar 01

Cross Site Scripting (XSS) vulnerability in contactus.php in Doctor Appointment System 1.0 allows remote attackers to in

CVE-2021-27317 MEDIUM POC
6.1 Mar 01

Cross Site Scripting (XSS) vulnerability in contactus.php in Doctor Appointment System 1.0 allows remote attackers to in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy