CVE-2022-41924 Tailscale Windows daemon is vulnerable to RCE via CSRF

Critical 9.6 Published Updated

A malicious website can exploit CSRF in the Tailscale Windows client to reconfigure the daemon and achieve remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-41924?

CVE-2022-41924 is a critical vulnerability in tailscale, published on 23 Nov 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability identified in the Tailscale Windows client allows a malicious website to reconfigure the Tailscale daemon `tailscaled`, which can then be used to remotely execute code. In the Tailscale Windows client, the local API was bound to a local TCP socket, and communicated with the Windows client GUI in cleartext with no Host header verification. This allowed an attacker-controlled website visited by the node to rebind DNS to an attacker-controlled DNS server, and then make local API requests in the client, including changing the coordination server to an attacker-controlled coordination server. An attacker-controlled coordination server can send malicious URL responses to the client, including pushing executables or installing an SMB share. These allow the attacker to remotely execute code on the node. All Windows clients prior to version v.1.32.3 are affected. If you are running Tailscale on Windows, upgrade to v1.32.3 or later to remediate the issue.

Weakness: CWE-352, CWE-346

Which versions are affected by CVE-2022-41924?

3 open source packages ship an affected version, including tailscale.com. It affects 1 product.

PackageAffectedFixed in
tailscale.com GoAll versions1.32.3
tailscale.com GoAll versions1.32.3
tailscale.com GoAll versions1.32.3

Products include Tailscale Tailscale.

How do I fix CVE-2022-41924?

Upgrade tailscale.com to 1.32.3 or later.

Is CVE-2022-41924 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41924 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-vqp6-rc3h-83cp, GO-2022-1120.

Is CVE-2022-41924 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free