Has it been Pwned
ProtocolPractical impact

Rogue CA certificate forged via MD5 chosen-prefix collision against RapidSSL

At the 25th Chaos Communication Congress, Sotirov, Stevens, Appelbaum, Lenstra, Molnar, Osvik and de Weger revealed a rogue intermediate CA certificate whose MD5-based signature had been copied from an ordinary website certificate issued by RapidSSL. Anyone holding it could have minted browser-trusted certificates for any site.

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

The math weakness (MD5 chosen-prefix collisions, 2007) was necessary but not sufficient: the attack also exploited operational practices at a commercial CA that was still signing with MD5 and issuing predictable, sequential serial numbers and validity times. The team predicted those fields, then used a cluster of about 200 PlayStation 3s at EPFL to compute a three-block chosen-prefix collision (about 2^51 work with 30 GB of memory; the birthday phase took roughly 18 hours) in the window before RapidSSL signed. It took four weekend attempts and US$657 in certificate fees. Of 30,000 certificates they surveyed, about 9,000 were MD5-signed, 97% of those by RapidSSL. The rogue certificate was deliberately backdated to expire in 2004. CERT/CC declared MD5 'cryptographically broken and unsuitable for further use' the next day, CAs stopped issuing MD5 certificates, and the paper won best paper at CRYPTO 2009.

Sources

  1. blogMD5 considered harmful today: Creating a rogue CA certificateStevens et al., marc-stevens.nl
  2. announcementVU#836068: MD5 vulnerable to collision attacksCERT/CC, kb.cert.org
  3. paperShort Chosen-Prefix Collisions for MD5 and the Creation of a Rogue CA Certificate (CRYPTO 2009)Springer, link.springer.com