Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-accessible unauthenticated endpoint needing no prerequisites; scope unchanged as injection is confined to the application's own database with limited C/I/A impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in SourceCodester Simple Doctors Appointment System 1.0. The affected element is an unknown function of the file /admin/ajax.php?action=set_appointment. This manipulation of the argument ID causes sql injection. The attack may be initiated remotely. The exploit has been made available to the public and could be used for attacks.
AnalysisAI
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 exposes the /admin/ajax.php?action=set_appointment endpoint to unauthenticated remote attackers who can manipulate database queries by supplying crafted values for the id argument. The attack requires no privileges or user interaction, and a public proof-of-concept is available on GitHub, lowering the bar for exploitation significantly. No vendor-released patch has been identified at time of analysis, leaving all deployed instances of version 1.0 unmitigated.
Technical ContextAI
The affected product is a PHP-based web application identified by CPE cpe:2.3:a:sourcecodester:simple_doctors_appointment_system:*:*:*:*:*:*:*:*, distributed as a free script by SourceCodester. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the id parameter passed to the AJAX handler /admin/ajax.php?action=set_appointment is interpolated directly into a SQL query without parameterization or escaping, allowing an attacker to alter query logic. This class of flaw typically enables data exfiltration via UNION-based or error-based injection, blind injection for inference attacks, and potentially database writes depending on the database user's privileges.
RemediationAI
No vendor-released patch has been identified at time of analysis for SourceCodester Simple Doctors Appointment System 1.0. As a primary compensating control, administrators with access to the source code should replace dynamic SQL string concatenation in the /admin/ajax.php handler with parameterized queries or prepared statements, which eliminates the injection vector entirely; this modification requires PHP development access and testing before deployment. Deploying a Web Application Firewall rule to detect and block SQL metacharacter sequences (single quotes, comment sequences, UNION keywords) in the id parameter of POST requests to /admin/ajax.php?action=set_appointment provides a lower-effort mitigation but carries a risk of false positives on legitimate numeric id values. Restricting access to the /admin/ directory via IP allowlisting at the web server or firewall layer would significantly reduce exposure if the admin interface is not required to be internet-facing. Vulnerability details are documented at https://vuldb.com/vuln/387284 and the public exploit is tracked at https://github.com/HZFW2026/cve/issues/2.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-54983
GHSA-8rqx-j68q-cmpx