Skip to main content

Online Hospital Management System EUVDEUVD-2025-18889

| CVE-2025-6406 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-21 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

Multiple risk signals converge to indicate HIGH REAL-WORLD PRIORITY: (1) CVSS 7.3 (High) with AV:N/AC:L/PR:N/UI:N indicates network-accessible, unauthenticated, no-prerequisite exploitation; (2) Public disclosure + confirmed POC availability dramatically increases exploitation probability beyond standard EPSS; (3) CWE-74 (SQL Injection) is historically one of the most actively exploited vulnerability classes; (4) Healthcare systems are high-value targets for data theft, ransom, and integrity attacks; (5) Unauthenticated access (PR:N) to forgot-password endpoints often provides pathways to lateral movement or credential reset abuse. SSVC assessment: Exploitation=Active (POC public), Automatable=Yes (SQL injection easily scripted), Technical Impact=High (healthcare data breach potential). This is NOT a low-real-risk high-CVSS issue—it requires immediate patching. The 'Confidentiality, Integrity, Availability' all affected (C:L/I:L/A:L) understates risk in healthcare context where even partial data exposure carries regulatory/legal consequences.

Exploit ScenarioDerived

An attacker navigates to the hospital's forgot-password page and discovers it accepts a 'fullname' parameter (e.g., GET /hms/forgot-password.php?fullname=John). They inject a SQL payload such as fullname=admin' OR '1'='1 or fullname=admin' UNION SELECT password FROM users WHERE '1'='1 to bypass authentication logic or exfiltrate password hashes. Since PR:N and AC:L, no authentication or special conditions are needed. The attacker exploits this to reset admin credentials, access patient records, or extract the entire user/patient database. With a public POC available, automated scanning/exploitation tools can rapidly identify and compromise unpatched instances across multiple healthcare facilities.

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

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

Alert me

AnalysisAIv1 – Mar 15, 2026

CVE-2025-6406 is a critical SQL injection vulnerability in Campcodes Online Hospital Management System version 1.0, specifically in the /hms/forgot-password.php endpoint where the 'fullname' parameter is unsanitized. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion of sensitive hospital patient and administrative data. The vulnerability has been publicly disclosed with exploit code available, increasing real-world exploitation risk.

RemediationAI

primary: Upgrade Campcodes Online Hospital Management System to a patched version beyond 1.0 (vendor patch version not specified in available data—contact Campcodes directly or check their security advisories); immediate_mitigations: ["Apply Web Application Firewall (WAF) rules to block SQL injection patterns in forgot-password.php requests (detect quotes, UNION, SELECT, comment syntax in 'fullname' parameter)", "Implement input validation: whitelist alphanumeric characters and common name delimiters (spaces, hyphens) in 'fullname' field; reject any parameter containing SQL metacharacters", "Force parameterized queries/prepared statements in /hms/forgot-password.php using PHP PDO with placeholders: $stmt = $pdo->prepare('SELECT * FROM users WHERE fullname = ?'); $stmt->execute([$fullname]);", 'Enable SQL error suppression in production to prevent SQL error messages from leaking database structure to attackers', "Restrict database user permissions: ensure the PHP application's database account has minimal privileges (SELECT only on necessary tables, no DROP/ALTER permissions)"]; long_term: Implement secure SDLC practices: code review focusing on CWE-74 patterns, static analysis scanning (SAST) for SQL injection, security testing before release. Migrate from PHP procedural code to a modern framework (Laravel, Symfony) with built-in ORM protections.

Affected VersionsENISA

Online Hospital Management System 1.0

Affected Packages

euvd online_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

This vulnerability is a classic CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - SQL Injection) affecting the forgot-password functionality in Campcodes Online Hospital Management System 1.0. The affected file /hms/forgot-password.php fails to properly sanitize or parameterize user input in the 'fullname' parameter before incorporating it into SQL queries. The application likely constructs dynamic SQL statements using string concatenation rather than prepared statements with parameterized queries. CPE designation: cpe:2.3:a:campcodes:online_hospital_management_system:1.0:*:*:*:*:*:*:*. The root cause is improper input validation/output encoding in a PHP-based web application handling healthcare data.

Know when Online 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
Jun 24, 2025 - 19:09 vuln.today
Public exploit code
CVE Published
Jun 21, 2025 - 14:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability, which was classified as critical, has been found in Campcodes Online Hospital Management System 1.0. Affected by this issue is some unknown functionality of the file /hms/forgot-password.php. The manipulation of the argument fullname leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A publicly disclosed SQL injection vulnerability in the Campcodes Online Hospital Management System's password reset functionality allows unauthenticated attackers to potentially access sensitive patient and operational data. Organizations using this system face immediate risk of data breach, regulatory non-compliance (HIPAA/HITECH), and operational disruption given the absence of a vendor patch.

Business Impact: High
Compensating Controls

Implement Web Application Firewall rules blocking SQL injection patterns (e.g., UNION, SELECT, --) in the fullname parameter; restrict /hms/forgot-password.php access via network segmentation or IP allowlisting; temporarily disable password reset functionality and provide alternative account recovery process; enable comprehensive SQL query logging and intrusion detection alerts; consider taking the application offline until patch is available if data sensitivity is critical.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% 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.1%
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
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-37069 CRITICAL POC
9.8 Aug 10

Code-Projects Online Hospital Management System V1.0 is vulnerable to SQL Injection (SQLI) attacks, which allow an attac

CVE-2023-4185 CRITICAL POC
9.8 Aug 06

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

CVE-2025-5604 HIGH POC
7.3 Jun 04

Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0, specifically in the /user-logi

CVE-2025-5603 HIGH POC
7.3 Jun 04

Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0, affecting the /registration.ph

CVE-2025-5602 HIGH POC
7.3 Jun 04

Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0 affecting the /admin/registrati

CVE-2025-63719 HIGH POC
7.3 Nov 19

Campcodes Online Hospital Management System 1.0 is vulnerable to SQL Injection in /admin/index.php via the parameter use

CVE-2024-5362 MEDIUM POC
6.9 May 26

A vulnerability classified as critical has been found in SourceCodester Online Hospital Management System 1.0. Rated med

CVE-2025-6408 MEDIUM POC
5.5 Jun 21

A critical SQL injection vulnerability exists in Campcodes Online Hospital Management System version 1.0 affecting the /

CVE-2025-6407 MEDIUM POC
5.5 Jun 21

A SQL injection vulnerability (CVSS 7.3). Risk factors: public PoC available.

CVE-2026-10208 MEDIUM POC
5.5 Jun 01

SQL injection in code-projects Online Hospital Management System 1.php enables remote unauthenticated attackers to manip

CVE-2026-7632 MEDIUM POC
5.5 May 02

SQL injection in code-projects Online Hospital Management System 1.0 allows remote unauthenticated attackers to manipula

CVE-2026-7631 LOW POC
2.1 May 02

Improper authorization in code-projects Online Hospital Management System 1.0 allows authenticated remote attackers to m

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