Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker sends HTTP request to /viewappointment.php
-
DeliveryInjects SQL payload in delid parameter
-
ExploitUnsanitized input concatenated into SQL query
-
ExecutionQuery executes with application database permissions
-
PersistSensitive data (appointment, patient records) retrieved or modified
-
ImpactInformation disclosure or data integrity compromise achieved
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 | Remote unauthenticated attackers can exploit this vulnerability without special configuration or user interaction. The SQL injection is triggered by sending crafted requests directly to /viewappointment.php with the delid parameter. No authentication is required (PR:N). No non-default configuration or feature enablement is stated in the description, suggesting the vulnerability exists in default deployments. The attack does not require social engineering or user interaction (UI:N). Exploitation is limited to the context of the /viewappointment.php endpoint and may be constrained by database permissions and error verbosity; blind SQL injection techniques are needed if errors are suppressed. |
| Impact | CVSS 5.5 with AV:N/AC:L/PR:N/UI:N indicates network-accessible, unauthenticated exploitation requiring no user interaction or unusual conditions. However, the impact scope shows limited confidentiality (VC:L), integrity (VI:L), and availability (VA:L) effects - suggesting the SQL injection does not lead to complete system compromise but rather controlled data access or modification. EPSS and KEV status are not provided, limiting exploitation probability assessment beyond public POC availability. The E:P (Proof of Concept) rating confirms exploit code is public and tested. Real-world risk is moderate: while network-exploitable, the contained impact suggests this is not a remote code execution vector. Organizations using this application should prioritize patching, but this is not an emergency C-level escalation if other controls (WAF, input validation patches) are in place. The absence of vendor advisory data or patch information from code-projects.org raises concern about vendor responsiveness. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to /viewappointment.php with a malicious SQL payload injected into the delid parameter, such as 'delid=1 OR 1=1' or a time-blind query like 'delid=1 AND SLEEP(5)'. The application concatenates this unsanitized input into a SQL query and executes it against the backend database. The attacker observes response timing or error messages to infer database structure and extract sensitive appointment or patient data. Public POC code using time-blind techniques is available on GitHub (Sh1tKing/cve repository), enabling low-skill threat actors to reproduce the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 02, 2026
SQL injection in code-projects Online Hospital Management System 1.0 allows remote unauthenticated attackers to manipulate the delid parameter in /viewappointment.php, enabling database queries with limited confidentiality and integrity impact. The vulnerability is publicly disclosed with available exploit code and poses a network-accessible risk to unpatched deployments.
RemediationAI
No vendor-released patch identified at time of analysis. Immediate actions: (1) Implement input validation and parameterized SQL queries (prepared statements) on the delid parameter in /viewappointment.php to eliminate SQL injection. (2) Apply Web Application Firewall (WAF) rules to block SQL injection payloads in request parameters. (3) Restrict direct database access to least-privilege service accounts, limiting impact if injection succeeds. (4) Upgrade to a patched version once code-projects releases a fix - check code-projects.org regularly or contact the vendor directly at the repository linked in references. (5) As interim measure, require authentication for /viewappointment.php access if business logic permits, reducing exposure to unauthenticated remote attackers. Monitor database logs for anomalous queries to detect exploitation attempts.
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 vulnerability exists in a PHP-based hospital management application where user input via the delid parameter in /viewappointment.php is passed unsanitized to SQL queries, violating input validation practices (CWE-89: Improper Neutralization of Special Elements used in an SQL Command). The attack leverages HTTP GET/POST parameters to inject arbitrary SQL syntax. CPE cpe:2.3:a:code-projects:online_hospital_management_system indicates the affected product line from code-projects.org. The publicly disclosed exploit references time-blind SQL injection techniques, suggesting data exfiltration is possible through time-delay inference.
Know when Online Hospital Management 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 Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was determined in code-projects Online Hospital Management System 1.0. This affects an unknown function of the file /viewappointment.php. This manipulation of the argument delid causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
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.
Code-Projects Online Hospital Management System V1.0 is vulnerable to SQL Injection (SQLI) attacks, which allow an attac
A vulnerability was found in SourceCodester Online Hospital Management System 1.0. Rated critical severity (CVSS 9.8), t
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0, specifically in the /user-logi
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0, affecting the /registration.ph
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0 affecting the /admin/registrati
Campcodes Online Hospital Management System 1.0 is vulnerable to SQL Injection in /admin/index.php via the parameter use
A vulnerability classified as critical has been found in SourceCodester Online Hospital Management System 1.0. Rated med
A critical SQL injection vulnerability exists in Campcodes Online Hospital Management System version 1.0 affecting the /
A SQL injection vulnerability (CVSS 7.3). Risk factors: public PoC available.
CVE-2025-6406 is a critical SQL injection vulnerability in Campcodes Online Hospital Management System version 1.0, spec
SQL injection in code-projects Online Hospital Management System 1.php enables remote unauthenticated attackers to manip
Improper authorization in code-projects Online Hospital Management System 1.0 allows authenticated remote attackers to m
EUVD-2026-26794
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB