Description
Maho is a free and open source ecommerce platform. In Maho prior to 25.9.0, an authenticated staff user with access to the `Dashboard` and `Catalog\Manage Products` permissions can create a custom option on a listing with a file input field. By allowing file uploads with a `.php` extension, the user can use the filed to upload malicious PHP files, gaining remote code execution. Version 25.9.0 fixes the issue.
Problem types
CWE-646: Reliance on File Name or Extension of Externally-Supplied File
Product status
References
github.com/...e/maho/security/advisories/GHSA-vgmm-27fc-vmgp
github.com/...ommit/db54a1b44e9b3fd26b27ca4d5ece0af99c4dcb53