NPAPI-initiated network requests can be intercepted by service workers breaking plugin origin expectations
Originally disclosed on Mozilla
- Fixed in 6 days
- Paid in 13 days
- Disclosed after 6 days
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
Steps to reproduce:
Demo page: https://onesignal.com/serviceworker-flash.html
1. Visit the demo page, and see the video play normally on first page load.
2. Click the Register Service Worker button to register the service worker.
3. Refresh the page for the service worker to take control, and the player will give an error.
4. Force refresh the page without cache (Ctrl + Shift + R) and the player will not give an error.
Actual results:
Video plays correctly when service worker is not in control. When service worker (even a simple worker) controls the page, the flash video does not play.
Expected results:
Flash video should play correctly regardless of whether the service worker is in control. This demo service worker does nothing but print a line to the console (does not install onFetch handler or intercept network requests).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A critical-severity business logic bug in DOM: Service Workers. Mozilla made it public on 10 February 2016 as CVE-2016-1949.
About Business logic
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.