SourceCodester Patients Waiting Area Queue Management System SQL Injection Vulnerability
Vulnerability
A SQL injection vulnerability has been identified in SourceCodester Patients Waiting Area Queue Management System version 1.0. The issue arises in the file 'pqms/php/api_patient_schedule.php', where the 'appointmentID' parameter is manipulated, allowing attackers to inject malicious SQL code. This exploitation can be done remotely, without any authentication.
Impact
Exploitation of this vulnerability allows for unauthorized database access, manipulation of data, and potential disruption of service.
Reproduction
The vulnerability can be reproduced by sending a GET request to 'pqms/php/api_patient_schedule.php' or 'pqms/php/api_patient_checkin.php' with a crafted 'appointmentID' parameter. The injected SQL payload can exploit the application's SQL query handling, leading to unauthorized database operations.
Remediation
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.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
