Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed HPRMS 1.0 instance
-
DeliverySend unauthenticated HTTP request to /classes/Users.php?f=save
-
ExploitInject malicious SQL payload via ID parameter
-
ExecutionManipulate backend MySQL query execution
-
ImpactExfiltrate or modify patient health records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | No special conditions are required - remote unauthenticated exploitation is possible against default deployments of SourceCodester Hospitals Patient Records Management System 1.0. The CVSS 4.0 vector explicitly confirms PR:N (no privileges required), AC:L (low attack complexity), AT:N (no attack requirements beyond network reachability), and UI:N (no user interaction). The sole limiting factor is network reachability to the /classes/Users.php?f=save endpoint: deployments restricted to internal networks or placed behind VPN reduce exposure to internal or authenticated network participants only. There is no indication that any non-default configuration is required to trigger the vulnerability - the f=save function path appears to be standard application functionality. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) places this vulnerability in the most accessible exploitation category: remote, low complexity, no prerequisites, no user interaction. The impact metrics are uniformly Low (VC:L/VI:L/VA:L) with no scope change to subsequent systems, which limits the score to 5.5 despite the highly permissive access conditions. The E:P exploit modifier confirms a public proof-of-concept exists, which is a meaningful threat multiplier - this is not a theoretical vulnerability. No EPSS score was provided, so probabilistic exploitation likelihood cannot be quantified. The vulnerability is not listed in CISA KEV, meaning widespread active exploitation has not been confirmed by U.S. federal intelligence. Despite the moderate CVSS score, the combination of zero-authentication remote access, public exploit code, and the sensitivity of medical patient records makes this a genuine priority for any organization running this system. The moderate score reflects bounded database-level impact, not low exploitability. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a publicly accessible deployment of SourceCodester Hospitals Patient Records Management System 1.0 and sends a crafted HTTP request to /classes/Users.php?f=save with a SQL injection payload embedded in the ID parameter, such as a UNION-based or boolean-based query. The unsanitized input manipulates the backend MySQL query, allowing the attacker to enumerate database tables and extract patient records including names, diagnoses, and other personally identifiable health information. A public proof-of-concept is available via GitHub (github.com/zzb1388/cve2/issues/3), meaning this attack requires minimal technical skill to replicate. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 31, 2026
SQL injection in SourceCodester Hospitals Patient Records Management System 1.0 exposes sensitive medical data to unauthenticated remote attackers through the ID parameter of the /classes/Users.php?f=save endpoint. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms zero-barrier remote access requiring no credentials or user interaction, and a publicly available proof-of-concept exploit (E:P) further elevates real-world risk beyond the moderate 5.5 base score. No vendor-released patch has been identified, leaving all known deployments of version 1.0 exposed to data exfiltration and manipulation of patient health records.
RemediationAI
No vendor-released patch has been identified at the time of analysis - monitor VulDB entry vuldb.com/vuln/367466 and sourcecodester.com for any future fix release. As an immediate compensating control, restrict network access to the /classes/Users.php endpoint via firewall rules or a web application firewall (WAF) configured to block requests carrying SQL metacharacters in the ID parameter; note that WAF rules may produce false positives on legitimate numeric ID values if not carefully tuned. If the application cannot be taken offline, place it behind VPN-only access to eliminate public internet exposure - this eliminates the AV:N attack vector entirely at the cost of administrative overhead for remote users. Developers with access to the source code should replace any raw string concatenation in the SQL query with parameterized prepared statements (PDO or MySQLi), which resolves the root cause. If none of these controls are immediately feasible, consider disabling the f=save function path temporarily until a code fix is applied.
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 affected application is a PHP-based hospital patient records management system distributed by SourceCodester, a platform known for distributing open-source academic and small-business web applications typically built on PHP and MySQL. The vulnerable code path resides in /classes/Users.php, a user management handler invoked with the query parameter f=save. The root cause is classified under CWE-74 (Injection), specifically SQL injection, where the ID parameter is concatenated unsanitized into a database query rather than being handled via parameterized prepared statements. No CPE string was included in the available data, but the vendor site (sourcecodester.com) is referenced, confirming the affected product and version as 1.0. The lack of input sanitization in a user-facing save function is a common defect in rapidly developed academic-grade PHP applications distributed via SourceCodester.
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
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 Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A weakness has been identified in SourceCodester Hospitals Patient Records Management System 1.0. Affected is an unknown function of the file /classes/Users.php?f=save. This manipulation of the argument ID causes sql injection. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks.
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-2026-33507
GHSA-2hf5-r849-3x76
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB