العربية
🚨 BreakingSonicWall Gen 6 Firewalls Reach End of Security Patches

Telegram Android Widgets: NebuSec Claims Two Sandbox Bypass RCE Exploits

فريق السايبر العربياقرأ بالعربية

Security firm NebuSec says a malicious Telegram widget can bypass the seccomp filter added in Telegram for Android 13.2.2 and run code outside it, the latest twist in the widgets saga.

Source image for: Researchers Claim Two RCE Exploits That Bypass Telegram’s New Android Defenses
Image: The Hacker News

⚡ Why it matters

Widgets run JavaScript on users' phones, so any escape from their isolation could expose a huge user base, especially after earlier reports of suspected exploitation to spread WebRAT.

In the latest development around Telegram's new widgets feature, security company NebuSec says it has bypassed the protections Telegram recently added to its Android app and run code outside them, The Hacker News reports.

Background

Widgets are mini interactive elements delivered by bots within conversations, and their JavaScript executes on the phone via the QuickJS engine. After an account called V12 posted a video claiming remote code execution, Telegram moved the engine into a separate process on Android and added a seccomp filter to block or log system calls. Both changes appear in the published source for Telegram for Android 13.2.2 (7303).

What NebuSec claims

  • Two separate ways to run code outside the filter: one through a widget bug the filter does not cover, and another chaining a covered widget bug with a kernel bug.
  • A video showing a bot's widget on 13.2.2 (7303) bypassing the filter and opening the calculator app.
  • The demo ran on a Telegram test server, since only approved bots can currently send widgets on the live service.

The researchers did not say what the code could reach beyond that, or whether the user first had to start the bot or tap the widget. They named no CVE and listed no fixed version.

Technical notes

The Hacker News found that in the published source the filter runs in audit mode: it blocks attempts to start new programs or processes but only logs the other listed calls. The researchers argue the widget sandbox rules live inside the engine itself, so a single memory bug in QuickJS can defeat them, and one process runs the widgets of every bot.

Telegram's position

Before the researchers' demo, CEO Pavel Durov said nobody could be hacked just by receiving a message, that an attack required starting a third-party service first, and that this had been fully patched server-side.

We previously covered Kaspersky's warning about suspected widget abuse to spread WebRAT: Telegram widgets flaw and Kaspersky's warning.

Recommendations

  1. Update Telegram to the latest version on all devices as soon as updates are available.
  2. Avoid launching widgets or interacting with bots from untrusted sources until a confirmed fix ships.
  3. Follow Telegram's official announcements for upcoming fixes.

Source: The Hacker News.

🔗 Sources

This article is original reporting by the Security World editorial team based on the sources listed above; direct quotes are kept short and marked with quotation marks. Corrections and feedback: info [at] securitywd.net.

Related stories