Researchers publish exploit for AnyDesk Linux root-access flaw

Linux administrators are advised to install version 8.0.3 or later. A complete attack through AnyDesk’s relay servers has not been demonstrated.

Linux administrators are advised to install version 8.0.3 or later. A complete attack through AnyDesk’s relay servers has not been demonstrated.
Researchers released a working exploit called AnyPwn on October 8 for a flaw in AnyDesk’s Linux remote-desktop software, according to The Hacker News. The reported flaw allows commands to run before anyone approves the connection, with root access—the highest level of system permissions. The demonstrated attack targets a specific build of version 8.0.2 over direct connections and does not succeed every time.
AnyDesk fixed the flaw in version 8.0.3 in June. Its changelog described the change only as “fixed a bug that could lead to a crash,” The Hacker News reported. As of October 9, the flaw had no standard vulnerability identifier, known as a CVE, and AnyDesk had issued no formal security advisory.
The Hacker News advises administrators running older AnyDesk Linux releases to update to at least version 8.0.3. AnyDesk said in June that Windows and macOS were unaffected.
| Version | Status |
|---|---|
| Earlier releases, including 8.0.1 | Researchers suggest these may share the vulnerable code; exploitation has not been confirmed. |
| 8.0.2 | A specific build is the target of the published working exploit. |
| 8.0.3 | Contains the fix released in June. |
| 8.1.0 | The latest release identified in the October 9 report. |
The published exploit works only through direct TCP network connections on port 7070. Success depends on a particular arrangement of objects in memory: the object targeted by the attack must sit next to the affected buffer. Otherwise, the service crashes rather than running the attacker’s command. The published code would need different values to target other builds.
The flaw comes from unchecked arithmetic when AnyDesk calculates how much memory to reserve for incoming session data. The calculation can produce a buffer that is too small. Data then spills beyond that buffer and corrupts nearby objects in memory, allowing the demonstrated attack to run commands as root.
The researchers say the vulnerable code can also be reached through AnyDesk’s relay servers, which carry connections when a direct connection is unavailable. They used a tool that monitors a running program to test that reachability, but did not demonstrate a complete exploit through relays. AnyDesk’s June statement said the vulnerability was limited to direct Linux connections that do not pass through its relays.
Whether the flaw can be fully exploited through relay connections remains unresolved. It is also not yet known whether attackers are using the flaw in real attacks.
For administrators unable to update immediately, The Hacker News recommends restricting access to TCP port 7070 to reduce exposure to the demonstrated direct-connection attack. The recommended fix is to install AnyDesk Linux 8.0.3 or later.

The borrowing adds capital for the autonomous-driving company’s ride-hailing expansion after an equity investment earlier this year.
1 min

Fixes for the ISP-supplied devices reach customers through their internet providers. TP-Link advises checking for an update and contacting the provider if none appears.

SpaceX says an Apollo Global Management affiliate will buy superintelligence (SI) chips and server hardware and lease them to the company.