Description (CNA)
HortusFox (hortusfox-web) through 6.3 contains an unrestricted file upload vulnerability in PlantAttachmentModel that allows authenticated users to store files with client-supplied extensions under public/attachments/. Attackers can upload HTML or SVG files via /plants/attachments/add for stored cross-site scripting, or PHP files where .htaccess is unenforced to execute code.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| danielbrendel / hortusfox-web | affected 0 through 6.3 |
CWE
CWE-434
References
- https://github.com/danielbrendel/hortusfox-web
- https://github.com/danielbrendel/hortusfox-web/security/advisories/GHSA-8phf-v3xj-8jjg
- https://hackmd.io/@leediay/stored-xss-hortusfox-via-plant-attachment
- https://github.com/danielbrendel/hortusfox-web/blob/v6.3/app/models/PlantAttachmentModel.php#L28-L31
- https://github.com/danielbrendel/hortusfox-web/blob/v6.3/app/resources/js/app.js#L466
- https://www.vulncheck.com/advisories/hortusfox-through-6.3-unrestricted-file-upload-via-plant-attachments
ADP enrichment
No English description supplied.
No references supplied.