Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via phishing or reuse
-
DeliveryAuthenticate to appointment system
-
ExploitPOST PHP webshell to /save_file.php via save_doctor
-
ExecutionServer stores file in web-accessible directory
-
PersistHTTP GET request to uploaded webshell URL
-
ImpactExecute arbitrary OS commands as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid high-privilege (administrator-level) session in the Simple Doctors Appointment System - the CVSS 4.0 vector PR:H confirms this. The attacker must have access to the doctor management functionality that calls save_doctor in /save_file.php. For post-upload code execution (the most impactful outcome), the server must additionally store uploaded files in a web-accessible directory with PHP execution enabled - a common but not universal deployment configuration. The application must be network-accessible (AV:N confirmed). Limiting factors include: the PR:H requirement substantially restricts exploitation to authenticated administrators or users with stolen admin credentials; environments that store uploads outside the web root or disable PHP execution in upload directories are protected from the remote code execution escalation even if the upload itself succeeds. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) reflects a meaningful real-world constraint: the vector PR:H indicates high-privilege authentication is required, meaning the attack surface is limited to users already holding administrator-level credentials in the application. This sharply reduces the pool of potential threat actors compared to unauthenticated flaws. The VC:L/VI:L/VA:L ratings suggest the direct impact is bounded - file upload alone does not guarantee full system compromise unless the upload directory is web-accessible and PHP execution is enabled there. The E:P modifier confirms a public POC exists, elevating urgency for organizations that have deployed this software. No EPSS score was provided in the input data, so probabilistic exploitation likelihood cannot be quantitatively assessed. No CISA KEV listing was found, and there is no evidence of mass exploitation. The primary real-world risk is a post-authentication privilege escalation path where a compromised admin account or a malicious insider leverages the upload to achieve persistent remote code execution - a targeted rather than opportunistic threat. |
| Exploit ScenarioDerived | An attacker who has obtained high-privilege (admin) credentials - through phishing, credential stuffing, or insider access - navigates to the doctor management interface and submits a crafted multipart form POST to /save_file.php, substituting a PHP webshell (e.g., <?php system($_GET['cmd']); ?>) as the uploaded file. If the server stores the file in a web-accessible directory without restricting PHP execution, the attacker retrieves the upload path and issues HTTP requests to the webshell, achieving remote code execution under the web server's process account. A public POC is available at https://github.com/HZFW2026/cve/issues/3 demonstrating the upload bypass. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 14, 2026
Unrestricted file upload in SourceCodester Simple Doctors Appointment System 1.0 allows a remote, high-privilege attacker to upload arbitrary file types - including server-executable PHP scripts - via the save_doctor function at /save_file.php. The confidentiality, integrity, and availability impact is rated low-to-moderate per the CVSS 4.0 vector (5.1 Medium), as exploitation is constrained to authenticated sessions with high-privilege credentials. A public proof-of-concept exploit exists (GitHub issue linked from VulDB), though the vulnerability has not been added to the CISA KEV catalog.
RemediationAI
No vendor-released patch has been identified at time of analysis. The SourceCodester project page (https://www.sourcecodester.com/) should be monitored for updates. Until a patch is available, administrators should implement server-side file type validation in /save_file.php by enforcing a strict allowlist of permitted extensions (e.g., jpg, png, pdf) and validating MIME type against file content using PHP's finfo_file() - blocking extensions alone is insufficient as bypass techniques exist. Uploaded files should be stored outside the web root or in a directory configured to deny PHP execution (e.g., via .htaccess: 'php_flag engine off'), preventing a successfully uploaded webshell from being executed via HTTP request. Access to the doctor management interface should be restricted to trusted administrative IP ranges where feasible, reducing the PR:H exploitation window even for credential-compromise scenarios.
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 affected endpoint, /save_file.php, implements a PHP function named save_doctor responsible for processing doctor profile data including file uploads. CWE-434 (Unrestricted Upload of File with Dangerous Type) describes the root cause: the application fails to validate uploaded file extensions, MIME types, or content against a server-side allowlist. This is a classic PHP unrestricted upload pattern where an attacker can substitute a PHP webshell in place of a legitimate image or document. The CPE cpe:2.3:a:sourcecodester:simple_doctors_appointment_system:*:*:*:*:*:*:*:* applies to all tracked versions of this PHP-based appointment management application distributed by SourceCodester (sourcecodester.com), a site that publishes open-source PHP demo projects primarily for educational use.
Know when Simple Doctors Appointment 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:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible upload requires high-privilege auth (PR:H); no scope change since impact is confined to the vulnerable application; limited C/I/A as upload alone does not guarantee full system compromise.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in SourceCodester Simple Doctors Appointment System 1.0. This issue affects the function save_doctor of the file /save_file.php. The manipulation results in unrestricted upload. The attack can be executed remotely. The exploit is now public and may be used.
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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 exposes the `/admin/ajax.php?action=set_appointmen
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 exposes the application's database to remote manip
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 allows unauthenticated remote attackers to comprom
SQL injection in SourceCodester Simple Doctors Appointment System 1.0 allows remote unauthenticated attackers to extract
Unrestricted file upload in SourceCodester Simple Doctors Appointment System up to version 1.0 allows authenticated remo
EUVD-2026-58713
GHSA-26xf-2hc8-jcmg
NVD
CVE.org
EPSS
VulDB
Exploit-DB