Skip to main content

Online Appointment Booking System EUVDEUVD-2025-21268

| CVE-2025-7540 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-13 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

The CVSS 3.1 score of 7.3 reflects High severity with network-based attack vector (AV:N), low attack complexity (AC:L), no privilege requirements (PR:N), and no user interaction (UI:N), indicating broad exploitability. The score accurately reflects the vulnerability's ease of exploitation—any remote user can craft malicious SQL in the townid parameter. However, the impact is limited to Low across confidentiality, integrity, and availability (C:L/I:L/A:L), suggesting database queries can leak data or be manipulated but may not achieve complete system compromise. The public disclosure and available exploit code elevate real-world risk significantly. Without KEV/EPSS data explicitly provided, the public POC availability and unauthenticated attack vector suggest this should be treated as actively exploitable with high exploitation likelihood. The automatable nature (no user interaction required) and remote attack vector make this suitable for automated scanning and mass exploitation by threat actors. This is a HIGH PRIORITY vulnerability for any organization running affected versions—it's trivially exploitable but not catastrophic in isolation.

Exploit ScenarioDerived

An attacker identifies an Online Appointment Booking System 1.0 instance via public web scanning or reconnaissance. They craft a request to /getclinic.php?townid=1 UNION SELECT username,password,email FROM users-- to extract user credentials from the database. Since AC:L and PR:N, the attacker requires no special privileges—they can immediately send this request from any network location. The SQL injection executes within the application's database context, potentially exposing clinic data, user information, or allowing UPDATE/DELETE commands to modify records. With publicly available POC code, attacks can be automated across multiple targets. A more severe variant might use INTO OUTFILE to write files or execute stored procedures if database permissions allow. The lack of authentication (PR:N) means mass exploitation of all exposed instances is feasible.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

CVE-2025-7540 is a critical SQL injection vulnerability in code-projects Online Appointment Booking System 1.0 affecting the /getclinic.php file's townid parameter. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially compromising confidentiality, integrity, and availability of the database. The vulnerability has been publicly disclosed with exploit code available, creating immediate operational risk for deployed instances.

RemediationAI

  1. IMMEDIATE: Apply input validation and sanitization to the townid parameter—implement allowlist validation (e.g., numeric-only if townid should be numeric) before SQL usage. 2) PRIMARY FIX: Refactor /getclinic.php to use parameterized queries/prepared statements with bound parameters (mysqli prepared statements or PDO prepared statements) instead of string concatenation for SQL construction. 3) Update to the latest patched version of Online Appointment Booking System once released by code-projects. 4) SHORT-TERM MITIGATION: Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the townid parameter (e.g., block payloads containing SQL keywords: UNION, SELECT, OR 1=1). 5) Apply principle of least privilege to database user credentials used by the application. 6) No vendor advisory URL was provided; check code-projects official repository or security advisories for patch availability. 7) Conduct code review of all similar parameter handling throughout the application.

Affected VersionsENISA

Online Appointment Booking System 1.0

Affected Packages

euvd online_appointment_booking_system no fix

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 PHP-based web application), specifically in the /getclinic.php endpoint which likely queries clinic data filtered by geographic location (townid parameter). The root cause is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), indicating insufficient input validation/sanitization before SQL query construction. The townid parameter is passed directly into SQL statements without prepared statements or parameterized queries. This is a classic second-order SQL injection or direct SQL injection scenario where user input flows unsanitized into database queries. PHP applications using mysqli or PDO without proper prepared statement usage are particularly susceptible.

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jul 16, 2025 - 14:53 vuln.today
Public exploit code
CVE Published
Jul 13, 2025 - 20:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability, which was classified as critical, was found in code-projects Online Appointment Booking System 1.0. Affected is an unknown function of the file /getclinic.php. The manipulation of the argument townid leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.

Executive ViewAI

Why It Matters

A critical SQL injection vulnerability exists in the Online Appointment Booking System 1.0 that allows unauthenticated remote attackers to compromise the database. Public exploits are available, creating immediate risk of data breach, system compromise, or service disruption for any organization using this software.

Business Impact: Severe
Compensating Controls

Implement Web Application Firewall (WAF) rules blocking SQL injection payloads in townid parameter; restrict network access to /getclinic.php via firewall or reverse proxy; disable the vulnerable endpoint if business-critical functionality is not dependent on it; implement database-level access controls and enable comprehensive logging; consider air-gapping the affected system until patched.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2026-109524 MEDIUM POC
5.5 Oct 13

Missing authorization in the Admin/showdoctor.php admin display page of girishsaraf's Online-Appointment-Booking-System

CVE-2026-109522 MEDIUM POC
5.5 Oct 13

SQL injection in the Admin/deleteclinic.php endpoint of girishsaraf's Appointment Booking System allows remote attackers

CVE-2026-105469 MEDIUM POC
5.5 Oct 05

SQL injection in the girishsaraf Online-Appointment-Booking-System (rolling release) lets unauthenticated remote attacke

CVE-2026-105387 MEDIUM POC
5.5 Oct 05

Unauthenticated SQL injection in the patient login handler of girishsaraf's Online-Appointment-Booking-System lets remot

CVE-2026-109523 MEDIUM POC
5.5 Oct 13

SQL injection in the Admin/getclinic.php AJAX endpoint of girishsaraf's Online-Appointment-Booking-System lets remote at

CVE-2026-105471 MEDIUM POC
5.5 Oct 05

Unauthenticated SQL injection in the signup.php registration handler of girishsaraf Online-Appointment-Booking-System le

CVE-2026-105470 MEDIUM POC
5.5 Oct 05

Unauthenticated SQL injection in the Doctor Search endpoint (locateus.php) of girishsaraf's Online-Appointment-Booking-S

CVE-2026-105468 MEDIUM POC
5.5 Oct 05

Unauthenticated SQL injection in the administrative login handler (Admin/mlogin.php) of girishsaraf's Online-Appointment

CVE-2025-7752 MEDIUM POC
5.5 Jul 17

We are tasked with synthesizing a JSON analysis for CVE-2025-7752. Let's collect data: - CVE ID: CVE-2025-7752 - Descri

CVE-2025-7751 MEDIUM POC
5.5 Jul 17

SQL injection in code-projects Online Appointment Booking System 1.0 allows remote unauthenticated attackers to manipula

CVE-2025-7765 MEDIUM POC
5.5 Jul 17

SQL injection in code-projects Online Appointment Booking System 1.0 allows remote unauthenticated attackers to execute

CVE-2025-7764 MEDIUM POC
5.5 Jul 17

SQL injection in code-projects Online Appointment Booking System 1.0 allows remote attackers to execute arbitrary SQL co

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy