Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing Hospital Information System instance
-
ExploitSend crafted HTTP request with SQL payload in ID parameter
-
ExecutiongetSinglePresp passes unsanitized ID into SQL query
-
ImpactExtract patient records or credentials via UNION/error-based SQLi
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 - the vulnerable endpoint is exposed over the network with no authentication prerequisite (CVSS 4.0 PR:N, UI:N, AC:L). Any network-reachable instance of Hospital Information System 1.0 is exploitable by sending a crafted HTTP request with a malicious |
| Impact | The CVSS 4.0 score of 5.5 with E:P (exploit publicly available) represents a meaningful real-world risk despite the moderate score. The impact metrics VC:L/VI:L/VA:L in the 4.0 vector appear conservative for a SQL injection - typical SQLi in a PHP application permits full database enumeration (UNION-based or error-based extraction), which would expose patient medical records, credentials, and PII stored in the hospital system. The CVSS 4.0 limited-impact scoring may reflect the specific injection point being a single stored-procedure-style query rather than a stacked-query or out-of-band vector. No CISA KEV listing is present, suggesting no confirmed widespread active exploitation. However, a public GitHub PoC (referenced in the exploit tag) significantly lowers the attack complexity in practice. The product's deployment in healthcare contexts elevates the consequence of even partial data disclosure given HIPAA/GDPR-equivalent sensitivities around patient data. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted 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
SQL injection in code-projects Hospital Information System 1.0 allows unauthenticated remote attackers to manipulate database queries through the ID parameter of the getSinglePresp function in includes/presp/PrespController.php. A public exploit has been released via GitHub, lowering the barrier for opportunistic attacks. Successful exploitation could expose sensitive patient records and medical data stored in the backend database, or allow unauthorized data modification.
RemediationAI
No vendor-released patch has been identified at time of analysis - the CPE wildcard and absence of a fix version in any reference confirm no patched release exists. Operators should immediately disable or restrict public access to the PrespController.php endpoint, blocking network access to the getSinglePresp function via web server ACLs or WAF rules targeting SQL metacharacter injection patterns in the ID parameter (note: WAF rules may be bypassed by encoding variations and are not a complete fix). As a more robust compensating control, place the application behind a VPN or IP allowlist so only authorized clinical staff can reach it, eliminating the unauthenticated network attack surface. The underlying fix requires refactoring getSinglePresp to use PHP PDO or MySQLi prepared statements with bound parameters. VulDB reports are available at https://vuldb.com/vuln/398542 and the public PoC is documented at https://github.com/lccc-t/CVE/issues/4.
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 hospital management system published by code-projects.org (CPE: cpe:2.3:a:code-projects:hospital_information_system:*:*:*:*:*:*:*:*), commonly deployed in small clinics and educational environments. The root cause is CWE-89 (Improper Neutralization of Special Elements in SQL Commands): the getSinglePresp function in PrespController.php constructs a SQL query incorporating the user-supplied ID argument without adequate sanitization or parameterization. This is a classic unsanitized input concatenation pattern endemic to legacy PHP codebases lacking prepared statements. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms the flaw is remotely exploitable with no authentication or special conditions required.
Know when Hospital Information 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 SQLi typically permits full DB read (C:H); limited write via single parameterized endpoint (I:L); no availability impact expected.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in code-projects Hospital Information System 1.0. Affected by this vulnerability is the function getSinglePresp of the file includes/presp/PrespController.php. Performing a manipulation of the argument ID results in sql injection. The attack can be initiated 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.
Related Vulnerabilities in code-projects Hospital Information System SQL Injection
View all 3More in Hospital Information System
View allHospital Information System version 1.0 suffers from a remote SQL injection vulnerability that allows for authentication
Hospital Information System 1.0 by code-projects exposes its raw SQL database backup file at the web-accessible path `/H
Code Projects Hospital Information System 1.0 is vulnerable to Cross Site Scripting (XSS). Rated medium severity (CVSS 4
Reflected cross-site scripting (XSS) in code-projects Hospital Information System 1.0 allows a remote authenticated atta
EUVD-2026-70867
GHSA-mvj6-g22q-4pr3
NVD
CVE.org
EPSS
VulDB
Exploit-DB