Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as administrator
-
ExploitUpload crafted theme ZIP with PHP and .htaccess
-
ExecutionRequest planted file under themes directory
-
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 HortusFox administrator account and access to the theme import function (ThemeModule::startImport). The attacker must craft a ZIP archive that bundles a PHP payload together with an .htaccess file that re-enables PHP execution within the themes directory, because the archive is extracted into the public web root before any file-name, extension, or content validation. The primary limiting factor is the administrator privilege level (CVSS PR:H) - this is not remotely exploitable by unauthenticated or low-privileged users, so realistic risk hinges on admin credential compromise. Affected versions are HortusFox before 6.2; upgrading to 6.2 remediates it. |
| Impact | This is a genuine but access-gated remote code execution flaw. The vendor-provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) scores 8.6 (High), with the high score driven by full confidentiality/integrity/availability impact over the network at low complexity with no user interaction. The critical mitigating signal is PR:H: exploitation requires an authenticated administrator, per both the CVSS vector and the description ('An authenticated administrator can upload a crafted theme archive'). This is consistent - there is no conflict between the vector and the description. No EPSS score was provided in the input, and there is no CISA KEV listing and no public POC referenced, so there is no public exploit identified at time of analysis. The real-world priority is therefore moderate rather than urgent: the flaw yields full server compromise, but only an attacker who already holds administrator credentials (or has compromised an admin account via another vector) can trigger it, which substantially limits mass or opportunistic exploitation. A patched release (v6.2) is confirmed available from the vendor, which should be the primary response. |
| Exploit ScenarioDerived | An attacker who has obtained HortusFox administrator credentials (via phishing, credential reuse, or a compromised account) logs into the admin panel and uses the theme import feature to upload a crafted ZIP containing a PHP webshell plus an .htaccess file that re-enables PHP execution in the themes directory. Because ThemeModule::startImport() extracts the archive into the public web root before validating file names, extensions, or content, the attacker then simply requests the planted PHP file over HTTP to execute arbitrary OS commands as the web-server user. No public exploit code is identified at time of analysis, so this scenario is inferred from the description and CWE-434. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
HortusFox versions before 6.2 expose an authenticated remote code execution path through the theme import feature (ThemeModule::startImport): an uploaded ZIP archive is extracted into the public web root before file names, extensions, or content are validated, so an attacker with an administrator account can bundle a PHP payload and an .htaccess file that re-enables PHP execution and then execute arbitrary OS commands as the web-server user by requesting the dropped file under the themes directory. Exploitation is gated by administrator privileges (CVSS PR:H), so practical risk depends on obtaining or compromising an admin account; no public exploit code has been identified at time of analysis and there is no confirmed active exploitation (CISA KEV). The vendor addressed the flaw in the 6.2 release, and the issue is tracked under CWE-434 (unrestricted upload of a file with a dangerous type).
RemediationAI
Vendor-released patch: upgrade to HortusFox 6.2 (https://github.com/danielbrendel/hortusfox-web/releases/tag/v6.2), which removes unsafe files from imported themes via commit 3b87393d38ce408ec6f0946ffb3cbf0d08b5f07c and prevents import of potentially dangerous files via 1c7108f23fa30759d6f3bf62f0cfbf975bdc0a3b; there is no supported workaround that keeps vulnerable theme import functional, so patching is strongly preferred (see also https://www.vulncheck.com/advisories/hortusfox-remote-code-execution-via-theme-import). If immediate upgrade is not possible, compensate by disabling or restricting the theme import function to trusted operators, tightening administrator account security (unique credentials, MFA where available, removal of dormant admin accounts) since exploitation requires an authenticated administrator, and configuring the web server to deny PHP execution within the themes directory (for example, refusing to honor .htaccess overrides in that path and blocking application/x-httpd-php handlers there) - the trade-off being that legitimate PHP-based theme functionality, if any, will stop working; additionally, ensure the themes directory is not writable by untrusted processes and monitor web logs for POSTs to the theme import endpoint followed by requests for newly created files under /themes/. Note that patch status is 'Available from vendor' but the availability of a fix does not by itself imply exploitation has occurred; no public exploit code has been identified at time of analysis.
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 is a PHP web application (CPE cpe:2.3:a:danielbrendel:hortusfox-web:*:*:*:*:*:*:*:*) whose theme system allows an administrator to import custom themes as ZIP archives. In ThemeModule::startImport(), the uploaded archive is decompressed directly into the public web root before any validation of file names, extensions, or content takes place - the classic CWE-434 pattern of accepting an attacker-controlled archive and writing its contents into a web-served location. Because the application stack is PHP, the attacker does not need to bypass extension filtering with an exotic parser trick alone: the archive can include an .htaccess file that re-enables or forces PHP execution for the themes directory, allowing the accompanying PHP file (once requested over HTTP under the themes path) to be interpreted and to run arbitrary OS commands under the web-server user's context. The upstream fixes in the 6.2 release, notably commit 3b87393d38ce408ec6f0946ffb3cbf0d08b5f07c ('Remove unsafe files from imported themes') and commit 1c7108f23fa30759d6f3bf62f0cfbf975bdc0a3b ('Prevent importing potentially dangerous files'), confirm that the root cause is the missing pre-extraction/validation step and that related legacy-extension and tokenization hardening was applied in the same release.
Know when PHP 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-accessible admin upload feature (AV:N/AC:L/UI:N) requiring administrator authentication (PR:H); arbitrary OS command execution yields full C/I/A impact with scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
HortusFox before 6.2 contains a remote code execution vulnerability in ThemeModule::startImport() where an uploaded ZIP archive is extracted directly into the public web root before any validation of file names, extensions, or content is performed. An authenticated administrator can upload a crafted theme archive containing a PHP file and an .htaccess file to re-enable execution, then request it under the themes directory to execute arbitrary OS commands as the web-server user.
Articles & Coverage 1
Executive ViewAI
HortusFox deployments running versions prior to 6.2 contain an authenticated remote code execution flaw in the theme import feature that allows an attacker holding an administrator account to run arbitrary operating system commands as the web-server user, effectively handing over control of the hosting server. Because the entry point requires administrative credentials rather than being reachable anonymously, the realistic threat is an insider, a phished or reused admin password, or a compromised admin session rather than mass internet scanning. Leadership should treat this as a high-priority remediation item for any internet-facing or otherwise sensitive HortusFox instance, since successful exploitation can lead to full server compromise, data theft, and onward lateral movement beyond the application itself.
Apply vendor patch. If immediate upgrade to HortusFox 6.2 is not possible, restrict theme import to trusted administrators, temporarily disable the theme import feature, remove or block .htaccess overrides in the themes directory, and ensure the web root is not writable by the web-server user.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-93436
GHSA-6h79-56ph-ww3m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB