by dom0 · 9y ago · 0 comments
> The cache is a binary tree, and as new leaf certificates and keys are generated, they're inserted using the first 32 bits of MD5(serialNumber||issuer) as the key.
You know. That's not a mistake. That's what a consciously designed-in vulnerability to enable taking over the system looks like.
I'm no fan of pitchforks, and I don't doubt plenty of people might make this mistake. But lots of malicious actors hide behind this response.
> This issue was fixed on the 28th, there was some delay unrestricting this bug due to the holidays.
And it's been less than 90 days since the issue was reported, so they wouldn't have disclosed yet if it wasn't.
So, they taking too much time to fix that? In every case one more reason to stay far far far away from their products.
Incorrect cache hits are fine, as long as there is some checking following the cache hit
hash(A) == hash(B) && A == B
> I wasn't aware they were checking the commonName sent with SNI.If I'm not mistaken, it does sound like they were doing some checking after they pulled the generated cert from cache, but it obviously wasn't enough checking
Exactly. That’s why hashmaps don’t have objects in each bucket, but an actual linked list (or partitioned linked list) with all elements hashing into that bucket.
This is CS101. If you build a hashmap yourself, at least get this right.
There is no room for Hanlon's razor here. This was malice, not stupidity.
I'm not saying this is the case, but given the current climate, it's hard to say it isn't.
So, no, it's easy to say that it isn't.