Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-48708

HIGH · 7.5 CVSS Gepubliceerd: CWE-362

Beschrijving NL

OliveTin geeft toegang tot vooraf gedefinieerde shell-opdrachten vanuit een webinterface. In versies 3000.0.0 en eerder gebruikt de sjabloonengine één gedeelde tekst/sjabloon. Sjablooninstantie (tpl-pakketniveauvariabele in service/intern/tpl/templates.go) in alle goroutines. Elke actie die wordt uitgevoerd, roept tpl.Parse (bron) aan, gevolgd door t.Execute () op deze gedeelde instantie zonder synchronisatie. Wanneer twee of meer acties tegelijkertijd worden uitgevoerd (wat het normale geval is — elke ExecRequest brengt een goroutine voort), treedt er een racevoorwaarde op: de Parse van de ene goroutine overschrijft de sjabloonboom terwijl een andere goroutine Execute aanroept, waardoor cross-user commando-contaminatie, Go runtime panic en onjuiste commando-uitvoering worden veroorzaakt. Dit probleem is opgelost in versie 3000.13.0.

Origineel (Engels) tonen

OliveTin gives access to predefined shell commands from a web interface. In versions 3000.0.0 and prior, the template engine uses a single shared text/template.Template instance (tpl package-level variable in service/internal/tpl/templates.go) across all goroutines. Every action execution calls tpl.Parse(source) followed by t.Execute() on this shared instance with no synchronization. When two or more actions execute concurrently (which is the normal case — each ExecRequest spawns a goroutine), a race condition occurs: one goroutine's Parse overwrites the template tree while another goroutine is calling Execute, causing cross-user command contamination, Go runtime panic, and incorrect command execution. This issue has been resolved in version 3000.13.0.

References