Vulnerability · Published Nov 23, 2022 · Assigned by GitHub_M

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

Critical 9.6

In plain English

A critical-severity cross-site request forgery in tailscale from tailscale. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.6Critical
Exploit odds (30 days)1.9%top 20.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20tailscale1.32.3-r0ALPINE-CVE-2022-41924
Alpine:v3.21tailscale1.32.3-r0ALPINE-CVE-2022-41924
Alpine:v3.22tailscale1.32.3-r0ALPINE-CVE-2022-41924
Alpine:v3.23tailscale1.32.3-r0ALPINE-CVE-2022-41924
Gotailscale.com1.32.3GHSA-vqp6-rc3h-83cp
Gotailscale.com1.32.3GO-2022-1120

Affected products (as reported)

VendorProductVersions
tailscale tailscale < 1.32.3

Weakness: CWE-346, CWE-352 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:H

References