注册并分享邀请链接,可获得视频播放与邀请奖励。

Joel Eriksson (@OwariDa) “Telegram shipped a "sandbox" for HTML widgets in messages. It's an in-process Qu” — TopicDigg

Joel Eriksson 的个人资料封面
Joel Eriksson 的头像
Joel Eriksson
@OwariDa
加入 August 2009
0 正在关注    0 粉丝
Telegram shipped a "sandbox" for HTML widgets in messages. It's an in-process QuickJS (C) interpreter on a thread... No fork, no isolatedProcess, no seccomp anywhere in the tree, so any QuickJS exploit is enough to gain full control with whatever privileges the Telegram client is running as without the need for any separate sandbox escape The bug is a UaF in the interpreter, from standard JS: ```js class D { [Symbol.dispose]() {} } const d = new D(); let leak; class C { static { for (await using x of [d, d]) leak = () => x; }} // ... run anything ... leak() // reads a freed frame ``` The fix for this particular vuln is still just in the master branch, and considering the number of vulnerabilities QuickJS has had in the past, this vuln will surely not be the last...
显示更多
0
7
177
15
转发到社区