Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid doctor-role credentials
-
DeliveryAuthenticate to Hospital Management System
-
ExploitSend crafted POST to /doctorchangepassword.php
-
ExecutionInject SQL payload in newpassword parameter
-
PersistManipulate backend SQL query
-
ImpactRead or modify 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 the attacker to possess a valid low-privilege account in the Hospital Management System (e.g., a registered doctor account), as indicated by PR:L in the CVSS 4.0 vector. The vulnerable endpoint |
| Impact | The CVSS 4.0 base score of 5.3 (Medium) reflects a network-reachable, low-complexity flaw requiring low-privilege authentication (PR:L) with limited confidentiality, integrity, and availability impact (VC:L/VI:L/VA:L). The E:P tag confirms exploit code is publicly available, raising the practical priority above what the base score alone suggests. No EPSS score was provided in the input, so exploitation probability cannot be quantified. The product is not in CISA KEV, indicating no confirmed widespread active exploitation. The most significant limiting factor is PR:L: an attacker must first obtain valid credentials, reducing automated mass exploitation potential. The constrained impact metrics (all Low) suggest the underlying database schema or privilege model limits the blast radius even if injection succeeds. Real-world risk is moderate for organizations that have deployed this application with internet-facing access and weakly controlled accounts; it is low for environments with no external exposure. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege doctor account sends a crafted HTTP POST request to |
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 backend database to authenticated remote attackers through the newpassword parameter of /doctorchangepassword.php. An attacker holding low-privilege credentials - such as a doctor account - can craft malicious SQL payloads to read, modify, or potentially delete database records. A public exploit exists per the CVSS 4.0 E:P modifier and a referenced GitHub issue; no active exploitation has been confirmed by CISA KEV.
RemediationAI
No vendor-released patch has been identified at time of analysis; the itsourcecode.com project does not appear to have published a fix. The primary remediation is to rewrite the SQL query in /doctorchangepassword.php to use parameterized prepared statements (e.g., PHP PDO or MySQLi prepared statements), which eliminates the injection vector entirely. As an interim compensating control, deploy a Web Application Firewall (WAF) rule to detect and block SQL metacharacters in the newpassword parameter - note this may cause false positives for users with special characters in passwords. Additionally, restrict network access to the application to trusted internal networks only, removing internet-facing exposure. Enforce the principle of least privilege on the database account used by the application so it cannot perform DDL operations (DROP, ALTER) even if injection is achieved. VulDB entry: https://vuldb.com/vuln/374549.
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 application is a PHP-based hospital management system distributed by itsourcecode (CPE: cpe:2.3:a:itsourcecode:hospital_management_system:*:*:*:*:*:*:*:*). The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the /doctorchangepassword.php endpoint incorporates the user-supplied newpassword POST parameter directly into a SQL query without parameterization or adequate sanitization. Because this endpoint is associated with a password-change workflow, the injected value bypasses typical output-encoding defenses and reaches the database layer unfiltered. The application stack is PHP with a relational database backend, consistent with typical itsourcecode tutorial projects.
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
Requires low-privilege authentication (PR:L); network-reachable via web form (AV:N); limited and symmetric impact across C/I/A consistent with constrained DB role.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in itsourcecode Hospital Management System 1.0. This impacts an unknown function of the file /doctorchangepassword.php. Executing a manipulation of the argument newpassword can lead to sql injection. The attack may be performed from remote. The exploit has been made available to the public and could 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.
More 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-40041
GHSA-vf94-fqp2-59p2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB