Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | CVSS 7.3 (Medium-High severity) with AV:N/AC:L/PR:N/UI:N indicates network-exploitable, low-complexity, unauthenticated attack surface—all high-risk characteristics. However, CVSS scope unchanged (S:U) and impact split across confidentiality, integrity, and availability (C:L/I:L/A:L) suggests moderate rather than complete compromise per query. The public disclosure and confirmed POC availability significantly elevate real-world risk beyond CVSS score alone. SQL injection on appointment systems directly threatens patient privacy (PHI/PII exposure), appointment data integrity, and service availability. Given the lack of authentication requirements (PR:N), this is immediately actionable by any internet-connected attacker. The CVSS 7.3 combined with public POC availability and remote unauthenticated vector makes this a HIGH priority for systems still running v1.0. Organizations should treat this as critical despite the sub-8.0 CVSS due to exploitation maturity and likely high volume of affected systems in production. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers a public deployment of code-projects Online Appointment Booking System v1.0 (e.g., www.clinic.example.com/appointments/). Attacker crafts a request to /getdoctordaybooking.php?cid=1' OR '1'='1 (or similar SQL injection payload). The vulnerable endpoint concatenates this unsanitized input directly into a SQL query such as SELECT * FROM bookings WHERE clinic_id = [UNSANITIZED_CID]. The injected SQL bypasses the WHERE clause logic, returning all bookings across all clinics. Attacker escalates to UNION-based injection to extract sensitive columns (patient names, phone numbers, addresses, appointment times). Advanced attacker extracts database schema, identifies admin tables, and potentially updates appointment records or inserts fraudulent entries. Since PR:N (no authentication required), attack requires only network access and basic SQL injection knowledge. POC code is publicly available, enabling even script-kiddies to perform automated scanning and exploitation across multiple targets. No user interaction required (UI:N). Attack succeeds in seconds. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-7539 is a critical SQL injection vulnerability in code-projects Online Appointment Booking System version 1.0, specifically in the /getdoctordaybooking.php file via the 'cid' parameter. The vulnerability allows unauthenticated remote attackers to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion of database records. Exploitation has been publicly disclosed with proof-of-concept availability, and the vulnerability may be actively exploited in the wild.
RemediationAI
Immediate actions: (1) Disable or restrict network access to /getdoctordaybooking.php via WAF rules or firewall ACLs until patching is possible; (2) Implement input validation requiring 'cid' parameter to match expected numeric/alphanumeric pattern only, rejecting special SQL characters; (3) Update to a patched version if code-projects releases one (check project repository/vendor site); (4) If no patch available, implement parameterized queries using PHP prepared statements with mysqli or PDO; (5) Apply principle of least privilege to database user executing queries—restrict to SELECT-only permissions where possible; (6) Deploy SQL injection detection signatures in WAF/IDS; (7) Conduct immediate database audit for signs of compromise (examine query logs, check for unauthorized data access/modification). If patch availability is unclear, contact code-projects vendor directly for security advisory and timeline.
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 exists in the Online Appointment Booking System, a web-based PHP application typically deployed on Apache/Nginx servers with MySQL/MariaDB backends. The root cause is CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection'), manifesting as SQL injection through inadequate input validation and sanitization. The /getdoctordaybooking.php endpoint fails to properly parameterize or escape the 'cid' (likely 'clinic_id' or similar) parameter before incorporating it into SQL queries. CPE identification: cpe:2.3:a:code-projects:online_appointment_booking_system:1.0:*:*:*:*:*:*:*. The affected component processes database queries without using prepared statements or parameterized queries, allowing attackers to break out of intended query context and inject malicious SQL syntax.
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, which was classified as critical, has been found in code-projects Online Appointment Booking System 1.0. This issue affects some unknown processing of the file /getdoctordaybooking.php. The manipulation of the argument cid leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A critical SQL injection vulnerability in the Online Appointment Booking System exposes patient data and system integrity to remote attackers. With public exploit code available and no vendor patch released, any organization running version 1.0 faces immediate risk of unauthorized database access, data theft, and potential system compromise.
Implement WAF rules to filter SQL injection patterns in the cid parameter; restrict network access to /getdoctordaybooking.php via IP whitelisting; disable the vulnerable endpoint if functionality permits; apply input validation and parameterized queries at application layer if source code access available; increase database activity monitoring for anomalous queries; consider temporary shutdown of appointment booking functionality until patch availability confirmed.
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-21269
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB