A significant security failure involving the Indian certificate authority eMudhra has inadvertently provided a mechanism for users to intercept and modify traffic on certain smart televisions. The incident stems from the exposure of eight intermediate certificate authority private keys, which were discovered to be cryptographically trivial. eMudhra has confirmed that these keys were generated using a flawed software script that failed to handle hardware-based requirements, resulting in keys consisting of simple two- or three-digit numbers.
The company, which has since exited the certificate authority business, maintains that issuing digital certificates represented only a minor portion of its operations. However, the exposure of these keys allows for the creation of forged certificates capable of spoofing legitimate websites. This vulnerability has created a persistent security risk for any device that continues to trust eMudhra’s compromised certificates, particularly older hardware that no longer receives security updates or firmware patches.
Czech software developer Daniel Vrátil leveraged this vulnerability to intercept and manipulate traffic on a 2022 Samsung smart TV. By utilizing the open-source tool mitmproxy, Vrátil was able to generate certificates for the television’s advertising domains using the compromised eMudhra signing keys. Because his specific television model had not yet received a firmware update to revoke trust in the compromised certificates, he was able to successfully perform a man-in-the-middle attack on the device’s HTTPS traffic.
The process involved routing the television’s network traffic through a local proxy, allowing for the inspection of request structures and response payloads. Vrátil discovered that the television’s home screen advertisements were delivered via a standard JSON response from an external ad server. By redirecting requests for these domains to a local server, he was able to replace the advertisements with personal images and effectively block tracking data by null-routing those specific requests.
Vrátil has published the project on GitHub, though he notes that the implementation is not a universal or automated solution. Users attempting to replicate the process must perform individual analysis of their own television models to identify specific domains and endpoints, as the code requires manual adaptation for different devices. To date, the repository has not received community contributions to expand support to other television brands or models.
While the project demonstrates a novel way to bypass unwanted advertising, it highlights a broader, more severe security concern. The reliance on compromised certificates means that any device still trusting these keys is fundamentally vulnerable to interception and spoofing by malicious actors. Vrátil emphasized that while his project serves as a demonstration of ad-blocking, the underlying vulnerability could be exploited for far more dangerous purposes, particularly on embedded devices that are no longer supported by manufacturers.
The longevity of this ad-blocking method is entirely dependent on whether a device manufacturer issues a firmware update to revoke the compromised certificates. While such an update would patch the security hole, it would simultaneously render the interception method obsolete. Vrátil noted that he is currently exploring ways to maintain his ad-blocking configuration while simultaneously validating connections against an updated trust store to protect his own network from other, more malicious interception attempts.
Ultimately, the situation presents a trade-off for users. Continuing to use these compromised certificates to block advertisements leaves the device open to potential exploitation by third parties. Conversely, allowing the television to receive updates restores security but reinstates the manufacturer's ability to serve targeted advertisements and collect viewing data. Security experts generally advise that relying on a device’s trust in a compromised certificate authority is an inherently insecure approach to network management.





