1. News
  2. Alerts
  3. Tailscale · Security
AlertTailscale · Security2 min read

Tailscale fixes security holes that could give hackers full control of servers

Tailscale fixed flaws in its built-in SSH feature that could let one hacked device take root control of other servers. Self-hosted headscale users are still exposed.

By the Dashline deskSource: The Hacker News
Tailscale fixes security holes that could give hackers full control of servers
Photo: Victorgrigas, CC BY-SA 3.0
Act this week
What happenedTailscale released version 1.104.4 to fix flaws in its built-in SSH server that could let an attacker get root-level control of other servers.
Who is affectedAnyone using Tailscale SSH on Linux or the open-source macOS build, and people running the self-hosted headscale server, which is not yet fixed.
What to do
  1. 1Update Tailscale to version 1.104.4 or later on every server that uses Tailscale SSH.
  2. 2If you cannot update yet, set TS_SSH_DISABLE_FORWARDING=1 in the tailscaled service and restart it.
  3. 3Review your access rules so only the people and devices that need SSH access have it.
  4. 4If a server may be compromised, delete the device in your Tailscale admin console, because reimaging does not revoke its key.

Tailscale has released version 1.104.4 to fix flaws in its built-in SSH server. The flaws could let an attacker who already controls one trusted device reach files and services on another server that only the all-powerful root user should be able to touch. Anyone running Tailscale SSH on a server should update.

What happened

Tailscale is a tool that links computers and servers into a private network. Its SSH feature lets people open remote sessions without passwords or keys. Access depends on the device's identity and the network's rules. The flaws are in how that feature forwards connections. The Tailscale background process does this job with root privileges, and a timing trick let an attacker slip past the safety check.

Security researcher Erica Windisch of Cyberdione Labs published the findings in a report called Tailworm. In her lab tests, forwarding to the Docker control socket gave a root shell and let her read the system password file.

Who it affects

The server side of Tailscale SSH runs only on Linux and the open-source macOS build. The attacker's device can be any platform. An attacker first needs control of a device the network rules already trust to open SSH sessions, with forwarding allowed. Tailscale says this does not let an unknown outsider connect to random servers.

People who run headscale, the self-hosted control server, are in a worse spot. Version 0.29.5 does not fix the reported issues. Windisch says every SSH grant there should be treated as giving root.

What to do

The alert box above lists the steps, including a workaround if you cannot update yet. One point deserves attention: if a server may already be compromised, updating is not enough. Windisch says a stolen device key stays valid until the device is deleted from the control console. Tailscale's notices do not cover this case.

What is still unclear

Windisch called the chain wormable, saying one device could spread to every device the rules allowed. Tailscale rejects that label and describes movement limited to connections the rules already permit. It calls the problems serious. The four bulletins have no CVE numbers, no severity scores and no oldest affected version. Neither side says the flaws have been used in real attacks, and the proof-of-concept code is not public.

The takeaway

Update every server that uses Tailscale SSH to version 1.104.4 or later, and delete any device you think was compromised.

More articles

You should really read these.

Next step

Let’s talk