Description
Paymenter is a free and open-source webshop solution for hostings. Prior to version 1.2.11, the ticket attachments functionality in Paymenter allows a malicious authenticated user to upload arbitrary files. This could result in sensitive data extraction from the database, credentials being read from configuration files, and arbitrary system commands being run under the web server user context. This vulnerability was patched by commit 87c3db4 and was released under the version 1.2.11 tag without any other code modifications compared to version 1.2.10. If upgrading is not immediately possible, administrators can mitigate this vulnerability with one or more of the following measures: updating nginx config to download attachments instead of executing them or disallowing access to /storage/ fully using a WAF such as Cloudflare.
Problem types
CWE-434: Unrestricted Upload of File with Dangerous Type
Product status
References
github.com/...menter/security/advisories/GHSA-5pm9-r2m8-rcmj
github.com/...ommit/87c3db42282ada1e3cda54b9a01f846926c0669b
github.com/Paymenter/Paymenter/releases/tag/v1.2.11