Lessons from Telegram's RCE
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
NebuSec reports that Telegram's new bot widgets, which run bot-supplied JavaScript in QuickJS on the user's device, led to remote code execution within a day of launch. It also says Telegram's follow-up seccomp filter, a denylist of about 30 calls, was bypassed two days later. Details are withheld, and several dates and claims are unverified. NebuSec proposes layers: an isolated process, per-widget WebAssembly sandboxing via wasm2c, and RLBox-tainted values. It notes that Skia, outside the sandbox, was also exploited.