CVE-2025-5779 in Patient Record Management Systeminfo

Summary

by MITRE • 06/06/2025

A vulnerability has been found in code-projects Patient Record Management System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /birthing.php. The manipulation of the argument itr_no/comp_id leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 06/11/2025

The vulnerability identified as CVE-2025-5779 represents a critical sql injection flaw within the code-projects Patient Record Management System version 1.0. This system, designed for healthcare record management, contains a dangerous weakness in its birthing.php file that exposes sensitive patient data to unauthorized access. The vulnerability stems from insufficient input validation and sanitization of user-supplied parameters, specifically the itr_no and comp_id arguments that are processed through the affected file. Security researchers have determined that this flaw allows attackers to manipulate database queries through carefully crafted input sequences that bypass normal authentication and authorization mechanisms. The attack vector is particularly concerning as it can be executed remotely without requiring physical access to the system infrastructure, making it accessible to threat actors worldwide.

The technical exploitation of this vulnerability occurs through the manipulation of the itr_no and comp_id parameters within the birthing.php file, which serves as the primary entry point for sql injection attacks. When these parameters are not properly validated or sanitized before being incorporated into database queries, attackers can inject malicious sql code that executes with the privileges of the web application's database user. This allows for complete database enumeration, data extraction, modification, or deletion of patient records. The vulnerability maps directly to CWE-89 which specifically addresses sql injection flaws in software applications. The attack surface is widened by the fact that the exploit has been publicly disclosed, meaning malicious actors can readily leverage this knowledge to compromise affected systems. The remote exploitation capability eliminates the need for local network access, significantly increasing the attack surface and potential impact.

The operational impact of CVE-2025-5779 extends beyond simple data theft to encompass complete system compromise and regulatory violations. Healthcare organizations utilizing this patient record management system face immediate risks of data breaches that could expose sensitive personal health information, potentially violating hipaa regulations and other data protection laws. The sql injection vulnerability enables attackers to not only extract patient records but also to modify or delete critical healthcare data, potentially disrupting medical services and compromising patient safety. The disclosure of the exploit means that automated attack tools can be readily deployed against vulnerable systems, increasing the probability and frequency of successful compromises. Organizations may face significant financial penalties, legal consequences, and reputational damage from such breaches. The vulnerability also creates opportunities for attackers to establish persistent access through database backdoors or to escalate privileges within the broader network infrastructure.

Mitigation strategies for CVE-2025-5779 require immediate implementation of multiple defensive layers to protect against sql injection attacks. Organizations should implement proper input validation and parameterized queries to ensure that user-supplied data cannot be interpreted as sql code within database operations. The affected birthing.php file must be updated to sanitize all input parameters, particularly itr_no and comp_id, using prepared statements or stored procedures that separate sql logic from data. Network segmentation and access controls should be enforced to limit exposure of the vulnerable application to untrusted networks. Regular security assessments and penetration testing should be conducted to identify similar vulnerabilities in other system components. Additionally, implementing web application firewalls and intrusion detection systems can help detect and prevent exploitation attempts. The remediation process should include comprehensive code review to address similar sql injection vulnerabilities throughout the application, as well as updating to the latest version of the patient record management system that includes proper sql injection protections. Organizations should also establish incident response procedures to quickly address any exploitation attempts and ensure compliance with relevant regulatory requirements.

Responsible

VulDB

Disclosure

06/06/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00138

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!