Telegram Widgets Hit by RCE Exploits and WebRAT Malware Delivery Days After Launch

Kaspersky warned that a vulnerability in Telegram’s newly launched widgets may have been exploited in the wild to deliver the WebRAT malware, also known as Salat Stealer. The warning came shortly after researchers demonstrated remote code execution through the new feature. Exploitation occurred when users visited certain Telegram channels, resulting in a PowerShell script running without user knowledge to fetch and launch the Rust-based trojan. WebRAT grants attackers control of the infected system and can steal cryptocurrency wallet and Telegram account data. Researchers at V12 published videos showing RCE on Android and Windows clients, highlighting risks from running QuickJS without a sandbox. Telegram stated that the Android issue was fixed and deployed, while CEO Pavel Durov claimed server-side patches addressed the attack scenario requiring user interaction with third-party services.

SecurityWeekTranslated from English

Read at source

Kaspersky has warned that a vulnerability in Telegram’s newly launched widgets may have been exploited in the wild to deliver the WebRAT malware. The warning came shortly after researchers showed what they described as remote code execution through the new feature.

In a November 13 post on its Russian-language Telegram channel, the security firm said it had observed malicious activity that it suspects is tied to the flaw. According to the company, exploitation took place when users visited certain Telegram channels. Kaspersky said the activity results in a PowerShell script running without the user’s knowledge. The script fetches and launches WebRAT, a piece of malware also known as Salat Stealer.

WebRAT is a Rust-based trojan that gives attackers control of the infected system. It can also steal cryptocurrency wallet and Telegram account data. Kaspersky did not share technical details on the exploitation, or say how many users were targeted. Its main recommendation was “do not launch widgets in Telegram until a fix is released.”

Telegram CEO Pavel Durov promoted the widgets feature on X on November 10, saying that any message on the platform can now become an app. A day later, researchers at V12 posted a video on X with the caption “Any telegram message can now become RCE.” The video showed an interaction with a bot causing the Calculator app to open on an Android phone.

Telegram replied the same day, saying the Android issue “was fixed yesterday, and the fix was deployed to all users earlier today.” V12 later published a second video, saying it had another RCE exploit that worked against the supposedly patched Telegram client for Windows. In the researchers’ view, letting QuickJS, a JavaScript engine, run inside messages without a sandbox creates a large attack surface.

Pavel Durov has dismissed the reports. “No one could be hacked just by receiving a message,” he wrote on X on November 13. According to Durov, an attack required the user to first start a third-party service, and that scenario has since been fully patched on the server side. He challenged skeptics to hack his own account. SecurityWeek has reached out to Telegram for comment and will update this article if the company responds.

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