Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | This vulnerability presents HIGH real-world risk despite a moderate CVSS 7.3 score. Risk signal analysis: (1) CVSS 7.3 with AV:N/AC:L/PR:N/UI:N indicates complete network exploitability requiring no privileges or user interaction, maximizing attack surface; (2) Public disclosure with available proof-of-concept code significantly elevates exploitation probability; (3) SQL injection on appointment records directly impacts confidentiality (patient data breach), integrity (appointment manipulation), and availability (DoS through destructive queries); (4) The 'unknown code' classification suggests potential for lateral movement or privilege escalation if the database user has elevated permissions; (5) SSVC considerations: Exploitation is ACTIVE (public POC exists), the attack is AUTOMATABLE (SQL injection tools), and technical impact is HIGH (complete database compromise possible). This is not a false-positive high-CVSS issue—it represents genuine critical risk in healthcare appointment systems handling protected health information (PHI). |
| Exploit ScenarioDerived | An attacker discovers the vulnerable /cancelbookingpatient.php endpoint via public disclosure or reconnaissance. They craft a malicious request with a SQL injection payload in the 'appointment' parameter, such as: GET /cancelbookingpatient.php?appointment=1' UNION SELECT user(),database(),version()-- -. Since AV:N/AC:L/PR:N, no authentication or complex setup is required. The payload executes against the backend database, exfiltrating patient names, appointment details, contact information, or medical records. The attacker could escalate to INSERT/UPDATE statements to modify appointment records (e.g., changing doctor assignments or canceling critical appointments) or DELETE statements to destroy audit trails. With public POC code available, automated scanning tools can identify and exploit multiple instances across organizations using this software. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-7516 is a critical SQL injection vulnerability in code-projects Online Appointment Booking System version 1.0, affecting the /cancelbookingpatient.php endpoint via the 'appointment' parameter. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion of appointment records and sensitive patient information. Public disclosure and proof-of-concept availability indicate active exploitation risk.
RemediationAI
{'type': 'Patch', 'action': 'Upgrade to patched version (specific patched version not provided in available data; contact code-projects for availability)', 'priority': 'IMMEDIATE'} {'type': 'Code-Level Fix', 'action': "Implement parameterized queries/prepared statements in /cancelbookingpatient.php for the 'appointment' parameter: Use mysqli_prepare() or PDO prepared statements instead of string concatenation in SQL queries", 'priority': 'IMMEDIATE'} {'type': 'Input Validation', 'action': "Implement whitelist-based input validation for the 'appointment' parameter (e.g., numeric ID validation if appointment IDs are integers)", 'priority': 'IMMEDIATE'} {'type': 'WAF Rule', 'action': 'Deploy Web Application Firewall rules to detect and block SQL injection patterns in /cancelbookingpatient.php requests', 'priority': 'INTERIM'} {'type': 'Database Security', 'action': 'Apply principle of least privilege: restrict database user account permissions to only necessary operations (SELECT, UPDATE on appointment tables, not DROP/ALTER)', 'priority': 'HIGH'} {'type': 'Monitoring', 'action': 'Enable database query logging and implement alerts for suspicious SQL patterns (UNION, comments, time-delays) on this endpoint', 'priority': 'HIGH'}
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from improper input validation and parameterization in the appointment cancellation functionality. The /cancelbookingpatient.php file fails to sanitize or use prepared statements for the 'appointment' parameter before incorporating it into SQL queries, enabling classic SQL injection (CWE-74: Improper Neutralization of Special Elements used in an Output ('Injection')). This is a type of second-order or direct injection vulnerability in a PHP-based appointment management system. The affected product is code-projects Online Appointment Booking System 1.0, a web application for managing patient appointment scheduling. CPE likely: cpe:2.3:a:code-projects:online_appointment_booking_system:1.0:*:*:*:*:*:*:*
Know when Online Appointment Booking System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability classified as critical was found in code-projects Online Appointment Booking System 1.0. This vulnerability affects unknown code of the file /cancelbookingpatient.php. The manipulation of the argument appointment leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in the Online Appointment Booking System allows remote attackers to potentially access, modify, or delete patient appointment data without authentication. This poses immediate risk to patient privacy, regulatory compliance (HIPAA/GDPR), and system integrity, requiring urgent remediation before exploitation.
Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the 'appointment' parameter; disable the /cancelbookingpatient.php endpoint if not critical; apply strict input validation and parameterized queries to the vulnerable code; restrict database user permissions to read-only where possible; enable comprehensive logging and monitoring for suspicious SQL activity; segment the application server on a restricted network; consider disabling patient self-service cancellation until patch is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Missing authorization in the Admin/showdoctor.php admin display page of girishsaraf's Online-Appointment-Booking-System
SQL injection in the Admin/deleteclinic.php endpoint of girishsaraf's Appointment Booking System allows remote attackers
SQL injection in the girishsaraf Online-Appointment-Booking-System (rolling release) lets unauthenticated remote attacke
Unauthenticated SQL injection in the patient login handler of girishsaraf's Online-Appointment-Booking-System lets remot
SQL injection in the Admin/getclinic.php AJAX endpoint of girishsaraf's Online-Appointment-Booking-System lets remote at
Unauthenticated SQL injection in the signup.php registration handler of girishsaraf Online-Appointment-Booking-System le
Unauthenticated SQL injection in the Doctor Search endpoint (locateus.php) of girishsaraf's Online-Appointment-Booking-S
Unauthenticated SQL injection in the administrative login handler (Admin/mlogin.php) of girishsaraf's Online-Appointment
We are tasked with synthesizing a JSON analysis for CVE-2025-7752. Let's collect data: - CVE ID: CVE-2025-7752 - Descri
SQL injection in code-projects Online Appointment Booking System 1.0 allows remote unauthenticated attackers to manipula
SQL injection in code-projects Online Appointment Booking System 1.0 allows remote unauthenticated attackers to execute
SQL injection in code-projects Online Appointment Booking System 1.0 allows remote attackers to execute arbitrary SQL co
EUVD-2025-21245
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB