CVE-2026-27626
KrytyczneStreszczenie
OliveTin umożliwia dostęp do predefiniowanych poleceń powłoki z interfejsu webowego. W wersjach do 3000.10.0, kontrola bezpieczeństwa argumentów powłoki (`checkShellArgumentSafety`) blokuje kilka niebezpiecznych typów argumentów, ale nie `password`, co pozwala na wstrzykiwanie metacharakterów powłoki i wykonywanie dowolnych poleceń systemowych.
Ocena ryzyka
Organizacja jest narażona na zdalne wykonanie kodu (RCE) przez uwierzytelnionych użytkowników oraz nieautoryzowanych atakujących, co może prowadzić do poważnych naruszeń bezpieczeństwa i utraty danych.
Rekomendacja
Zaleca się aktualizację OliveTin do najnowszej wersji, aby usunąć tę podatność oraz wprowadzenie dodatkowych środków zabezpieczających, takich jak ograniczenie dostępu do webhooków z zewnętrznych źródeł.
Oryginalny opis (angielski, źródło NVD)
OliveTin gives access to predefined shell commands from a web interface. In versions up to and including 3000.10.0, OliveTin's shell mode safety check (`checkShellArgumentSafety`) blocks several dangerous argument types but not `password`. A user supplying a `password`-typed argument can inject shell metacharacters that execute arbitrary OS commands. A second independent vector allows unauthenticated RCE via webhook-extracted JSON values that skip type safety checks entirely before reaching `sh -c`. When exploiting vector 1, any authenticated user (registration enabled by default, `authType: none` by default) can execute arbitrary OS commands on the OliveTin host with the permissions of the OliveTin process. When exploiting vector 2, an unauthenticated attacker can achieve the same if the instance receives webhooks from external sources, which is a primary OliveTin use case. When an attacker exploits both vectors, this results in unauthenticated RCE on any OliveTin instance using Shell

