10.0critical
Paymenter Vulnerable to Remote Code Execution via Public File Uploads
- Severity
- 10.0critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.49% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5pm9-r2m8-rcmj
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Paymenter Paymenter | < 1.2.11 | CVE List |
| paymenter/paymenter (Packagist) | before 1.2.11 | GitHub Advisory Database |
All scores
| GitHub_M | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
The ticket attachments functionality in Paymenter allows a malicious authenticated user to upload arbitrary files.
With the ability to execute arbitrary code, this vulnerability can be exploited in numerous ways, including but not limited to:
- Extracting sensitive data from the database (e.g. customer information).
- Reading credentials from .env or other configuration files.
- Running arbitrary system commands under the web server user context.
This issue is Critical as it allows a low-privilege authenticated user to fully compromise the application and underlying server.
Patches
This vulnerability was patched by https://github.com/Paymenter/Paymenter/commit/87c3db42282ada1e3cda54b9a01f846926c0669b and was released under the v1.2.11 tag without any other code modifications compared to v1.2.10.
Work arounds
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:
location ^~ /storage/ {
types { }
default_type application/octet-stream;
add_header X-Content-Type-Options nosniff;
try_files $uri =404;
}
- Disallow access to /storage/ fully using a WAF such as Cloudflare
These workarounds significantly reduce risk, but the only guaranteed resolution is upgrading to v1.2.11 or later.
NVD (es)
Paymenter es una solución de tienda web de código abierto y gratuita para alojamientos. Antes de la versión 1.2.11, la funcionalidad de adjuntos de tickets en Paymenter permite a un usuario autenticado malicioso cargar archivos arbitrarios. Esto podría resultar en la extracción de datos sensibles de la base de datos, la lectura de credenciales de archivos de configuración y la ejecución de comandos de sistema arbitrarios bajo el contexto de usuario del servidor web. Esta vulnerabilidad fue parcheada por el commit 87c3db4 y fue lanzada bajo la etiqueta de la versión 1.2.11 sin ninguna otra modificación de código en comparación con la versión 1.2.10. Si la actualización no es posible de inmediato, los administradores pueden mitigar esta vulnerabilidad con una o más de las siguientes medidas: actualizar la configuración de nginx para descargar los adjuntos en lugar de ejecutarlos o denegar completamente el acceso a /storage/ utilizando un WAF como Cloudflare.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58048 changed 2025-08-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5pm9-r2m8-rcmj changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-58048 changed 2026-09-26 | Public domain |