Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessScan for vulnerable endpoint
-
ExploitSend crafted SQL injection payload
-
ExecutionExecute arbitrary SQL queries
-
ImpactExtract patient medical records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of Hospitals Patient Records Management System 1.0. The save_patient_history function in Master.php must be accessible via web request. No authentication, special configuration, or user interaction required based on CVSS vector PR:N/UI:N. |
| Impact | The CVSS 3.1 score of 7.3 (High) reflects network-based, low-complexity exploitation requiring no privileges or user interaction (AV:N/AC:L/PR:N/UI:N). The E:P metric confirms publicly available exploit code exists. However, no EPSS score or CISA KEV listing is provided, suggesting this may be opportunistic rather than mass exploitation. The vulnerability presents real risk for healthcare organizations using this system due to sensitive patient data exposure, though impact appears limited to this specific SourceCodester product rather than a widely-deployed healthcare platform. Authentication requirements not confirmed from available data. |
| Exploit ScenarioDerived | An attacker identifies the vulnerable Hospitals Patient Records Management System instance through web scanning or directory enumeration. They craft a malicious HTTP request to /classes/Master.php?f=save_patient_history with SQL injection payload in the ID parameter, bypassing authentication to extract patient records, medical histories, or potentially modify treatment data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 24, 2026
SQL injection in SourceCodester Hospitals Patient Records Management System 1.0 allows remote attackers to compromise patient data without authentication via manipulated ID parameter in /classes/Master.php?f=save_patient_history. The vulnerability has publicly available exploit code (GitHub) and enables unauthorized database access with potential to read, modify, or delete patient records. CVSS 7.3 indicates moderate severity with no exploitation prerequisites.
RemediationAI
No vendor-released patch identified at time of analysis. As immediate mitigation, disable or restrict access to the /classes/Master.php endpoint, particularly the save_patient_history function. Implement web application firewall (WAF) rules to block SQL injection attempts targeting the ID parameter. Consider parameterized queries or prepared statements as a code-level fix if source code modifications are possible. Monitor database logs for suspicious queries. Given the healthcare context and patient data sensitivity, consider taking the system offline until proper remediation is implemented.
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 vulnerability affects SourceCodester's Hospitals Patient Records Management System version 1.0, a PHP-based web application for managing patient medical records. The root cause is improper input validation (CWE-89: SQL Injection) in the save_patient_history function within Master.php. When processing the ID parameter, the application fails to properly sanitize user input before constructing SQL queries, allowing attackers to inject malicious SQL commands that execute against the backend database.
Know when Hospitals Patient Records 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 Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A flaw has been found in SourceCodester Hospitals Patient Records Management System 1.0. The impacted element is an unknown function of the file /classes/Master.php?f=save_patient_history. This manipulation of the argument ID causes sql injection. The attack is possible to be carried out remotely. The exploit has been published and may be used.
Executive ViewAI
SourceCodester Hospitals Patient Records Management System 1.0 contains an unauthenticated SQL injection vulnerability that allows remote attackers to directly access, modify, or delete patient records without credentials. This exposes protected health information (PHI) to unauthorized disclosure and manipulation, creating immediate compliance risk under HIPAA and similar regulations while potentially affecting patient care continuity.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /classes/Master.php via firewall rules to trusted networks only; (2) Deploy WAF rules to block SQL injection patterns in the ID parameter; (3) Enable database query logging and real-time alerting for anomalous access; (4) Implement database-level access controls limiting the application service account permissions; (5) Accelerate evaluation and migration to a vendor-supported alternative with active security maintenance.
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.
SQL injection in SourceCodester Hospitals Patient Records Management System 1.0 exposes sensitive patient data to remote
SQL injection in SourceCodester Hospitals Patient Records Management System 1.0 enables remote unauthenticated attackers
SQL injection in SourceCodester Hospitals Patient Records Management System 1.0 allows authenticated attackers to extrac
Stored or reflected cross-site scripting in SourceCodester Hospitals Patient Records Management System 1.0 allows a remo
Stored cross-site scripting in SourceCodester Hospitals Patient Records Management System 1.0 allows a remote, high-priv
EUVD-2026-31569
GHSA-g97w-3vph-c7fc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB