Has it been Pwned
ProtocolPractical impact

SLOTH: transcript collision attacks on TLS, IKE and SSH

Karthikeyan Bhargavan and Gaëtan Leurent showed that MD5 and SHA-1 inside handshake protocols were not safe merely because signatures cover fresh nonces. Using chosen-prefix collisions on handshake transcripts, they demonstrated credential-forwarding attacks on TLS 1.2 client authentication with MD5 and described almost-practical impersonation and downgrade attacks on TLS, IKEv2 and SSH.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

Protocol folklore held that in-protocol signatures and MACs needed only second-preimage resistance. SLOTH ('Security Losses from Obsolete and Truncated Transcript Hashes') debunked this: a man-in-the-middle can make two different transcripts hash to the same value and replay a signature across them. The MD5 attacks were practical; SHA-1 variants were estimated as out of reach in 2016, which changed after the 2020 chosen-prefix collision. Fixes included NSS rejecting MD5 in TLS 1.2 ServerKeyExchange (CVE-2015-7575), and the authors' recommendations were incorporated into TLS 1.3 and Token Binding. Presented at NDSS 2016.

Sources

  1. paperTranscript Collision Attacks: Breaking Authentication in TLS, IKE, and SSH (NDSS 2016)NDSS / Internet Society, ndss-symposium.org
  2. cveCVE-2015-7575 (NSS accepted MD5 signatures in TLS 1.2 ServerKeyExchange)NIST NVD, nvd.nist.gov