Tailscale fixes SSH flaws allowing lateral movement within tailnets
Tailscale fixed SSH flaws that let attackers with access to one device gain more privileges on other machines in the network.
Overview
Tailscale has released fixes for security flaws in its software that allowed attackers to move from one compromised device to others in a private network. The company provides a platform that links devices into a single secure network, using the WireGuard protocolAn agreed set of rules and message formats that computers follow to exchange data over a network to encrypt data. A built-in feature called Tailscale SSHAn encrypted network protocol that administrators and developers use to log in to remote servers and run commands lets users control remote machines by typing commands, relying on user identities and access policies to manage permissions. Security researcher Erica Windisch found that an attacker who already controlled one approved device could use these flaws to gain rootThe highest administrator permission level on a system, with unrestricted control over all files and programs-level control of other serversA computer or program on a network that stores data and responds to requests from client devices. The vulnerabilities only allowed access to machines that the network policy already permitted SSH connections to. The fixes prevent attackers from using a single compromised device to take over other systems in the network.
Terms in this story
- 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.
- SSH
- An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.
- root
- 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.
- servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- lateral movement
- How an attacker steps from the first computer they infect to other machines on the same network. After a phishing email infects one receptionist laptop, the intruder uses stolen passwords and internal network tools for lateral movement until they reach the company's main database server. Security+ objective 2.4 lists the term
- 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.
- encrypted
- Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- firewall
- A network barrier in software or hardware that allows or blocks traffic based on security rules. Organizations place a firewall between their internal network and the internet to block unwanted connections, and attackers often look for flaws in the firewall appliance itself. Security+ objective 3.2 lists the term
- configuration
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- 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
- keys
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
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 Help Net Security website. Cite the article, not this page.
Read the full article on Help Net Security (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
"Tailscale fixes SSH flaws..." Found by reading the article; these exact words are in it - Who is affected: "...attacker who already had access to a device..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"Tailscale fixes SSH flaws allowing lateral movement within tailnets..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Tailscale fixes SSH flaws allowing lateral movement within tailnets..." Found in the headline - Security+ 4.8 Explain appropriate incident response activities.
"......are part of it. "Based on our investigation, an attacker could reach only machines..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Tailscale fixes SSH flaws allowing lateral movement within tailnets..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of network security architecture concepts including topology, protocols, components, and principles (e.g., application of defense-in-depth, Zero Trust).
"...gain more privileges on other machines..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of host and network security.
"...fixes for several vulnerabilities..." 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
- Tailscale Patches SSH Flaws That Could Let Hacked Devices Gain Root Access on Other Servers
- Tailscale warns of SSH flaws allowing root privilege escalation
- Tailscale SSH Vulnerabilities Allow Attackers to Gain Root Access to Connected Servers
- Unpatched Tailscale SSH Flaws Could Let a Hacked Device Reach Root on Other Servers
- Tailworm and Tailscale SSH: How Root-Run Unix Socket Forwarding Breaks Privilege Separation
- Tailscale SSH Flaws Could Let Hackers Gain Root Access Across Servers From One Compromised Device