Re:Firefox Under Fire: Anatomy of latest 0-day attack
by yAnonymous on Wednesday August 12, 2015 @08:39AM
(#10047359)
Yeah, and that feature was only used in the Firefox deployment of pdf.js.
https://github.com/mozilla/pdf.js/commit/4f3f983a214867011dd...
Not sure who's to blame, but like he said, there was no vulnerability in the web version.
As far as I understand PDF.js used the 'PlayPreview' feature (Playpreview is the overlay you get to see to confirm you want to activate a plugin) as a 'hack' to inject PDF.js HTML content (resource://pdf.js/web/viewer.html) into the page because the plugin architecture was not flexible enough. So, even though technically PlayPreview is not part of PDF.js, the combination of PDF.js and PlayPreview specifically made it possible to inject content into PlayPreview and bypass the CSP.