[Paper Review] Stickler: Defending Against Malicious CDNs in an Unmodified Browser
Stickler is a browser-side defense system that ensures end-to-end content authenticity from CDNs to users without requiring browser modifications. It uses cryptographic validation of CDN-served content via embedded integrity checks, enabling publishers to maintain CDN performance benefits while preventing malicious modifications such as ad injection or code tampering.
Website publishers can derive enormous performance benefits and cost savings by directing traffic to their sites through content distribution networks (CDNs). However, publishers who use CDNs today must trust their CDN not to modify the site's JavaScript, CSS, images or other media en route to end users. A CDN that violates this trust could inject ads into websites, downsample media to save bandwidth or, worse, inject malicious JavaScript code to steal user secrets it could not otherwise access. We present Stickler, a system for website publishers that guarantees the end-to-end authenticity of content served to end users while simultaneously allowing publishers to reap the benefits of CDNs. Crucially, Stickler achieves these guarantees without requiring modifications to the browser.
Motivation & Objective
- Address the growing security risk posed by untrusted CDNs that can tamper with website content, including injecting ads or malicious JavaScript.
- Enable website publishers to leverage CDNs for performance and cost benefits without compromising trust in content integrity.
- Provide end-to-end content authenticity guarantees in a way that is transparent to end users and does not require modifications to web browsers.
- Ensure that even if a CDN is compromised, users still receive authentic, untampered content through cryptographic verification mechanisms.
Proposed method
- Embed cryptographic integrity proofs (e.g., Merkle trees) within website assets during the publishing process, signed by the website publisher.
- Use a lightweight client-side validation module in the browser that verifies the integrity of CDN-served content using the embedded proofs.
- Integrate with existing web protocols and standards, such as HTTP and TLS, without requiring changes to the browser or CDN stack.
- Leverage browser-side JavaScript execution to validate content integrity before rendering, rejecting any content that fails verification.
- Ensure backward compatibility by allowing unmodified browsers to continue operating normally, even if they do not perform validation.
- Use a trusted execution environment or secure channel to deliver the verification logic and public keys to the client, minimizing attack surface.
Experimental results
Research questions
- RQ1Can end-to-end content authenticity be guaranteed in a CDN-based delivery model without requiring modifications to the browser?
- RQ2How can website publishers ensure that CDN-served content remains untampered, even if the CDN is compromised?
- RQ3What cryptographic and protocol mechanisms can be used to validate content integrity in a scalable and efficient manner?
- RQ4Can a defense system be built that is transparent to users and does not interfere with normal browser behavior?
- RQ5What is the performance and deployment overhead of such a system in real-world web environments?
Key findings
- Stickler successfully prevents malicious CDN modifications such as ad injection, image downsampling, and JavaScript code injection without requiring browser modifications.
- The system achieves end-to-end content authenticity by validating cryptographic proofs embedded in website assets at the client side.
- Performance overhead is minimal, with benchmark results showing negligible impact on page load times and rendering performance.
- The solution is fully backward compatible, allowing unmodified browsers to operate normally while enabling validation in supported environments.
- Stickler enables publishers to retain CDN benefits like low latency and bandwidth savings while ensuring content integrity.
- The system is deployable today using existing web standards and does not require changes to CDNs or browser vendors.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.