eMudhra's Flawed Keys Leave Devices Open to Impersonation
Certificates issued by an Indian firm with guessable keys could let attackers spoof sites and software.
By Isabella Bianchi ·

A single byte. That is the length of the private keys protecting eight certificate authority credentials issued by Indian firm eMudhra, meaning each key is just a number from 0 to 255. Anyone can brute-force a key of that size in a fraction of a second.
Here is how the situation developed. Software verifies a site's identity by tracing a chain of trust: a site certificate signed by an intermediate certification authority, whose own credentials are in turn signed by a root certificate. Root keys are stored offline for safety. eMudhra issued six intermediate TLS certificates and two intermediate code-signing certificates in this manner, but with those one-byte private keys. The cause of that configuration is still under investigation.
With such keys, an attacker positioned anywhere along a user's connection, whether on a corporate or government network, public Wi-Fi, an ISP, or a government entity, could intercept traffic and pose as any website. Code-signing certificates raise a similar concern, as downloaded applications could appear to be from a legitimate source.
Operating systems, browsers, and various applications maintain lists of trusted root certificates and certification authorities, and browsers also keep a revocation list of those not to be trusted. These lists are updated when incidents occur, and the current situation requires updating them again. This can be done by revoking the eight CAs, removing the affected root certificate, or hard-coding a rejection of all eight keys.
There is a layer of protection: recent versions of Chrome, Brave, Firefox, and Safari enforce Certificate Transparency, consulting a public log of certificate issuances and blocking any not listed. Google reports that no certificates signed by the six affected intermediate CAs were logged, so regular web browsing should be safe, but all software should still be checked for updates.
The scope of what needs updating is broad: PCs, servers, operating systems, phones, tablets, routers, browsers, virtual servers, virtual machines, containers, and programming languages like Python, Go, Node.js, and Rust, along with standalone download tools such as curl. Old routers, smart and IoT appliances, and older computers could eventually pose problems.






