CSRF in Tailscale
CVE-2022-41925
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.006 · 50.1th percentile
- Published
- 2022-11-23
What to do
- Fixed in
1.32.3- Affected
- 1 affected product
A vulnerability identified in the Tailscale client allows a malicious website to access the peer API, which can then be used to access Tailscale environment variables. In the Tailscale client, the peer API was vulnerable to DNS rebinding. This allowed an attacker-controlled website visited by the node to rebind DNS for the peer API to an attacker-controlled DNS server, and then making peer API requests in the client, including accessing the node’s Tailscale environment variables. An attacker with access to the peer API on a node could use that access to read the node’s environment variables, including any credentials or secrets stored in environment variables. This may include Tailscale authentication keys, which could then be used to add new nodes to the user’s tailnet. The peer API access could also be used to learn of other nodes in the tailnet or send files via Taildrop. All Tailscale clients prior to version v1.32.3 are affected. Upgrade to v1.32.3 or later to remediate the issue.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
- Attack Vector
- Adjacent
AV:A - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.006, 50.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Tailscale — versions < 1.32.3
Weakness classification (CWE)
References
- github.com/tailscale/tailscale/security/advisories/GHSA-qccm-wmcq-pwr6 (Third Party Advisory)
- emily.id.au/tailscale (Technical Description, Exploit, Third Party Advisory)
- tailscale.com/security-bulletins/ (Vendor Advisory)