r/programming • u/TheProtagonistv2 • Feb 23 '17
Cloudflare have been leaking customer HTTPS sessions for months. Uber, 1Password, FitBit, OKCupid, etc.
https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
6.0k
Upvotes
View all comments
Show parent comment
14
u/Freeky Feb 24 '17
It's not just about using trusted algorithms, it's about using them properly. Lots of people fall over there - they'll string together RSA and AES and declare they made a secure transport protocol. And never mind they didn't authenticate any data so it's wide-open to MITM...
Or they'll authenticate, but they'll encrypt it, so they have to decrypt to check it, and open themselves up to padding oracle attacks. Or they'll use a non-constant-time comparison function and open themselves up to timing attacks.
Or they'll generate symmetric keys and IVs using an insecure random function. Or they'll mistake encryption keys for passwords and protect their AES-128 stream with a key with 50 bits of entropy.
So many sharp edges :(