Incident Response to September 20th 2021
zerotier.com
zerotier.com
All of this can be true, but rhetorically, it sends the wrong message to put so much emphasis on this. The message I'd like to see would be more like this:
"We got notified of this security problem. We immediately worked on mitigation and to find out if any customers were affected. We couldn't find any, and we have patched the problem. We have a patch for you to apply to fully prevent the problem.
The problem depended upon an identity collision. We think the probability of this is remote, but we always take this stuff very seriously."
In other words, I want to see platforms like this emphasize their response, rather than try to convince me that the problem is minor. The way these things are phrased matters a lot!
They disclosed the issue pretty well, but at the same time, are afraid of the response; they decided to overcommunicate that they attack vector has likely never been exploited, and I can see why they did that.
Feels like a contra-indicator to me when I read it, like “military grade encryption”.
In fact, I would never trust a company that didn't explicitly state that the company having a central server facilitating operations (Signal, et all) is a huge risk.
If the actual communications are end-to-end encrypted, it is only a privacy (and reliability) risk, not a security one.
ZeroTier is not advertised as a privacy tool AFAIK.
And you can use your own servers for management if you really want to: https://docs.zerotier.com/zerotier/moons/
Any plan for a careful audit of the code, considering that ZeroTier is a popular security product?
We're glad this was found and glad that this is the first significant vulnerability report we've received in many years of operation, but we don't want that to make us arrogant. Distributed systems are hard and cryptography is hard. Distributed systems with cryptography are REALLY hard. :)
We've talked to Pulse Security about hiring them in the future. The fact that they found this obscure issue is a pretty strong pitch.
We've fixed the mistake in the roots, and are also fixing the weak point in the design soon with a release. Fixing the roots blocks this specific attack but we want to fix the fundamental weakness to ensure that there are no similar issues in the future.
What if the controller had a timer that could be set such that the network becomes static and unchanging when it expires?
We are also going to do a release though because we thought of a way to ensure that a complete hash of the address and public key (rather than just the 40 bit address) is always checked in certificates of membership. In retrospect it always should have been this way, but then again all security issues always seem silly and obvious in hindsight.
This will make an exploit of this nature impossible even if the roots are misbehaving, since the certificate of membership won't validate against a colliding identity at all.
It would be nice if the address could be at least 256 bits long, but there's a major ergonomic problem with that. Would you rather join network abcd0123ab12345 or network 8c6e2a2647ee854f469a3bb798e02ba5a8b1812cab229ff129f073e7a80c1202?
If humans could remember and easily type very long strings a lot of information security would be way, way easier. :)
It’s likely stored as part of automation if done on a large scale , or easy enough to copy/paste from smaller use cases.
I think it would be rare to have to type it, so even the longer string would be worth the irritation for the piece of mind.
Just my honest opinion.
(Huge fan of ZT by the way.)
https://www.zerotier.com/wp-content/uploads/2020/10/ZeroTier...
No release is technically required now, but we have one coming that contains an endpoint-side mitigation that renders the attack and others like it impossible even if the root is misbehaving. A 1.6.6 patch release is currently being built as we speak and it will also be in 1.8, which is delayed to fix some issues with the new UI.
I don't think security should be done by just playing whack a mole. You want to try to get ahead of it. If there's an opportunity to harden something, do it.
If a device went offline and was forgotten about (but still trusted), an impersonator spoofing the same (truncated) public key could gain access, as long as the server didn't reject this identity and say "that's not the public key you had before". I believe truncation was used to facilitate typing it into the UI.
So in short, it seems to me this aspect was based on truncation of a public key or hash, and the inevitable finding of collisions in this reduced address space.