Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend SQL injection payload to manage_history.php
-
ExploitBypass query logic via ID parameter
-
ExecutionExtract patient records from database
-
ImpactExfiltrate sensitive medical data
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. The vulnerable endpoint /admin/patients/manage_history.php must be accessible over the network. While the path suggests admin functionality, the CVSS vector confirms no authentication is required (PR:N). Exploitation is limited only by network accessibility to the vulnerable PHP file. |
| Impact | The CVSS 7.3 score indicates high severity with network attack vector (AV:N), low complexity (AC:L), and no required privileges (PR:N) or user interaction (UI:N). The CVSS E:P metric confirms proof-of-concept code exists. However, this is not listed in CISA KEV, suggesting no confirmed active exploitation in the wild. The vulnerability affects confidentiality, integrity, and availability equally (C:L/I:L/A:L), indicating attackers can read, modify, and potentially disrupt patient data. Real-world risk depends on internet exposure of the affected admin interface and whether default credentials protect it. The RL:X and RC:R metrics indicate no official fix exists but the vulnerability report is confirmed. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to /admin/patients/manage_history.php with malicious SQL code in the ID parameter. The application executes the injected SQL, allowing the attacker to extract sensitive patient records, modify medical history, or delete critical data. Public exploit code is available at https://github.com/yan-124/yan/issues/1. |
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 enables remote unauthenticated attackers to manipulate database queries through the ID parameter in /admin/patients/manage_history.php. Public exploit code exists (GitHub), though not listed in CISA KEV. The vulnerability carries moderate risk with CVSS 7.3 reflecting potential for data theft and manipulation of patient records.
RemediationAI
No vendor-released patch identified at time of analysis. Immediate mitigation requires implementing input validation and parameterized queries for the ID parameter in /admin/patients/manage_history.php. As a temporary workaround, restrict network access to the /admin/ directory through web server configuration or WAF rules, limiting exposure to trusted IP addresses only. Consider deploying a Web Application Firewall with SQL injection detection rules. Monitor database logs for suspicious queries containing SQL metacharacters in the ID field.
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 (CPE: cpe:2.3:a:sourcecodester:hospitals_patient_records_management_system:*:*:*:*:*:*:*:*), a PHP-based web application for managing patient data. The root cause is improper input validation (CWE-89: SQL Injection) where user-supplied input in the ID parameter is directly incorporated into SQL queries without sanitization. This allows attackers to inject arbitrary SQL commands into database operations.
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 vulnerability has been found in SourceCodester Hospitals Patient Records Management System 1.0. This affects an unknown function of the file /admin/patients/manage_history.php. Such manipulation of the argument ID leads to sql injection. The attack may be performed from remote. The exploit has been disclosed to the public and may be used.
Executive ViewAI
SourceCodester Hospitals Patient Records Management System 1.0 contains an unauthenticated SQL injection vulnerability in the patient history management interface that allows remote attackers to extract or modify sensitive patient data without authentication. Organizations using this product face immediate risk of patient record compromise and potential regulatory violations (HIPAA, state privacy laws). This vulnerability requires urgent action given the sensitivity of healthcare data and absence of an available vendor patch.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to the vulnerable endpoint via firewall ACLs or WAF rules; (2) Deploy WAF rules to block SQL injection patterns in the ID parameter; (3) Enforce database user least-privilege and disable unnecessary account permissions; (4) Enable database query logging and real-time alerting for suspicious SQL patterns; (5) Implement input validation at the application layer using parameterized queries or prepared statements; (6) Require immediate upgrade to an alternative patient records system with active vendor support.
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 allows remote attackers to compromise pa
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-31568
GHSA-335m-hr83-74mh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB