96 Top Domains Vulnerable to 2008 OpenSSL Flaw in DKIM Keys
Original source
DKIM was introduced at a unlucky time; or, happy 20 years of CVE-2008-0166
Hacker News →Between 2006 and 2008, Debian’s OpenSSL package contained a critical bug that crippled its random number generator. The flaw eliminated most entropy sources, leaving only the process ID as the varying input to the RNG. With only 32,768 possible PID values per architecture and key type, the library could generate just 32,768 unique keys total. Once disclosed, researchers quickly enumerated every possible key, making brute-force attacks against vulnerable systems trivial.
The vulnerability’s impact was amplified by unfortunate timing. As DKIM (DomainKeys Identified Mail), a standard for cryptographically signing outgoing mail, was gaining adoption around 2007, many early implementers chose Debian-based mail servers running OpenSSL. The keys they generated for DKIM signatures turned out to be drawn from the small vulnerable key space. DKIM provides no mechanism for key rotation, leaving these weak keys valid indefinitely.
Two decades later, the problem remains active. A survey of DKIM records across the top million Tranco-ranked domains found 96 still using keys generated by the vulnerable OpenSSL code—down from 101 before the researcher contacted affected organizations. These include a major standards body, government healthcare agencies, and IT firms whose outgoing email is now forgeable. Additional scanning identified other weaknesses: 2,122 keys of marginal strength (768–1023 bits), 386 keys under 768 bits, 18 private keys exposed in DNS records, one key matching a known leaked private key, and 124 malformed keys.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.