CRIME attack
CRIME guesses secret cookies by watching how encrypted traffic shrinks when compression hits a match.
Presented in 2012 by Juliano Rizzo and Thai Duong, the attack targeted TLS and SPDY when data was compressed before encryption. The attacker gets the browser to send small guesses alongside the secret cookie. When a guess matches part of the cookie, compression works better and the encrypted length gets shorter. Length is the only thing that leaks, but that is enough to recover the cookie one character at a time.
The cure was to switch off TLS compression. The follow-up, BREACH, showed in 2013 that server-side HTTP compression was enough for the same trick, so the problem simply moved one layer up. The lesson is that compressing data that mixes secrets with attacker-controlled text is a reliable way to leak the secrets.