Cybersecurity news

Jessica Doner

Back to the list

AnyDesk Vulnerability Allowing Remote Code Execution With Root Privileges

GBHackers,

A security flaw in AnyDesk Linux lets attackers run commands and gain root access before users approve desktop control.

Vulnerabilities and patches

Overview

A security researcher found a flaw in AnyDesk Linux version 8.0.2 that lets attackers run commands on a computer before the user agrees to share their screen. The problem happens because the software trusts a size number from a remote source without checking if it fits in the available space. When a specific large number is sent, the math wraps around to zero, causing the program to reserve too little memory. The attacker then sends data that spills over into other parts of the memory, which allows them to take full control of the system. Since the AnyDesk service usually runs with root privilegesThe highest administrator permission level on a system, with unrestricted control over all files and programs, the attacker gains the highest level of access on the machine. AnyDesk version 8.0.3 fixes this issue, so users of the older version are currently at risk of having their systems compromised.

Terms in this story

Root Privileges
The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
privileges
The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
Vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
Code Execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
heap buffer overflow
A buffer overflow inside the pool of memory a program allocates dynamically while running. Attackers exploit a heap overflow in a browser or media parser by feeding it an oversized file that overwrites neighboring objects in memory and hijacks execution.
remote command execution
A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
buffer overflow
A bug where a program writes more data into a fixed memory block than it can hold. When extra input spills past the end of a memory buffer, a buffer overflow can overwrite nearby instructions and let an attacker run their own code. Security+ objective 2.3 lists the term
exploitation
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
proof-of-concept
A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
binary
Base 2, where each byte is written as 8 ones and zeros. In security news, the word binary refers either to raw data made of ones and zeros or to a compiled executable program that runs directly on a computer's processor. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
session
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
protocol
An agreed set of rules and message formats that computers follow to exchange data over a network. Every internet service relies on a network protocol such as HTTP for web pages or DNS for domain lookups, and a logic flaw in a protocol's design affects every vendor that implements it.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related