Firefox Flaw: How Hackers Can Bypass Tracking Protection and CSP to Achieve XSS

Firefox’s Enhanced Tracking Protection may leave a shim in place of blocked scripts, but beware: a clever attacker might bypass strict-dynamic CSP using a DOM Clobbering attack, turning your secure site into an XSS playground.

Pro Dashboard

Hot Take:

Firefox shims in to save the day—or does it? It looks like Mozilla’s browser might need more than a band-aid to patch up its Enhanced Tracking Protection. Buckle up, folks, because this ride through the world of web security is about to get bumpy!

Key Points:

  • Firefox’s Enhanced Tracking Protection includes web-compatibility shims.
  • These shims can be exploited via a DOM Clobbering attack, leading to XSS vulnerabilities.
  • Affected sites use Content Security Policy in “strict-dynamic” mode.
  • Web extensions with minimal permissions can create a StreamFilter to modify response bodies.
  • PK11_Encrypt() in NSS poses a low-risk plaintext exposure on Intel Sandy Bridge processors.

Membership Required

 You must be a member to access this content.

View Membership Levels
Already a member? Log in here
The Nimble Nerd
Confessional Booth of Our Digital Sins

Okay, deep breath, let's get this over with. In the grand act of digital self-sabotage, we've littered this site with cookies. Yep, we did that. Why? So your highness can have a 'premium' experience or whatever. These traitorous cookies hide in your browser, eagerly waiting to welcome you back like a guilty dog that's just chewed your favorite shoe. And, if that's not enough, they also tattle on which parts of our sad little corner of the web you obsess over. Feels dirty, doesn't it?