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 'getPatientAppointment' function within the file 'php/api_patient_checkin.php'. The vulnerability can be exploited remotely by manipulating the 'appointmentID' parameter, allowing attackers to interfere with SQL queries and potentially access or modify database information.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate database queries. This could lead to unauthorized data access, data modification, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a request to 'php/api_patient_checkin.php' with a crafted 'appointmentID' parameter that includes SQL injection payloads. The injection can be verified by using payloads that, for example, extract database version information.

Added: Nov 13, 2025, 6:18 PM
Updated: Nov 13, 2025, 6:18 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.7
remediation
0.0
relevance
1.0
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.