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.
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.
Related: Recent UnrealIRCd Vulnerability Exploited in Attacks
Related: Critical Xen Orchestra Flaws Exploited in Attacks
Related: Exploited Outlook Zero-Day Among 1,094 Flaws Patched by Microsoft
Related: IBM Aspera Faspex, SignalWire FreeSwitch Vulnerabilities Exploited in Attacks
