RC RANDOM CHAOS

eMudhra's Single-Byte Keys Expose Vast PKI Vulnerability

· via Hacker News

Original source

Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds

Hacker News →

On October 17, eight intermediate certificate authority keys from eMudhra were discovered to be catastrophically weak. Instead of proper 384-bit random values, the private keys were single-byte numbers—4, 56, 115—making them guessable in milliseconds on any computer. Six TLS issuing certificates and two code-signing certificates created in April 2025 were affected. Chrome and Firefox blocked them within hours via CRLSet and OneCRL updates; Mozilla subsequently removed the eMudhra root from its trust store.

Unlike typical key compromises, no one needed to steal these. The keys were effectively public from April 2025 onward whenever the certificates existed. Anyone examining these public certificates could recover the private keys in less than a second, creating a 17-month window of undetectable exposure. Mainstream browsers are protected through Certificate Transparency requirements and direct blocking, but the broader ecosystem is exposed. Most TLS clients—curl, Python, Node, Go, Java, package managers, and countless daemons—don’t check revocation or CT. They trust static root bundles on disk with no awareness of the compromise.

This creates severe attack surface across critical infrastructure. CI/CD pipelines holding cloud credentials and signing keys pull dependencies through vulnerable connections. Package installers that download and execute scripts as root become vectors for arbitrary code execution. IoT and embedded devices with frozen certificate bundles until 2039 remain permanently vulnerable. Windows code-signing creates another attack path: software signed with eMudhra’s code-signing intermediate appears legitimate to any system skipping revocation checks. Testing demonstrated successful man-in-the-middle attacks against high-value targets, with curl, Python, and Node accepting forged certificates on all tested Linux and macOS systems.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.