Researchers Demonstrate Two RCE Exploits Bypassing Telegram Android Widget Defenses

Security researchers at NebuSec have identified two separate methods to achieve remote code execution that bypass the seccomp filter Telegram introduced in Android version 13.2.2 (7303) to contain widget JavaScript. One technique exploits an uncovered widget bug while the other chains a covered widget flaw with a kernel vulnerability. The demonstrations were performed on a test server because live widget distribution remains restricted to approved bots. Telegram placed QuickJS into an isolated process and applied a seccomp filter after an earlier public claim by user V12, yet the published source shows the filter remains in audit mode. Kaspersky separately reported suspected in-the-wild exploitation of Telegram widgets that delivered the Salat Stealer malware, also known as WebRAT. No CVE identifiers have been assigned and full technical details are being withheld by the researchers.

The Hacker NewsTranslated from English

Read at source

Security researchers at NebuSec have published a technical analysis showing two distinct ways to bypass the security measures Telegram added to its Android app last week, allowing malicious widgets to execute code outside the intended sandbox.

Widgets are small interactive JavaScript blocks that bots can send inside chat messages. After initial reports of code execution surfaced, Telegram moved the QuickJS engine into its own process and applied a seccomp filter that restricts system calls. Both changes appear in the source code for Telegram for Android 13.2.2 (7303).

NebuSec researchers demonstrated that one exploit uses a widget bug the filter does not cover, while the second chains a covered widget bug with a kernel vulnerability. In their video proof-of-concept, a widget on Android 13.2.2 (7303) successfully bypasses the filter and launches the device calculator application.

The published source code reveals the seccomp filter is currently set to audit mode, meaning it records but does not block most listed calls such as ioctl. A single use-after-free or out-of-bounds write in QuickJS is sufficient to read and write process memory, rendering the sandbox rules ineffective. All widgets from every bot also share the same process memory.

Separately, Kaspersky reported detecting suspected exploitation of Telegram widgets that silently executed a PowerShell script to download and run WebRAT, also known as Salat Stealer. The malware grants remote control and targets cryptocurrency wallets and Telegram account data.

Telegram CEO Pavel Durov stated that no user could be compromised merely by receiving a message and that server-side restrictions remain in place. Researchers have not yet disclosed full exploit details or any assigned CVE identifiers.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulns & Exploits

Microsoft Entra Connect Health Flaw Exploited to Access Tenant Metadata and Admin Emails
GnuPG Warns of Critical Double-Free Flaw in GPGME Exposing App Data to Malicious OpenPGP Keys
CISA Adds Four Critical Flaws in Apache Roller, Cisco Expressway, SAP NetWeaver, and VMware vCenter to Known Exploited Vulnerabilities Catalog