Hikka vulnerable to RCE through dangling web interface
No fixed version listed yet.Check the vendor advisory. References ↓
hikariatama · Hikka
Hikka, a Telegram userbot by hikariatama, contains an improper authentication flaw in its dangling web interface, affecting all versions. An attacker can achieve remote code execution on the server and access the owner's Telegram account either by authorizing through an unauthenticated web interface with their own Telegram account, or by tricking a user into clicking "Allow" in the helper bot's "Allow web application ops" prompt, which the insufficient warning message makes easy to do.
Official description · CVE.org
Hikka, a Telegram userbot, has vulnerability affects all users on all versions of Hikka. Two scenarios are possible. 1. Web interface does not have an authenticated session: attacker can use his own Telegram account to gain RCE to the server by authorizing in the dangling web interface. 2. Web interface does have an authenticated session: due to insufficient warning in the authentication message, users were tempted to click "Allow" in the "Allow web application ops" menu. This gave an attacker access not only to remote code execution, but also to Telegram accounts of owners. Scenario number 2 is known to have been exploited in the wild. No known patches are available, but some workarounds are available. Use `--no-web` flag and do not start userbot without it; after authorizing in the web interface, close the port on the server and/or start the userbot with `--no-web` flag; and do not click "Allow" in your helper bot unless it is your explicit action that needs to be allowed.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 22 months before it was disclosed.
- First seen exploitedVulnCheck KEV evidence22 mo before
- Disclosedday 0
Affected versions and fixes
as published in the CVE recordhikariatama Hikka
Affected: <= 1.7.0-wip