Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| danielbrendel | hortusfox-web | < 6.2 | 6.2 |
References
- hortusfox-web 6.2 Release Notes release-notes
- Patch Commit patch
- https://www.vulncheck.com/advisories/hortusfox-remote-code-execution-via-theme-import third-party-advisory