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 reflects high severity, the real-world risk is CRITICAL when evaluated holistically: (1) Attack Vector (AV:N) - remotely exploitable with no network segmentation required; (2) Attack Complexity (AC:L) - low complexity, basic SQL injection syntax suffices; (3) Privileges Required (PR:N) - no authentication needed, attacker can inject during login attempt itself; (4) User Interaction (UI:N) - no user action required; (5) Public POC/Disclosure - confirmed availability of working exploits significantly elevates EPSS probability; (6) Exploitability Status - publicly disclosed with active exploitation likely given the simplicity of SQL injection in legacy PHP applications. The CVSS vector undersells the actual impact: SQL injection in authentication context (uname/psw parameters) typically enables complete authentication bypass, unauthorized data access (CIA impact: C:L/I:L/A:L is conservative), and potential remote code execution if the database user has FILE privileges. This meets SSVC 'Exploitation Status: Proof-of-Concept' and 'Technical Impact: Total' criteria, warranting immediate patching. |
| Exploit ScenarioDerived | An attacker crafts a malicious HTTP POST request to the login functionality targeting /cover.php with uname parameter set to: admin' OR '1'='1 and psw set to: anything. The application concatenates this unsanitized input into a SQL query like SELECT * FROM users WHERE uname='admin' OR '1'='1' AND psw='anything', which bypasses authentication and logs in as the first user (typically admin). Alternatively, attacker uses UNION-based injection: uname=admin' UNION SELECT username,password FROM users-- and extracts credentials. Given the public POC availability and low AC complexity, exploitation requires only basic HTTP request manipulation and takes seconds to execute. No specialized tools or deep SQL knowledge needed; script kiddies with basic SQL injection knowledge can immediately compromise affected instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
CVE-2025-7587 is a critical SQL injection vulnerability in code-projects Online Appointment Booking System version 1.0, affecting the /cover.php endpoint where uname and psw parameters are not properly sanitized. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially leading to data exfiltration, authentication bypass, and database manipulation. The vulnerability has been publicly disclosed with working exploits available, making active exploitation highly probable in the wild.
RemediationAI
{'type': 'Immediate Mitigation', 'action': 'If patched version is unavailable, implement Web Application Firewall (WAF) rules to block SQL injection patterns in /cover.php, specifically detecting SQL keywords (UNION, SELECT, OR, AND) in uname and psw parameters'} {'type': 'Code-Level Fix', 'action': "Replace all SQL query concatenation in /cover.php with parameterized prepared statements (mysqli_prepare() or PDO prepared statements in PHP). Example: Use $stmt = $mysqli->prepare('SELECT * FROM users WHERE uname = ? AND psw = ?'); $stmt->bind_param('ss', $uname, $psw);"} {'type': 'Input Validation', 'action': 'Implement strict whitelist validation for uname (alphanumeric + underscores only) and psw (if stored hashed, validate length); reject special characters'} {'type': 'Patch Status', 'action': 'Check code-projects GitHub or vendor portal for patched versions > 1.0. If no patch available from upstream, consider forking/patching internally or migrating to maintained appointment booking software'} {'type': 'Detection & Monitoring', 'action': 'Enable SQL error logging and monitor /cover.php POST requests for suspicious patterns; set up IDS/IPS signatures for SQL injection in authentication endpoints'}
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 is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection'), which is the root cause category for SQL injection flaws. The affected component is /cover.php, a web application file that processes user authentication parameters (uname/psw - username and password fields). The web application fails to use parameterized queries or input validation before passing these parameters to SQL database queries. This is a classic first-order SQL injection vulnerability where user-supplied input is directly concatenated into SQL statements without escaping or prepared statement usage. Affected product: code-projects Online Appointment Booking System version 1.0 (CPE: 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 was found in code-projects Online Appointment Booking System 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file /cover.php. The manipulation of the argument uname/psw leads to sql injection. The attack may be launched 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 1.0 allows unauthenticated remote attackers to compromise the database through the login credentials fields. With a public exploit available and no patch issued by the vendor, this poses an immediate risk to customer data, appointment records, and system integrity if the affected application is internet-facing.
Deploy WAF rules with SQL injection signatures targeting /cover.php parameters; enforce IP-based access controls; disable the appointment booking feature until patched; implement strict input validation and parameterized queries at application level if code access is available; enable enhanced database activity monitoring and alerting; consider deploying a reverse proxy with request filtering; isolate the affected system on a segmented network with minimal lateral movement capability.
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-21323
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB