Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | This vulnerability presents HIGH real-world risk despite the moderately elevated CVSS score of 7.3. Risk assessment synthesis: (1) CVSS Vector Analysis - AV:N (network-accessible), AC:L (low complexity), PR:N (no privileges required), UI:N (no user interaction) indicates trivial exploitation by any unauthenticated actor; (2) Public Exploitation - The disclosure of proof-of-concept code dramatically elevates exploitation probability; attackers have ready-made tools; (3) Impact Scope - Affects confidentiality, integrity, and availability (C:L, I:L, A:L), but in a healthcare context these impacts cascade to patient safety and HIPAA violations; (4) Automatable - SQL injection against login endpoints is highly automatable, enabling mass exploitation; (5) Real-world Priority - Healthcare systems are high-value targets; this specific vulnerability on a login endpoint provides initial access for lateral movement. While the CVSS impact ratings are modest, the combination of unauthenticated remote exploitation, public POC availability, and healthcare sector targeting makes this a critical priority regardless of CVSS score. Exploitation is virtually certain if systems remain unpatched. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers a hospital's deployment of PHPGurukul Hospital Management System 4.0 through web reconnaissance (banner grabbing, error messages, or public source repositories). The attacker crafts a malicious SQL injection payload in the Username field: Username: admin' OR '1'='1 or more sophisticated UNION-based injection (Username: ' UNION SELECT username,password FROM users--). The attacker submits this via HTTP POST to /user-login.php. Due to lack of input sanitization, the malicious SQL is executed against the backend database, bypassing authentication entirely or extracting sensitive data (patient records, user credentials, billing information). With POC code publicly available, the attacker may automate this attack against multiple healthcare institutions. Once authenticated, the attacker gains access to patient data (violating HIPAA), can modify medical records, extract credentials for lateral movement, or insert malicious records. Attack complexity is low: simple HTTP requests with hand-crafted payloads or open-source SQL injection tools (sqlmap) fully automate exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
PHPGurukul Hospital Management System 4.0 contains a critical SQL injection vulnerability in the /user-login.php file's Username parameter that allows unauthenticated remote attackers to execute arbitrary SQL queries. The vulnerability has been publicly disclosed with proof-of-concept code available, enabling unauthorized access to sensitive hospital patient data, user credentials, and potential system compromise. With a CVSS score of 7.3 and an attack vector requiring only network access and no authentication, this represents an immediate threat to healthcare organizations running affected versions.
RemediationAI
Immediate Actions: (1) Patch/Upgrade - Update PHPGurukul Hospital Management System to version 5.0 or later if available; verify patch availability from PHPGurukul official repositories or GitHub; (2) If no patch is available - implement prepared statements with parameterized queries for all database operations in /user-login.php, replacing direct SQL concatenation; (3) Input Validation - Implement strict whitelist validation on the Username parameter (alphanumeric only, maximum length enforcement); (4) Web Application Firewall - Deploy WAF rules blocking common SQL injection payloads (single quotes, SQL keywords like UNION, OR 1=1); (5) Access Controls - Restrict network access to /user-login.php to expected user groups; use reverse proxy authentication; (6) Database Hardening - Apply principle of least privilege to database user accounts used by the application; disable dangerous functions like exec() in PHP; (7) Monitoring - Implement logging and alerting for failed SQL queries and suspicious authentication attempts. Vendor advisory should be checked at PHPGurukul's official channels or GitHub repository for official patch status.
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 is a classic SQL injection flaw (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component) in a PHP-based hospital management web application. The /user-login.php endpoint fails to properly sanitize or parameterize user-supplied input in the Username parameter before incorporating it into SQL queries. This allows attackers to inject SQL metacharacters and commands that alter query logic. PHPGurukul Hospital Management System 4.0 is a PHP application designed for hospital operations management; the affected version likely uses direct SQL query concatenation rather than prepared statements or parameterized queries. The technology stack involves PHP, likely MySQL or similar relational database backend, and web-based authentication mechanisms.
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:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in PHPGurukul Hospital Management System 4.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /user-login.php. The manipulation of the argument Username leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A critical SQL injection vulnerability in PHPGurukul Hospital Management System 4.0 allows unauthenticated attackers to remotely compromise patient data and system integrity. With public exploits available and no vendor patch currently released, this poses an immediate risk to patient privacy, regulatory compliance (HIPAA), and operational continuity for healthcare organizations using this system.
Deploy WAF rules to detect and block SQL injection attempts targeting /user-login.php; implement network segmentation to restrict access to the application from trusted networks only; enforce strong database account permissions and monitor for unauthorized queries; disable the system until patches are available if patient-facing services cannot be secured; implement real-time alerting on authentication failures and database query anomalies.
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-2025-21349
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB