☰ SectionsToday’s news, without the noise.
Tech · Tech

Weak Security Codes Allow Hackers to Pretend to Be Any Website

A mistake by an Indian certificate authority has left billions of older devices open to impersonation attacks until patches are installed.

By Jennifer Paige ·

A critical security flaw discovered this week allows cybercriminals to mimic legitimate websites and applications with alarming ease. The issue stems from a series of eight intermediate certificates issued by eMudhra, an Indian certification authority, that contained private keys which were far too simple to guess. These keys, which should be complex cryptographic secrets, were only one byte in length, meaning they could be represented by any number from zero to 255. Because the range of possibilities is so small, a computer can brute-force the correct key in a fraction of a second, effectively unlocking the door to the security chain.

The scale of the potential impact is significant, affecting not just a single piece of software but the foundational trust mechanisms of the internet. When you connect to a site like a bank or an online retailer, your device verifies the connection by checking a chain of trust. This starts with the website's certificate, which is signed by an intermediate certification authority, which in turn is signed by a root certificate. In this case, the eight compromised certificates were issued by eMudhra. Because their private keys were so weak, an attacker positioned anywhere in the network path—whether on a public Wi-Fi network, within a corporate intranet, or at an internet service provider level—could intercept traffic and forge a valid identity. This would allow them to present themselves as apple.com, amazon.com, or bankofamerica.com, and your device would accept the connection as legitimate.

The vulnerability extends beyond simple web browsing to software integrity. Among the eight compromised certificates were two used for code signing. This means an attacker could potentially sign malicious software to make it appear as though it came from a trusted vendor like Microsoft or Google. If the software is not updated to recognize the flaw, it may accept the forged signature, leading users to install malware under the false impression that it is a legitimate update or application.

Remediation efforts are currently underway, requiring the revocation of the eight affected intermediate certificates and the removal of one specific root certificate from trust lists. Operating systems, web browsers, and countless other applications must update their internal lists of trusted and revoked certificates. This involves a massive logistical challenge, as the fix must be applied to personal computers, servers, smartphones, tablets, routers, virtual machines, and even specific programming environments like Python, Go, and Node.js. The sheer number of devices that rely on these trust lists makes the patching process complex and time-consuming.

There is, however, a partial shield for modern users. Recent versions of major web browsers, including Chrome, Brave, Firefox, and Safari, enforce a feature known as Certificate Transparency. This system consults a public log of all certificate issuances and blocks any that are not listed. Google has reported that no certificates signed by the affected intermediate authorities appeared in this log, suggesting that regular web browsing on up-to-date browsers may be relatively safe. Nevertheless, experts advise all users to check for updates across their software ecosystems immediately.

The most significant risk lies with older and less frequently updated hardware. Legacy routers, smart home appliances, and Internet of Things devices often do not receive frequent security patches. These devices may remain vulnerable for longer periods, creating potential entry points for attackers. While the exact cause of the one-byte keys is still under investigation, the incident highlights the fragility of the certificate infrastructure that underpins secure communication globally.

Source: Tom's Hardware

More from Tech