PT-2026-22225 · Osctrl+2 · Osctrl+2
Kwangyun
+1
·
Publicado
2026-02-26
·
Atualizado
2026-03-25
·
CVE-2026-28279
CVSS v3.1
8.4
Alta
| Vetor | AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
osctrl versions prior to 0.5.0
Description
osctrl is a management solution for osquery. A command injection issue exists in the
osctrl-admin environment configuration before version 0.5.0. An authenticated administrator can inject arbitrary shell commands through the hostname parameter when creating or editing environments. These commands are embedded into enrollment scripts generated using Go's text/template package, which does not perform shell escaping, and execute on every endpoint that enrolls using the compromised environment. An attacker with administrator access can achieve remote code execution on every endpoint that enrolls using the compromised environment. Commands execute as root/SYSTEM before osquery is installed, leaving no agent-level audit trail. This enables backdoor installation, credential exfiltration, and full endpoint compromise. The API endpoint used for environment configuration is within the osctrl-admin interface. The vulnerable parameter is hostname.Recommendations
Restrict osctrl administrator access to trusted personnel.
Review existing environment configurations for suspicious hostnames.
Monitor enrollment scripts for unexpected commands.
Exploit
Correção
OS Command Injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Go Text/Template
Osctrl
Osquery