AnyDesk Linux Flaw Lets Remote Attackers Execute Code as Root Without Authentication
A working proof-of-concept shows a Linux flaw lets remote attackers run commands as root without authentication, fixed in version 8.0.3.
Overview
A security team named V12 discovered a serious flaw in the AnyDesk Linux software that allows remote attackersAn intruder who targets a computer over a network or the internet without touching the device physically to execute code as root without authenticationVerifying that a user, device, or program really is who it claims to be before allowing access. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend, called AnyPwn, affects version 8.0.2 and was fixed in version 8.0.3. The bug occurs because the software miscalculates the size of incoming data, causing it to write information into the wrong part of the computer's memory. Since the program runs with root privilegesThe highest administrator permission level on a system, with unrestricted control over all files and programs, an attacker could take full control of the system before the user even sees a connection request. The public release of the exploit code on October 8 brought new attention to systems still using the older version. Organizations using AnyDesk on Linux need to update their software and check if TCP port 7070 is exposed to untrusted networks.
Terms in this story
- Remote Attackers
- An intruder who targets a computer over a network or the internet without touching the device physically. Vulnerability advisories warn when a bug can be triggered by a remote attacker, meaning anyone on the internet who can reach the server can attempt the exploit.
- Authentication
- Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
- 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
- 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.
- 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.
- pre-authentication
- Happening before a user or device has logged in to the system. A pre-authentication vulnerability in a VPN or mail server is critical because an attacker on the internet can exploit it at the login screen without having an account.
- zero-click
- An attack that compromises a phone or computer automatically when a message arrives, with no user interaction. Commercial spyware often uses a zero-click exploit hidden in an incoming text or image message so the victim's phone is infected even if they never open the message.
- remote code 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.
- 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.
- 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.
- payload
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
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 Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (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.
- Kind of story: Vulnerability and patch
"A working proof-of-concept for a serious AnyDesk Linux vulnerability..." Found by reading the article; these exact words are in it - Who is affected: "Organizations using AnyDesk for Linux..." Organizations using the product
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"AnyDesk Linux Flaw Lets Remote Attackers Execute Code as Root..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......Remote Attackers Execute Code as Root Without Authentication..." Found in the headline - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"AnyDesk Linux Flaw Lets Remote Attackers Execute Code as..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"AnyDesk Linux Flaw Lets Remote Attackers Execute Code as..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of basic server software applications and their attack surfaces.
"The flaw was discovered by Rick de Jager of the V12 security team..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Design countermeasures and mitigations against potential weaknesses and vulnerabilities in system and elements.
"Organizations using AnyDesk for Linux should update immediately..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- AnyDesk Vulnerability Allowing Remote Code Execution With Root Privileges
- AnyDesk Linux Flaw "AnyPwn" Grants Pre-Auth Root Code Execution: Full Technical Breakdown of the Heap Overflow Exploit
- Researchers Publish Working Exploit for Pre-Auth AnyDesk Linux Flaw That Gives Root Access