Descrizione
Sliver is an open source cross-platform adversary emulation/red team framework, it can be used by organizations of all sizes to perform security testing. Sliver version 1.6.0 (prerelease) is vulnerable to RCE on the teamserver by a low-privileged "operator" user. The RCE is as the system root user. The exploit is pretty fun as we make the Sliver server pwn itself. As described in a past issue (#65), "there is a clear security boundary between the operator and server, an operator should not inherently be able to run commands or code on the server." An operator who exploited this vulnerability would be able to view all console logs, kick all other operators, view and modify files stored on the server, and ultimately delete the server. This issue has not yet be addressed but is expected to be resolved before the full release of version 1.6.0. Users of the 1.6.0 prerelease should avoid using Silver in production.
Tipo di vulnerabilità
CWE-74
Injection: elementi speciali non neutralizzati in un output destinato a un altro componente
Il prodotto costruisce in tutto o in parte un comando, una struttura dati o un record con dati provenienti dall’esterno, senza neutralizzare gli elementi speciali che possono cambiare il modo in cui il componente successivo lo interpreta.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione |
| Controllo degli accessi |
Aggirare i meccanismi di protezione In alcuni casi il codice iniettabile controlla l’autenticazione, il che può tradursi in una vulnerabilità sfruttabile da remoto. |
| Altro |
Alterare la logica di esecuzione |
| Integrità, Altro |
Altro |
| Non ripudio |
Nascondere le proprie attività Spesso le azioni compiute dal codice iniettato non lasciano traccia nei log. |
Come si previene
Requisiti
Programming languages and supporting technologies might be chosen which are not subject to these issues.
Sviluppo
Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.
Tutte le 4.103 CVE di tipo CWE-74, con andamento e prevenzione