FREAK: TLS clients tricked into accepting 512-bit export RSA
Researchers from Inria's miTLS team, Microsoft Research and IMDEA found that OpenSSL, Apple SecureTransport and Microsoft Schannel clients would accept a server's ephemeral 512-bit 'export-grade' RSA key even when they had not offered an export cipher suite. A man-in-the-middle could force this downgrade, factor the 512-bit key in hours for about $100 of cloud compute, and decrypt or modify the session. At disclosure 36.7% of HTTPS servers with browser-trusted certificates still supported export RSA.
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
FREAK ('Factoring RSA Export Keys') combines three things: a 1990s US export rule limiting RSA to 512 bits, client state-machine bugs that accepted messages they should have rejected, and the fact that 512-bit factoring had become cheap. Servers often reused a single export key for hours or days, so one factorization served many connections. No new math: it is a protocol downgrade plus implementation bugs, against parameters that had been publicly factorable since RSA-155 in 1999.
Sources
- paperA Messy State of the Union: Taming the Composite State Machines of TLS (IEEE S&P 2015)IEEE S&P, doi.org
- announcementTracking the FREAK AttackUniversity of Michigan, freakattack.com
- wikiFREAKWikipedia, en.wikipedia.org