8.8high
FOG: Authenticated low-privileged API user can modify Storage Nodes and reach root command execution
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
FOG is a free open-source cloning/imaging/rescue suite/inventory management system. Prior to 1.5.10.2253 and 1.6.0-RC-1, an authenticated API-enabled user with uType=1 who possesses both the user's API token and the global FOG API token can use PUT /fog/storagenode/{id}/edit to modify Storage Node user, pass, and ftppath fields because the API validates the credentials but does not enforce an administrator-only role. With storage replication enabled and a usable Storage Node, FOGImageReplicator interpolates those fields into an lftp command executed through proc_open() by the root-running service, allowing the low-privileged user to execute commands as root. This issue is fixed in versions 1.5.10.2253 and 1.6.0-RC-1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FOGProject fogproject | < 1.5.10.2253 | CVE List |
Classification
What each source says
CVE List
FOG is a free open-source cloning/imaging/rescue suite/inventory management system. Prior to 1.5.10.2253 and 1.6.0-RC-1, an authenticated API-enabled user with uType=1 who possesses both the user's API token and the global FOG API token can use PUT /fog/storagenode/{id}/edit to modify Storage Node user, pass, and ftppath fields because the API validates the credentials but does not enforce an administrator-only role. With storage replication enabled and a usable Storage Node, FOGImageReplicator interpolates those fields into an lftp command executed through proc_open() by the root-running service, allowing the low-privileged user to execute commands as root. This issue is fixed in versions 1.5.10.2253 and 1.6.0-RC-1.
NVD (es)
FOG es un sistema de gestión de inventario/suite de clonación/creación de imágenes/rescate de código abierto y gratuito. Versiones anteriores a la 1.5.10.2253 y a la 1.6.0-RC-1, un usuario autenticado con API habilitada y uType=1 que posee tanto el token de API del usuario como el token de API global de FOG puede usar PUT /fog/storagenode/{id}/edit para modificar los campos de usuario, contraseña y ftppath de un nodo de almacenamiento (Storage Node) porque la API valida las credenciales pero no impone un rol exclusivo de administrador. Con la replicación de almacenamiento habilitada y un nodo de almacenamiento (Storage Node) utilizable, FOGImageReplicator interpola esos campos en un comando lftp ejecutado a través de proc_open() por el servicio que se ejecuta como root, lo que permite al usuario con pocos privilegios ejecutar comandos como root. Este problema está corregido en las versiones 1.5.10.2253 y 1.6.0-RC-1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-116778 changed 2026-10-28 | CVE Terms of Use |
| NVD | CVE-2026-116778 changed 2026-11-04 | Public domain |