Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAccess /backend/admin/his_admin_account.php
-
DeliverySubmit POST with malicious PHP file in ad_dpic
-
ExploitFile saved without validation
-
InstallRequest uploaded file path
-
C2Execute arbitrary PHP code
-
ExecuteEstablish persistent web shell
-
ImpactExfiltrate patient database
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 | Requires the vulnerable rickxy Hospital Management System (commit 88a4290d957dc5bdde8a56e5ad451ad14f7f90f4 or earlier) deployed with /backend/admin/his_admin_account.php endpoint accessible over the network. CVSS vector PR:N (Privileges Required: None) confirms no authentication is required - this is remote unauthenticated exploitation against the default application configuration. Exploitation is limited only by network accessibility to the admin backend path; if /backend/ paths are exposed to untrusted networks (internet, guest networks), the system is directly exploitable. No special user interaction (UI:N) or non-default configuration is needed. Deployment on PHP-enabled web servers (Apache, nginx with PHP-FPM) is inherent to the product and does not constitute a special condition. Organizations that restrict /backend/ access to internal admin networks via firewall rules or VPN requirements effectively block remote internet-based exploitation. |
| Impact | Real-world risk is HIGH despite moderate CVSS 7.3 score. Critical risk factors: (1) Remote unauthenticated attack vector (AV:N/PR:N) enables exploitation from internet without credentials, (2) Low attack complexity (AC:L) requires minimal technical skill, (3) Publicly available exploit code on GitHub (freeloader9527/cve/issues/2) provides ready-made weaponization, (4) PHP web applications with unrestricted upload typically achieve remote code execution, enabling full system compromise. Mitigating factors: (1) Limited deployment scope - this appears to be a small open-source project with unknown production usage, (2) Partial CIA impact (C:L/I:L/A:L) suggests exploitation may require additional steps for full compromise, (3) Not in CISA KEV, indicating no confirmed widespread exploitation. CRITICAL LIMITATION: The rolling release model means no fixed version numbers exist for tracking vulnerable vs. patched deployments - defenders cannot rely on version checks. Organizations must verify patch status by commit hash or deployment date. SSVC assessment: Exploitation is PROVEN (public POC), likely AUTOMATABLE given simple HTTP upload attack, TECHNICAL IMPACT is likely higher than CVSS partial ratings suggest (arbitrary file upload in admin context typically yields RCE), prioritize patching if system is internet-exposed. |
| Exploit ScenarioDerived | An unauthenticated remote attacker accesses the publicly exposed /backend/admin/his_admin_account.php endpoint and submits a POST request with a malicious PHP web shell disguised as an image file in the ad_dpic parameter. The application accepts the upload without validation and stores the file in a web-accessible directory. The attacker then directly requests the uploaded PHP file via HTTP, executing arbitrary commands on the server with web server privileges, enabling data theft of patient records, further network penetration, or ransomware deployment. Public exploit code on GitHub (freeloader9527/cve/issues/2) provides ready-made attack tooling, lowering skill requirements to script-kiddie level. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Unrestricted file upload in rickxy Hospital Management System allows remote unauthenticated attackers to upload malicious files via the /backend/admin/his_admin_account.php endpoint, leading to potential remote code execution, data exfiltration, or system compromise. Public exploit code exists (GitHub), significantly lowering exploitation barrier. The product uses rolling releases with no fixed versioning, complicating patch tracking. CVSS 7.3 with EPSS not provided, but publicly available POC elevates real-world risk.
RemediationAI
Update to the latest commit from the rickxy Hospital Management System repository (https://github.com/rickxy/Hospital-Management-System) that addresses this vulnerability, verifying the commit is newer than 88a4290d957dc5bdde8a56e5ad451ad14f7f90f4. Since no formal patch advisory exists and the project uses rolling releases, review recent commits for file upload validation fixes in /backend/admin/his_admin_account.php. If immediate patching is not feasible, implement these compensating controls with specific trade-offs: (1) Restrict access to /backend/admin/* paths to authenticated admin users only via web server configuration (Apache .htaccess or nginx location blocks) - this mitigates unauthenticated exploitation but breaks legitimate unauthenticated admin access if design requires it, (2) Implement web application firewall (WAF) rules to block POST requests to his_admin_account.php containing executable file extensions (.php, .phtml, .php5, .phar) in ad_dpic parameter - may cause false positives if legitimate filenames contain these strings, (3) Configure PHP disable_functions directive to block shell execution functions (system, exec, shell_exec, passthru) - reduces RCE impact but may break legitimate application functionality that relies on system commands, (4) Deploy the application in a containerized environment with read-only filesystem for web root - prevents uploaded files from being written but requires architectural changes. Verify fixes by testing upload attempts with .php files to confirm rejection.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerability in a PHP-based hospital management system. The affected endpoint /backend/admin/his_admin_account.php accepts file uploads via the 'ad_dpic' parameter without proper validation of file type, extension, or content. In PHP applications, unrestricted upload commonly enables attackers to upload web shells (PHP scripts) that execute arbitrary commands when accessed via HTTP. The backend admin path suggests this may be intended for profile picture uploads, but lacks server-side controls to restrict uploads to safe image formats only. The CPE identifies rickxy Hospital Management System as the affected product, with vulnerability present in commits up to 88a4290d957dc5bdde8a56e5ad451ad14f7f90f4.
Know when Hospital 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 Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was found in rickxy Hospital Management System up to 88a4290d957dc5bdde8a56e5ad451ad14f7f90f4. Affected is an unknown function of the file /backend/admin/his_admin_account.php. The manipulation of the argument ad_dpic results in unrestricted upload. The attack can be executed remotely. The exploit has been made public and could be used. This product implements a rolling release for ongoing delivery, which means version information for affected or updated releases is unavailable.
Executive ViewAI
rickxy Hospital Management System contains an unauthenticated file upload vulnerability (CVE-2026-6602) that allows attackers to upload malicious files and execute code on hospital infrastructure. With publicly available exploit code and no vendor patch available, this vulnerability poses an immediate threat to patient data confidentiality, system availability, and operational integrity of healthcare delivery.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict network access to /backend/admin/his_admin_account.php endpoint via firewall rules; (2) Implement WAF rules to block file uploads to this endpoint; (3) Configure strict file upload validation at the OS/application level (whitelist only required file types, block executable extensions); (4) Enable detailed logging and monitoring of the admin endpoint for anomalous activity; (5) Require multi-factor authentication for any account management functions if product supports it; (6) Monitor vendor communications for rolling release updates that address this vulnerability.
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.
More in Hospital Management System
View allAn arbitrary file upload vulnerability in the component /jquery-file-upload/server/php/index.php of Hospital Management
A JQuery Unrestricted Arbitrary File Upload vulnerability was discovered in Hospital Management System V4.0 which allows
SQL injection vulnerability in Hospital Management System Project in ASP.Net MVC 1 allows aremote attacker to execute ar
A vulnerability was found in SourceCodester Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vul
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A vulnerability was found in Hospital Management System 1.0. Rated critical severity (CVSS 9.8), this vulnerability is r
A privilege escalation issue was found in PHP Gurukul Hospital Management System In v.4.0 allows a remote attacker to ex
Hospital Management System v1.0 was discovered to contain multiple SQL injection vulnerabilities via the Username and Pa
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter at orde
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at doc
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the loginid parameter at adm
EUVD-2026-23768
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB