CVE-2023-33198
TG Station Server vulnerability analysis and mitigation

Overview

CVE-2023-33198 affects tgstation-server, a production scale tool for BYOND server management. The vulnerability was discovered and disclosed in May 2023, affecting versions from 4.0.0 up to (excluding) 5.12.2. The issue involves the DreamMaker API (DMAPI) chat channel cache potentially being poisoned during tgstation-server (TGS) restart and reattach operations (GitHub Advisory).

Technical details

The vulnerability stems from incorrect specification of chat message destinations in the DreamMaker API and tgstation-server. When TGS restarts and reattaches, the DMAPI chat channel cache can become poisoned, leading to potential message misdirection. The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N, indicating network attack vector with high complexity and no privileges required (GitHub Advisory).

Impact

When exploited, this vulnerability can result in chat messages being sent to any of the configured IRC or Discord channels for the instance on enabled chat bots. The condition persists until either the instance's chat channels are updated in TGS or DreamDaemon is restarted. While TGS chat commands remain unaffected, this could lead to information disclosure through misdirected messages (GitHub Advisory).

Mitigation and workarounds

Several workarounds are available for affected versions: avoid restarting TGS with an active watchdog on instances with sensitive chat channels, update the codebase to a patched DMAPI version, trigger watchdog restarts after TGS restarts, disallow DreamMaker code from sending sensitive messages, or remove sensitive message enabled channels from active Chat Bots. The vulnerability has been patched in tgstation-server version 5.12.2 and DreamMaker API version 6.4.4 (GitHub Advisory, Release Notes).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management