Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryCraft import archive with .php filename entry
-
ExploitTrigger Import/Export functionality
-
ExecutionFile copied unvalidated into webroot
-
PersistRequest planted PHP file
-
ImpactExecute 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 | Requires an authenticated administrator account on HortusFox-Web prior to 6.1 and use of the Import/Export feature: the attacker supplies a crafted import archive in which a referenced icon/photo/attachment/gallery/inventory filename carries a PHP extension (.php/.php5/.php7/.php8/.phtml) or a path-traversal prefix, which the unpatched ImportModule copies verbatim into the web-accessible public_path() directory. Limiting factors: exploitation is gated behind admin privileges (PR:H) and behind the operator actually running an import of attacker-controlled data, so it is not exploitable against default configurations by an unauthenticated remote attacker; there is no user-interaction requirement beyond the attacker's own admin actions. |
| Impact | This is a genuine, high-quality RCE finding but its real-world priority is moderated by a hard precondition. The vendor CVSS 4.0 vector (8.6) uses PR:H, and the description confirms exploitation requires an authenticated administrator - so this is not a remote-unauthenticated mass-exploitation candidate. The GitHub commit diff independently corroborates the root cause: ImportModule.php calls copy() to move icon/photo/attachment/thumbnail files from an attacker-supplied import archive into the web-accessible public_path() with no filename or extension validation, and the fix adds UtilsModule::checkUnsafeFileName() to block leading '/' or '.' and .php/.php5/.php7/.php8/.phtml extensions - confirming this is an unrestricted-upload-to-webroot path (CWE-434) leading to code execution. No EPSS score, KEV listing, or public POC is present in the provided data, so exploitation status is 'no public exploit identified at time of analysis' despite the VulnCheck advisory and confirmed patch. Net: technically severe (VC/VI/VA:H, web-shell-grade impact) but gated behind admin credentials on a niche self-hosted app, so it is a real patch-priority item for HortusFox operators rather than an internet-wide emergency. |
| Exploit ScenarioDerived | An attacker who already holds (or has phished/compromised) a HortusFox administrator account crafts a malicious import archive whose referenced image/attachment filename is actually a PHP payload (e.g. shell.php). When the admin uses the Import function, ImportModule copies that file unvalidated into the public web directory; the attacker then requests the file over HTTP to execute arbitrary OS commands as the web server user. No public POC is identified in the provided data, but the patch diff clearly reveals the exploitable copy() calls. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
HortusFox-Web releases prior to 6.1 expose the Import/Export data-portability feature to arbitrary file write, letting an authenticated administrator execute OS commands as the web server user by slipping a PHP file into the web-accessible public directory. The flaw carries a CVSS 4.0 score of 8.6 (assessed as CVSS 3.1 AV:N/AC:L/PR:H/UI:N/C:H/I:H/A:H, high confidentiality, integrity and availability impact) and is gated behind administrator privileges plus the operator running an import of attacker-supplied data, so it is not remotely exploitable by an unauthenticated user on a default install. Vendor patching is available via the 6.1 release and the upstream commit 1c7108f; no public exploit code or confirmed active exploitation was identified at time of analysis.
RemediationAI
Upgrade to HortusFox-Web 6.1 or later (vendor-released patch: v6.1, https://github.com/danielbrendel/hortusfox-web/releases/tag/v6.1), which incorporates upstream commit 1c7108f23fa30759d6f3bf62f0cfbf975bdc0a3b adding UtilsModule::checkUnsafeFileName() and applying it to all ImportModule copy() operations; see also the VulnCheck advisory https://www.vulncheck.com/advisories/hortusfox-web-remote-code-execution-via-import-export. If immediate upgrade is not possible, the most effective compensating control is to disable or block access to the Import/Export feature for all accounts (trade-off: loss of backup/restore capability and, if done by editing code rather than restricting routes, risk of breaking future upgrades). Because exploitation requires an administrator account, enforce least privilege by keeping the number of admin users minimal, using unique strong credentials and MFA, and auditing admin sessions - note this only reduces the attack surface and does not eliminate the flaw for a malicious or compromised admin. Additionally, harden the web server so that PHP execution is denied inside the media directories the import writes to (public_path()/img and public_path()/attachments), e.g. by refusing to execute *.php, *.php5, *.php7, *.php8 and *.phtml there; the trade-off is that any legitimate need to serve dynamic content from those paths will break, and this is a defensive layer that should be validated against the site's routing configuration. Finally, treat imported archives as untrusted input, inspect them for odd filenames or path traversal sequences before importing, and monitor for newly created PHP files in the public image and attachment directories as an indicator of attempted exploitation.
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
HortusFox-Web is a PHP web application (Laravel-style structure with app/modules/*), and the vulnerability falls under CWE-434 (Unrestricted Upload of File with Dangerous Type). The ImportModule (app/modules/ImportModule.php) restores user data from an uploaded archive, copying referenced media files into the application's public_path() directory: location icons, plant photos, plant attachments, gallery thumbs and originals, and inventory photos. In versions before 6.1, the filenames taken from the archive metadata were passed verbatim to copy(), so a crafted import package containing an entry such as a photo or gallery original named with a .php, .php5, .php7, .php8 or .phtml extension, or beginning with '/' or '.', would be written into a directory served directly by the web server and could subsequently be requested to execute. The upstream fix adds UtilsModule::checkUnsafeFileName(), which rejects names whose first character is '/' or '.' and blocks PHP-family extensions via the pattern /(php[578]?|phtml)$/i, and applies that check to every copy() call in the import routines. The patch diff also shows the original gallery-original copy being guarded with the thumb filename check, indicating the fix targets all archive-controlled path components. The CPE cpe:2.3:a:danielbrendel:hortusfox-web identifies the single affected product.
Know when Hortusfox Web 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:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable web app but exploitation needs admin access (PR:H), no user interaction; unrestricted PHP upload to webroot yields full code execution as web server user (C/I/A:H), same authorization context so S:U.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
HortusFox-Web prior to version 6.1 contains a remote code execution vulnerability that allows authenticated administrators to execute arbitrary OS commands as the web server user by abusing the Import/Export functionality. Attackers can leverage the Import/Export feature, which is intended solely for data portability, to deploy and execute malicious code on the underlying application server host.
Executive ViewAI
HortusFox-Web deployments running versions before 6.1 are exposed to a high-severity issue that can let an authenticated administrator take control of the underlying web server, putting hosted data and service availability at risk. Leadership should care because the required administrator access may already exist through compromised credentials, insider misuse, or excessive privilege, and the business impact extends beyond the application itself. There is no public exploit identified at time of analysis.
Apply vendor patch.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Hortusfox Web
View allHortusFox versions before 6.2 expose an authenticated remote code execution path through the theme import feature (Theme
Stored cross-site scripting and potential remote code execution in HortusFox (hortusfox-web) through version 6.3 allow a
Authenticated SQL injection in HortusFox (hortusfox-web) before 6.2 lets any holder of a valid API token read arbitrary
EUVD-2026-81910
GHSA-mhp6-2rq5-c7vj
NVD
CVE.org
EPSS
Exploit-DB