Skip to main content

CVE-2025-5376: SQL Injection in SourceCodester Health Center Patient Record Management System

Medium
VulnerabilityCVE-2025-5376cvecve-2025-5376
Published: Sat May 31 2025 (05/31/2025, 11:31:07 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Health Center Patient Record Management System

Description

A vulnerability was found in SourceCodester Health Center Patient Record Management System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /patient.php. The manipulation of the argument itr_no leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

AI-Powered Analysis

AILast updated: 07/08/2025, 13:28:10 UTC

Technical Analysis

CVE-2025-5376 is a SQL Injection vulnerability identified in version 1.0 of the SourceCodester Health Center Patient Record Management System, specifically within the /patient.php file. The vulnerability arises due to improper sanitization or validation of the 'itr_no' parameter, which can be manipulated by an attacker to inject malicious SQL code. This flaw allows an unauthenticated remote attacker to execute arbitrary SQL queries against the backend database without requiring any user interaction or privileges. The injection can lead to unauthorized data access, modification, or deletion, potentially compromising patient records and sensitive health information. The vulnerability has been publicly disclosed, increasing the risk of exploitation, although no active exploits have been reported in the wild yet. The CVSS v4.0 base score is 6.9, indicating a medium severity level, reflecting the network attack vector, low attack complexity, and no need for authentication or user interaction. The impact on confidentiality, integrity, and availability is limited but present, as the vulnerability allows partial compromise of the database contents. No official patches or mitigations have been published by the vendor at this time.

Potential Impact

For European organizations, particularly healthcare providers using the SourceCodester Health Center Patient Record Management System, this vulnerability poses a significant risk to patient data confidentiality and integrity. Exploitation could lead to unauthorized disclosure of sensitive medical records, violating GDPR and other data protection regulations, resulting in legal penalties and reputational damage. Integrity breaches could alter patient data, potentially affecting clinical decisions and patient safety. Availability impact is limited but could occur if attackers execute destructive SQL commands. The public disclosure of the vulnerability increases the likelihood of targeted attacks, especially against healthcare institutions that are high-value targets in Europe. Given the critical nature of healthcare data and strict regulatory environment in Europe, affected organizations face heightened compliance and operational risks.

Mitigation Recommendations

European healthcare organizations using this system should immediately conduct a thorough security review of their deployment. Specific mitigations include: 1) Implementing input validation and parameterized queries or prepared statements to prevent SQL injection in the 'itr_no' parameter and other inputs. 2) Employing Web Application Firewalls (WAFs) configured to detect and block SQL injection attempts targeting /patient.php. 3) Monitoring database logs and application logs for suspicious query patterns indicative of injection attempts. 4) Restricting database user privileges to the minimum necessary to limit the impact of any injection. 5) Isolating the affected application server within network segments with strict access controls. 6) Engaging with the vendor or community to obtain or develop patches or updates addressing the vulnerability. 7) Conducting regular security assessments and penetration testing focused on injection flaws. These steps go beyond generic advice by focusing on the specific vulnerable parameter and the healthcare context.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-05-30T11:27:22.297Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 683af5e1182aa0cae2e055b4

Added to database: 5/31/2025, 12:28:17 PM

Last enriched: 7/8/2025, 1:28:10 PM

Last updated: 8/18/2025, 11:34:38 PM

Views: 12

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats