Impact
The flaw lies within the User::login function of the Hospital Information System, where the email parameter is concatenated directly into an SQL query. An attacker can supply a crafted email string that injects arbitrary SQL, bypassing authentication and allowing them to read, modify, or delete patient data and other database contents. The potential impact includes exposure of highly sensitive medical information and compromise of data integrity.
Affected Systems
The affected product is code‑projects Hospital Information System, version 1.0. This release contains the vulnerable User::login code in its User Login Handler component.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity, and because the injection can be triggered via the publicly accessible login endpoint, the attack is possible remotely. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, but an exploit has been published and could be used by adversaries without additional credentials, potentially resulting in unauthorized data access or manipulation.
OpenCVE Enrichment