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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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, 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
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.
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
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.
Code-Projects Online Hospital Management System V1.0 is vulnerable to SQL Injection (SQLI) attacks, which allow an attac
A vulnerability was found in SourceCodester Online Hospital Management System 1.0. Rated critical severity (CVSS 9.8), t
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0, specifically in the /user-logi
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0, affecting the /registration.ph
Critical SQL injection vulnerability in Campcodes Hospital Management System version 1.0 affecting the /admin/registrati
Campcodes Online Hospital Management System 1.0 is vulnerable to SQL Injection in /admin/index.php via the parameter use
A vulnerability classified as critical has been found in SourceCodester Online Hospital Management System 1.0. Rated med
A critical SQL injection vulnerability exists in Campcodes Online Hospital Management System version 1.0 affecting the /
A SQL injection vulnerability (CVSS 7.3). Risk factors: public PoC available.
SQL injection in code-projects Online Hospital Management System 1.php enables remote unauthenticated attackers to manip
SQL injection in code-projects Online Hospital Management System 1.0 allows remote unauthenticated attackers to manipula
Improper authorization in code-projects Online Hospital Management System 1.0 allows authenticated remote attackers to m
EUVD-2025-18889
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB