SourceCodester Hospitals Patient Records Management System
cpe:2.3:a:hospital's_patient_records_management_system_project:hospital's_patient_records_management_system:*:*:*:*:*:*:*
- V1.0
A SQL injection vulnerability has been identified in SourceCodester Hospitals Patient Records Management System version 1.0. The issue resides in the file '/admin/patients/manage_history.php', where the 'id' parameter is not properly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and leakage of sensitive information.
Exploitation of this vulnerability allows for unauthorized access to the database, manipulation or deletion of data, leakage of sensitive information, and could disrupt services, posing a significant risk to system security and business operations.
The vulnerability can be reproduced by sending a crafted HTTP request to the '/admin/patients/manage_history.php' file with an injected SQL payload in the 'id' parameter. The injection can be verified by using a time-based blind SQL injection technique, such as causing the database to sleep for a few seconds before responding.
To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.