Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application credentials
-
DeliveryAuthenticate to Hospital Management System
-
ExploitSend crafted HTTP request to /department.php with malicious editid payload
-
ExecutionBackend SQL query executes injected statement
-
ImpactExtract or manipulate hospital database 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 | Exploitation requires a valid low-privilege authenticated session on the Hospital Management System - the CVSS 4.0 PR:L metric explicitly confirms authentication is mandatory, and unauthenticated exploitation is not indicated by any available data. The attacker must be able to reach /department.php over HTTP/HTTPS, meaning the application must be accessible from the attacker's network. The |
| Impact | The CVSS 4.0 base score of 5.3 (Medium) with vector AV:N/AC:L/AT:N/PR:L/UI:N correctly reflects that the attack is network-reachable with low complexity but requires a low-privilege authenticated session, tempering the apparent severity. The E:P (proof-of-concept) supplemental metric elevates practical urgency - a public exploit exists at GitHub (https://github.com/Fomovet/cve/issues/2), meaning exploitation is not merely theoretical. The vulnerability is NOT listed in CISA KEV, and no EPSS score was provided, so widespread automated exploitation has not been confirmed. Real-world risk is moderate-to-low due to the niche, educational nature of the affected product and the authentication prerequisite; however, any internet-facing deployment with registered users faces concrete exploitation risk given the available POC. |
| Exploit ScenarioDerived | An attacker with a low-privilege account on a deployed Hospital Management System instance sends a crafted HTTP request to /department.php with a payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
SQL injection in itsourcecode Hospital Management System 1.0 exposes the /department.php endpoint to database manipulation via the unsanitized editid parameter, allowing a remote low-privileged authenticated attacker to read, modify, or delete hospital database contents. The CVSS 4.0 vector (PR:L) confirms a valid user account is required, constraining but not eliminating risk for internet-exposed instances. A public exploit has been released on GitHub, materially increasing the likelihood of opportunistic abuse against deployed instances.
RemediationAI
No vendor-released patch has been identified at time of analysis; the itsourcecode project does not appear to have issued a formal security advisory or updated release. The primary remediation is to replace direct string interpolation in the editid SQL query within /department.php with parameterized queries or prepared statements using PDO or MySQLi. As a compensating control, deploy a Web Application Firewall (WAF) rule to block SQL metacharacter patterns (quotes, UNION, SELECT, --, etc.) in the editid parameter - note this may break legitimate department ID inputs if not carefully scoped. Additionally, restrict access to the application to trusted internal networks only, removing internet exposure where operationally feasible. Reference: https://vuldb.com/vuln/374539.
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
This is a CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) flaw in a PHP-based hospital management web application authored by itsourcecode (CPE: cpe:2.3:a:itsourcecode:hospital_management_system:*:*:*:*:*:*:*:*). The /department.php script accepts an editid GET or POST parameter and passes it directly into a backend SQL query without parameterization or escaping, a textbook unsanitized input vulnerability. itsourcecode publishes demo/tutorial PHP projects for developers at itsourcecode.com; this system is a PHP/MySQL stack with no indication of a prepared-statement pattern in the affected endpoint.
Know when 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable (AV:N), low complexity (AC:L), low-privilege auth required (PR:L), no user interaction; SQL injection yields partial database read/write/delete with low C/I/A in unchanged scope.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in itsourcecode Hospital Management System 1.0. Affected is an unknown function of the file /department.php. The manipulation of the argument editid results in sql injection. The attack may be performed from remote. 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 itsourcecode Hospital Management System SQL Injection Flaws
View all 4More in Hospital Management System
View allAn arbitrary file upload vulnerability in the component /jquery-file-upload/server/php/index.php of Hospital Management
A JQuery Unrestricted Arbitrary File Upload vulnerability was discovered in Hospital Management System V4.0 which allows
SQL injection vulnerability in Hospital Management System Project in ASP.Net MVC 1 allows aremote attacker to execute ar
A vulnerability was found in SourceCodester Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vul
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex
Hospital Management System v1.0 was discovered to contain multiple SQL injection vulnerabilities via the Username and Pa
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter at orde
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at doc
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at adm
EUVD-2026-40028
GHSA-2223-xwm4-7m5g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB