Tiny Keys Exposed in Certificate Flaw
An Indian certification firm used one-byte keys for eight certificates, allowing attackers to spoof any website or application.
By Maya Almasi ·

The private keys for eight compromised certificates were only one byte long. This means the secret numbers used to secure digital connections ranged from zero to 255, a range that an attacker can guess in a split second. This critical error, discovered this week, stems from eMudhra, an Indian certification authority. The firm issued six TLS certificates and two code-signing certificates with these weak keys. Because the keys are so small, any actor with a position in the network path can impersonate a trusted domain. This includes attackers on public Wi-Fi, corporate networks, or within an internet service provider's infrastructure.
The vulnerability works by breaking the chain of trust that software relies on. When you visit a site like apple.com, your browser checks a certificate chain. It verifies the site's certificate against an intermediate Certification Authority, which is itself trusted by a root certificate. In this incident, the intermediate certificates had easily guessable private keys. If your device trusts these intermediates, it will accept the attacker's version of the website. Furthermore, the compromised code-signing certificates could make malware appear to be signed by legitimate giants like Microsoft or Google.
This is not the first major security fix required this month. Systems administrators have already been busy patching a critical PHP vulnerability. Now, they face the task of updating countless machines and software installations to handle the new threat. The fix involves revoking the eight affected intermediate certificates and removing the one impacted root certificate from trusted lists. Alternatively, software can hard-code a rejection of the specific affected keys. These trusted and revocation lists are stored in operating systems, browsers, and applications, and they require periodic updates when such errors occur.
The scale of the potential impact is vast. The list of software that may need updating includes personal computers, servers, phones, tablets, routers, and virtual machines. It also extends to programming languages like Python, Go, and Rust, as well as standalone tools like curl. While many of these will likely receive patches, older hardware presents a risk. Legacy routers, smart home appliances, and aging computers may not get updates, leaving them vulnerable to impersonation attacks for the foreseeable future.
There is some good news for regular web users. Recent versions of major browsers, including Chrome, Brave, Firefox, and Safari, enforce a feature called Certificate Transparency. This system consults a public log of all certificate issuances and blocks any certificate not found there. Google has reported that none of the certificates signed by the affected intermediate authorities were logged in this public registry. Therefore, if you primarily use a modern browser for web browsing, you are likely safe from the most common attacks.
Despite the safety net provided by Certificate Transparency, experts recommend checking all installed software for updates immediately. The investigation into how such weak keys were issued is ongoing. For now, the priority is ensuring that your operating system and applications have the latest trusted certificate lists to prevent an attacker from tricking your device into trusting a fake connection.
Source: Tom's Hardware · original report published





