Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | While the CVSS 3.1 score of 7.3 (High severity) reflects the vulnerability's impact potential, multiple factors elevate real-world exploitation risk: (1) Attack Vector is Network (AV:N) with Low Complexity (AC:L), enabling trivial remote exploitation; (2) No authentication required (PR:N), eliminating access barriers; (3) Public disclosure and available proof-of-concept code dramatically increase the likelihood of active exploitation; (4) The CVSS vector (C:L/I:L/A:L) indicates confidentiality, integrity, and availability impacts are all realizable; (5) The vulnerability affects a publicly-facing web application component used for appointment booking, creating broad exposure. The combination of ease of exploitation (network-based, no auth) and public POC availability suggests this vulnerability is likely already being actively targeted by threat actors and automated scanning tools. SSVC analysis would rate this as IMMEDIATE priority due to: automatable exploitation (web-based SQL injection), public POC availability, and technical impact on sensitive customer data in an appointment system. |
| Exploit ScenarioDerived | An attacker discovers the public proof-of-concept code for CVE-2025-7541 and crafts a malicious HTTP request to an organization's appointment booking system. The attacker navigates to the vulnerable /get_town.php endpoint and injects SQL code into the 'countryid' parameter, for example: /get_town.php?countryid=1 UNION SELECT username,password FROM admin_users--. Since the parameter is not sanitized, the injected SQL executes on the backend database server. The attacker successfully extracts sensitive data such as administrator credentials, customer appointment records (including phone numbers and email addresses), or payment information. Alternatively, the attacker could modify database records to disrupt service operations or execute more severe attacks. Given the network-based attack vector and absence of authentication requirements, this exploitation requires minimal technical skill and can be executed through simple HTTP requests or automated scanning tools that test for SQL injection vulnerabilities. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-7541 is a critical SQL injection vulnerability in code-projects Online Appointment Booking System version 1.0, affecting the /get_town.php endpoint where the 'countryid' parameter is inadequately sanitized. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion of the appointment booking system database. The vulnerability has been publicly disclosed with proof-of-concept code available, significantly increasing real-world exploitation risk.
RemediationAI
{'type': 'Primary Remediation', 'action': "Apply security patch or upgrade to a patched version of code-projects Online Appointment Booking System if available from the vendor. Check the vendor's official advisory and security portal for available patches.", 'priority': 'CRITICAL'} {'type': 'Code-Level Mitigation', 'action': 'Implement parameterized queries (prepared statements) for all database interactions in /get_town.php. Replace direct string concatenation with parameter binding to ensure user input cannot alter SQL query structure. Example: Use prepared statements with placeholders (?) instead of concatenating the countryid parameter directly into the SQL query.', 'priority': 'CRITICAL'} {'type': 'Input Validation', 'action': "Implement strict input validation on the 'countryid' parameter. Validate that the input is a valid integer and matches expected country ID values from a whitelist. Reject any input that does not conform to expected format.", 'priority': 'HIGH'} {'type': 'Web Application Firewall', 'action': 'Deploy or configure a Web Application Firewall (WAF) with SQL injection detection and prevention rules to block malicious SQL payloads targeting /get_town.php before they reach the application.', 'priority': 'MEDIUM'} {'type': 'Database Permissions', 'action': 'Apply principle of least privilege to database credentials used by the application. Restrict the database user account to only the minimum permissions required for appointment booking operations.', 'priority': 'MEDIUM'} {'type': 'Monitoring', 'action': 'Implement database query monitoring and anomaly detection to identify potential SQL injection attempts or suspicious database activity. Monitor logs for unusual query patterns.', 'priority': 'MEDIUM'}
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
This vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), which manifests as a classic SQL injection flaw. The affected component is the /get_town.php file in code-projects Online Appointment Booking System 1.0 (CPE identifier: cpe:2.3:a:code-projects:online_appointment_booking_system:1.0:*:*:*:*:*:*:*). The root cause is the failure to properly validate, sanitize, or parameterize user input (specifically the 'countryid' parameter) before incorporating it into SQL query construction. The application likely concatenates user input directly into SQL statements without using prepared statements or parameterized queries, allowing attackers to 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 has been found in code-projects Online Appointment Booking System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /get_town.php. The manipulation of the argument countryid leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in the Online Appointment Booking System exposes customer data and system integrity to remote attack with no vendor patch currently available. Organizations using this system face immediate risk of unauthorized data access, manipulation, and potential service disruption affecting appointment scheduling operations.
Implement Web Application Firewall (WAF) rules blocking SQL injection syntax in countryid parameter; restrict network access to /get_town.php via IP allowlisting; disable the town/location lookup feature if not business-critical; apply strict input validation and output encoding at application level; enforce principle of least privilege on database user accounts; enable comprehensive SQL query logging and database activity monitoring; consider network segmentation to isolate this application.
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-21272
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB