Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13122: SQL Injection in SourceCodester Patients Waiting Area Queue Management System

0
Medium
VulnerabilityCVE-2025-13122cvecve-2025-13122
Published: Thu Nov 13 2025 (11/13/2025, 18:02:05 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Patients Waiting Area Queue Management System

Description

A vulnerability was detected in SourceCodester Patients Waiting Area Queue Management System 1.0. The affected element is the function getPatientAppointment of the file /php/api_patient_checkin.php. Performing manipulation of the argument appointmentID results in sql injection. It is possible to initiate the attack remotely. The exploit is now public and may be used.

AI-Powered Analysis

AILast updated: 11/13/2025, 18:30:13 UTC

Technical Analysis

CVE-2025-13122 identifies a SQL injection vulnerability in the SourceCodester Patients Waiting Area Queue Management System version 1.0, specifically in the getPatientAppointment function located in /php/api_patient_checkin.php. The vulnerability arises due to insufficient sanitization or validation of the appointmentID parameter, which is directly used in SQL queries. An attacker can remotely manipulate this parameter to inject arbitrary SQL commands, potentially extracting sensitive patient data, modifying records, or disrupting database integrity. The attack requires no authentication or user interaction, making it highly accessible to remote threat actors. The vulnerability is classified with a CVSS 4.0 score of 6.9, indicating a medium severity level with network attack vector, low complexity, and no privileges required. Although no active exploits have been reported in the wild, the public availability of exploit code increases the likelihood of exploitation attempts. The affected system is typically deployed in healthcare environments to manage patient queues, making the confidentiality and integrity of patient data critical. The lack of patches or vendor-provided fixes at the time of publication necessitates immediate mitigation through secure coding practices and input validation.

Potential Impact

For European organizations, particularly healthcare providers using the affected queue management system, this vulnerability poses significant risks. Exploitation can lead to unauthorized disclosure of sensitive patient information, violating GDPR and other data protection regulations, potentially resulting in legal penalties and reputational damage. Data integrity may also be compromised, affecting appointment scheduling and patient care workflows, which could disrupt healthcare services. The remote and unauthenticated nature of the attack vector increases the risk of widespread exploitation, especially in environments with internet-facing API endpoints. Additionally, the public availability of exploit code lowers the barrier for attackers, including cybercriminals and hacktivists targeting healthcare infrastructure. The impact extends beyond data breaches to potential operational disruptions, undermining trust in healthcare IT systems across Europe.

Mitigation Recommendations

Organizations should immediately implement strict input validation and sanitization for the appointmentID parameter to prevent SQL injection. Employing parameterized queries or prepared statements in the getPatientAppointment function is critical to eliminate direct SQL command injection. Network-level protections such as web application firewalls (WAFs) should be configured to detect and block SQL injection attempts targeting the vulnerable endpoint. Conduct thorough code reviews and security testing of the affected application components. If possible, isolate the queue management system from direct internet exposure and restrict access to trusted internal networks. Monitor logs for suspicious activities related to appointmentID parameter manipulation. Engage with the vendor or community to obtain patches or updates addressing this vulnerability. Finally, ensure compliance with GDPR by reviewing data access controls and incident response plans in case of exploitation.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2025-11-13T12:15:34.145Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69162015cdc01d126425d790

Added to database: 11/13/2025, 6:14:45 PM

Last enriched: 11/13/2025, 6:30:13 PM

Last updated: 11/14/2025, 4:07:38 AM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats