Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed get_doctor.php endpoint
-
ExploitCraft SQL payload in doctor/specilizationid parameter
-
ExecutionQuery executes injected SQL on MySQL backend
-
ImpactExtract or modify patient and credential data
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 network reachability to the get_doctor.php script and the ability to supply the 'doctor' or 'specilizationid' request parameters, which are passed unsanitized into an SQL query. The NVD CVSS vector asserts no authentication and no user interaction (PR:N/UI:N), implying default-configuration exploitation once the endpoint is reachable. Limiting factors: the software is a niche open-source PHP/MySQL project that must be actively deployed and internet-exposed to be attackable; if the deploying operator gates get_doctor.php behind a login (common in Hospital Management System deployments), an attacker would first need a valid session - this access path should be confirmed against the actual code, as the PR:N assertion is not independently verified here. |
| Impact | Signals conflict on real-world priority. The CVSS base score is 9.8 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H), which on its face is maximal-severity unauthenticated RCE-adjacent data compromise. However, EPSS is only 0.15% (5th percentile), the CVE is NOT on CISA KEV, and there is no confirmed public exploit - the two GitHub references are static taint-analysis findings (TaintRadar), not weaponized PoCs. There is no SSVC decision record in the input. The affected product is a small open-source teaching/portfolio project with negligible enterprise deployment, which reconciles the high CVSS with the low EPSS: the flaw is genuinely trivial to exploit where the app is exposed, but the app is rarely exposed. Note also a plausible tension - many Hospital Management System pages sit behind a login, so real-world exploitation may require reaching an authenticated endpoint; the NVD vector asserts PR:N and should be verified against the actual get_doctor.php access path. Net: technically critical but low operational priority for most organizations. |
| Exploit ScenarioDerived | An attacker who can reach the application's get_doctor.php endpoint submits a crafted value in the 'doctor' or 'specilizationid' parameter (e.g., a UNION-based or boolean-blind payload) to manipulate the underlying SQL query. This allows dumping patient and credential tables, and given I:H, modifying or deleting records. No public exploit is identified, but the injection is straightforward and the two parameters are documented injection points in the TaintRadar analyses. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
SQL injection in kishan0725 Hospital Management System 4.0 lets remote attackers inject arbitrary SQL through the 'doctor' and 'specilizationid' parameters of get_doctor.php, yielding full read/write access to the backend database. The CVSS 9.8 vector (PR:N) indicates unauthenticated network exploitation, though no public exploit is identified and EPSS remains very low at 0.15%. This is an open-source PHP/MySQL project on GitHub rather than commercial enterprise software, so real-world exposure is limited despite the critical score.
RemediationAI
No vendor-released patch is identified at time of analysis; this is a community GitHub project with no fix version in the provided data. The primary code-level fix is to rewrite the get_doctor.php database calls to use parameterized queries / prepared statements (PDO or mysqli bind parameters) for the 'doctor' and 'specilizationid' inputs, and add server-side type validation (e.g., cast specilizationid to integer). As compensating controls until upstream code is fixed: place the application behind authentication and restrict get_doctor.php to authenticated sessions (trade-off: breaks any intended public/AJAX use of the endpoint); deploy a WAF or ModSecurity ruleset to block SQL metacharacters on those two parameters (trade-off: signature-based filtering can be bypassed and may cause false positives on legitimate names); enforce least-privilege on the MySQL account so the web user cannot perform DDL or read other schemas (limits impact but not the injection itself). Track the upstream repository (github.com/kishan0725/hospital-management-system) for a patched release. Verify details via https://vuldb.com/vuln/384297 and the NVD entry.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is a PHP web application (kishan0725/hospital-management-system) backed by a MySQL/MariaDB database, a classic LAMP-stack project. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the get_doctor.php script concatenates the user-supplied 'doctor' and 'specilizationid' request parameters directly into an SQL query without parameterization or input sanitization. The CPE string provided is a placeholder (cpe:2.3:a:n/a:n/a:*) and does not identify a formal vendor/product, consistent with a community GitHub project; identification relies on the CVE description and the two TaintRadar analysis records rather than an authoritative CPE.
Know when PHP 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable script with unsanitized parameters gives AV:N/AC:L; NVD asserts PR:N/UI:N; SQLi over the DB yields full C:H/I:H/A:H, though PR:N depends on unverified public reachability.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
kishan0725 Hospital Management System 4.0 is vulnerale to SQL Injection in get_doctor.php via the parameters doctor and specilizationid.
Executive ViewAI
Healthcare organizations using kishan0725 Hospital Management System 4.0 face potential patient data compromise due to a critical SQL injection vulnerability enabling unauthorized database access without authentication. The vulnerability could allow attackers to extract, modify, or delete sensitive medical records; however, no active exploitation has been observed, and limited deployment of this open-source project reduces real-world exposure. Immediate identification of deployed instances and protective measures are essential.
No vendor-released patch identified at time of analysis. Implement Web Application Firewall rules blocking SQL injection patterns in vulnerable parameters, enforce input validation and parameterized SQL queries in application code if source access is available, restrict network access through firewall rules, and establish comprehensive database activity logging and monitoring to detect exploitation attempts.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2025-210541
GHSA-ghxv-gf56-x785
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB