Live data from Hacker News

CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

emily.id.au

131–140 of 147 posts

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#131

> In theory, there is no path for a malicious Tailscale control plane to remotely execute code on your machine, unless you happen to run network services that are designed to allow it, like an SSH server with Tailscale-backed authentication. Now I feel less crazy for not using Tailscale SSH for similar reasons. I'd like to see a security evaluation of Tailscale, on a per feature basis. I'd like to see tailscaled run…

Twingate comes close - not wireguard (uses QUIC) but does NAT traversal and doesn’t try to interfere with intercepting/manipulating network traffic.

Focus is more on device identity/posture, DNS + remote access rather than straight VPN like Tailscale & co

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#132

> In theory, there is no path for a malicious Tailscale control plane to remotely execute code on your machine, unless you happen to run network services that are designed to allow it, like an SSH server with Tailscale-backed authentication. Now I feel less crazy for not using Tailscale SSH for similar reasons. I'd like to see a security evaluation of Tailscale, on a per feature basis. I'd like to see tailscaled run…

Yeah the whole "run local http server as control panel" is iffy for non security centric stuff, let alone VPN software.

I guess it is because it's easy ? But now even windows can make unix sockets, that seems like reasonably easy and secure solution for "talk with some daemon portably"

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#133
post #122
post #103

Earlier quoted context omitted.

You usually still have to punch with IPv6 as there is usually a stateful firewall in the way. You just get 100% success vs the 80-90% you get with V4 (and getting worse as CGN gets more common).

This is correct. It's very annoying for any p2p like application, because the punching is a coordinated and time sensitive dance that just circumvents particular firewall bs. The firewall approach comes from this heavily flawed idea of the client initiated model of communication, extrapolated to client=consumers and server=service providers. It's just awful that the majority of the nodes on the internet aren't even r…

It's used like that because for a long time that approach worked. Users are terrible at securing their own machines and will click yes on anything just to get a thing they want and so putting stateful firewall allowing only outgoing connections was very effective measure.

Much less relevant when now even windows comes with half decent, reasonable default firewall out of the box. Then again "user clicking allow button till it works" is still a problem.

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#134

Earlier quoted context omitted.

Windows from W10 onwards has Unix sockets too.

The windows implementation lacks facilities like SCM_RIGHTS though to ask the kernel who's on the other side.

Could still use plain old filesystem permissions no ?

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#135
post #116

> We can ask Tailscale to open a path on an SMB share. Windows being Windows, it will send your username (and a hash of your login password) to this server, unprompted, despite having no reason to consider the server trustworthy. Wow, I used to think Linux security was miles ahead of Windows security more than 20 years ago because of insanity like this. Fast forward 20 years. NTLMv2 is common, so cracking a password…

SSH has solution for that forever too, server certs. Server cert change or (if you're fancy) is not signed by right CA and you get an alert.

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#136
post #38

> If you visit my website, I am granted the honour and the privilege of executing arbitrary Javascript on your computer. > > This is a pretty bad idea This is why I disable javascript by default, but I suspect that on this page it's needed to fix the theme or something, because the text is light grey on a white background, and all monospace sections are completely illegible. Edit: I don't mean to hate on the author,…

> I suspect that on this page it's needed to fix the theme or something, because the text is light grey on a white background, and all monospace sections are completely illegible. You seem to be correct. I found a single tag in the source, with the following code: (() => { let v = localStorage.getItem("color-scheme"), a = window.matchMedia("(prefers-color-scheme: dark)").matches, cl = document.documentElement.classLi…

my FF is set to tell webpage to use dark theme and I get light gray on white (Chrome without that displays it fine).

Looks fine if I inspect and set the bg color to black so I think author just didn't test dark theme properly...

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#138
post #122
post #103

Earlier quoted context omitted.

You usually still have to punch with IPv6 as there is usually a stateful firewall in the way. You just get 100% success vs the 80-90% you get with V4 (and getting worse as CGN gets more common).

This is correct. It's very annoying for any p2p like application, because the punching is a coordinated and time sensitive dance that just circumvents particular firewall bs. The firewall approach comes from this heavily flawed idea of the client initiated model of communication, extrapolated to client=consumers and server=service providers. It's just awful that the majority of the nodes on the internet aren't even r…

> It's just awful that the majority of the nodes on the internet aren't even reachable by default.

Who'd pay for the routing? :)

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#139

> In theory, there is no path for a malicious Tailscale control plane to remotely execute code on your machine, unless you happen to run network services that are designed to allow it, like an SSH server with Tailscale-backed authentication. Now I feel less crazy for not using Tailscale SSH for similar reasons. I'd like to see a security evaluation of Tailscale, on a per feature basis. I'd like to see tailscaled run…

Nebula might fit, but it’s not wireguard specifically.

Re: CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows

#140
post #123
post #108

Earlier quoted context omitted.

All software can have serious bugs, which is why you do defense in depth. Never depend on just one thing for your entire security perimeter. Outside narrow very well defined cases where proofs of security are possible, it might be impossible create perfectly secure computing systems due to the insolubility of the halting problem and the sheer size of the combinatorial space. If you watch the CVE announcements it's a…

Wireguard never had, and probably will not have, a serious vulnerability (one allowing bypassing a tunnel). The attack surface is small, and you can carefully review the code, even formally verify it. The devices could all tunnel out to a nearby VM in the cloud. This vulnerability is very critical, and discovered by an undergrad (not a security team): Code execution in local machine, taking over tailscaled, hijacking…

> Wireguard never had, and probably will not have, a serious vulnerability (one allowing bypassing a tunnel).

True, but even the bare minimum WireGuard VPN still has a lot of stuff other than WireGuard. There's going to be a configuration protocol, software to create a tunnel device on the system, a management protocol, software updates, a UI, identity management or some kind of login/auth system, etc.

Post reply on HN