Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | CVE-2025-5712 presents HIGH real-world risk despite a moderate CVSS 7.3 score. Risk signal analysis: (1) CVSS 3.1 vector shows AV:N (network-exploitable), AC:L (low complexity), PR:N (no authentication required), and impact on confidentiality, integrity, and availability - all indicating ease of exploitation; (2) Public POC disclosure dramatically increases exploitation probability; (3) CWE-74/89 SQL injection is a well-understood, highly automatable attack class with mature exploitation tools; (4) No authentication requirement (PR:N) eliminates a critical control barrier. The CVSS 7.3 underestimates risk due to medical data sensitivity not reflected in the base score - patient appointment and health records are high-value targets for HIPAA/data breach compliance. SSVC perspective: exploitation is PUBLIC, automated tools apply, technical impact is HIGH (full database compromise in healthcare context). This transitions from standard priority to critical for healthcare deployments. Organizations running this system require immediate patching regardless of CVSS perception. |
| Exploit ScenarioDerived | An attacker discovers a publicly accessible SourceCodester Clinic Management System instance. They craft a malicious HTTP request to /appointment.php with a manipulated patient parameter containing SQL injection payload, e.g., patient=1' OR '1'='1 or patient=1; DROP TABLE appointments;--. Since no authentication is required (PR:N) and complexity is low (AC:L), the attack executes immediately. The injected SQL executes in the context of the application's database user, allowing the attacker to: (1) extract sensitive appointment and patient data including names, contact info, medical histories; (2) modify or delete appointment records; (3) insert fraudulent data; (4) potentially escalate to operating system command execution if database user has FILE permissions. With public POC availability, this attack is highly likely to be automated and deployed at scale against clinic systems. Attack time-to-compromise is minutes, making this a critical incident risk. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 14, 2026
Critical SQL injection vulnerability in SourceCodester Open Source Clinic Management System 1.0 affecting the /appointment.php file's patient parameter. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially compromising data confidentiality, integrity, and availability. The exploit has been publicly disclosed with proof-of-concept availability, significantly elevating real-world exploitation risk.
RemediationAI
Immediate actions: (1) Apply vendor patches - contact SourceCodester for CVE-2025-5712 security updates; check official repository/website for patched version (likely 1.0.1 or 2.0); (2) If patch unavailable, implement input validation: whitelist/validate patient parameter to accept only expected formats (numeric IDs, specific alphanumeric patterns); (3) Use prepared statements: replace all direct SQL concatenation with parameterized queries using PHP PDO or mysqli prepared statement APIs (e.g., $stmt = $pdo->prepare('SELECT * FROM appointments WHERE patient_id = ?'); $stmt->execute([$patient])); (4) Apply Web Application Firewall (WAF) rules to detect/block SQL injection patterns in appointment.php requests; (5) Implement principle of least privilege - database user account running queries should have minimal required permissions; (6) Enable SQL error suppression to prevent information leakage through error messages; (7) Conduct database audit for unauthorized access/data exfiltration since POC is public.
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 PHP-based web application code handling HTTP request parameters without proper input validation or parameterized query usage. The patient parameter in /appointment.php is directly concatenated into SQL queries without sanitization, allowing SQL injection attacks. This falls under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection'), specifically manifesting as CWE-89 (SQL Injection). The affected product is a medical clinic management system written in PHP that processes appointment-related database queries. The root cause is the absence of prepared statements, parameterized queries, or input validation mechanisms that should filter special SQL characters or use type-safe query construction methods.
Know when Open Source Clinic Management 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 SourceCodester Open Source Clinic Management System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /appointment.php. The manipulation of the argument patient leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in the Open Source Clinic Management System allows remote attackers to compromise patient data and system integrity without authentication. Organizations using this software face immediate risk of data breach, unauthorized access to protected health information, and potential regulatory violations (HIPAA, state privacy laws) given the healthcare context.
Implement Web Application Firewall (WAF) rules blocking SQL metacharacters in the patient parameter; disable or restrict access to the /appointment.php endpoint if operationally feasible; enforce network segmentation to limit database access; apply database user privilege minimization; enable comprehensive audit logging of database queries and authentication attempts; consider disabling the affected appointment functionality pending patch availability or system replacement.
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.
Critical SQL injection vulnerability in SourceCodester Open Source Clinic Management System v1.0, specifically in the /d
A remote code execution vulnerability in A vulnerability classified as critical (CVSS 7.3). Risk factors: public PoC ava
SourceCodester Open Source Clinic Management System version 1.0 contains a critical SQL injection vulnerability in the /
A vulnerability has been found in SourceCodester Open Source Clinic Management System 1.0 and classified as critical. Ra
Unrestricted file upload in SourceCodester Open Source Clinic Management System 1.0 allows remote authenticated attacker
EUVD-2025-17047
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB