News Security

Cloudflare patches eMudhra weak keys after 22,000 handshake attempts

Cloudflare patched its systems against eMudhra weak keys, including the number 4, and logged about 22,000 handshake attempts using them in a week.

Cloudflare has patched its systems to reject certificates signed with eMudhra weak keys, after the Indian certificate authority used the number 4 as one private key. Cloudflare says eight keys were affected: 4, 56, 66, 115, 155, 156, 230 and 237.

Cloudflare says anyone can recover these signing keys from the public certificates. An attacker could then create a certificate for any domain that an unpatched client would accept, provided the client does not enforce Certificate Transparency, a public log of issued certificates. Cloudflare calls the situation unprecedented for a certificate authority, the organization that vouches for website identities.

Cloudflare says it began patching on October 19, starting with Pingora, the proxy that handles most of its outbound connections to customer servers. Those fixes took hours. An AI-assisted review of its source code found every system trusting the weak keys within four hours. All high-priority systems are now patched, and a few low-impact tickets remain open.

After logging in Pingora finished rolling out on October 21, Cloudflare saw about 22,000 handshake attempts using the weak keys in a week. Two-thirds targeted test sites. Almost all the rest went to servers that appeared to use the weak intermediate certificate for themselves. Every handshake set to verify certificates was refused. Cloudflare says about 160 attempts stood out because of the domain names listed in their certificates.

Source: 4 real? Tracking exploitation and patching of eMudhra’s weak keys | Cloudflare Blog.