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 '/admin/patients/view_history.php' file, where the 'id' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.
Exploitation of this vulnerability allows unauthorized access to the database, potential leakage or modification of sensitive data, and could disrupt services, posing a significant risk to system security and business operations.
The vulnerability can be reproduced by sending a crafted request to the '/admin/patients/view_history.php' file with a manipulated 'id' parameter. This can be done using a tool like sqlmap, which can automate the exploitation of SQL injection vulnerabilities.
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.