Skip to main content

Hospital Management System EUVDEUVD-2025-21349

| CVE-2025-7604 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-14 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

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

Hospital Management System 4.0

Affected Packages

euvd hospital_management_system no fix

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jul 16, 2025 - 14:32 vuln.today
Public exploit code
CVE Published
Jul 14, 2025 - 13:15 nvd
HIGH 7.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-43958 CRITICAL POC
9.8 Apr 22

An arbitrary file upload vulnerability in the component /jquery-file-upload/server/php/index.php of Hospital Management

CVE-2020-26629 CRITICAL POC
9.8 Jan 10

A JQuery Unrestricted Arbitrary File Upload vulnerability was discovered in Hospital Management System V4.0 which allows

CVE-2024-40502 CRITICAL POC
9.8 Jul 22

SQL injection vulnerability in Hospital Management System Project in ASP.Net MVC 1 allows aremote attacker to execute ar

CVE-2023-4176 CRITICAL POC
9.8 Aug 06

A vulnerability was found in SourceCodester Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vul

CVE-2023-3811 CRITICAL POC
9.8 Jul 21

A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2023-3810 CRITICAL POC
9.8 Jul 21

A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2023-3809 CRITICAL POC
9.8 Jul 21

A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2023-31498 CRITICAL POC
9.8 May 11

A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex

CVE-2022-38637 CRITICAL POC
9.8 Sep 13

Hospital Management System v1.0 was discovered to contain multiple SQL injection vulnerabilities via the Username and Pa

CVE-2022-32095 CRITICAL POC
9.8 Jul 01

Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter at orde

CVE-2022-32094 CRITICAL POC
9.8 Jul 01

Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at doc

CVE-2022-32093 CRITICAL POC
9.8 Jul 01

Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at adm

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy