Skip to content
Business logic Disclosed report CVE-2016-1949

NPAPI-initiated network requests can be intercepted by service workers breaking plugin origin expectations

jasonpang2011 Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 6 days
  • Paid in 13 days
  • Disclosed after 6 days
Text
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).

The original report as published on Mozilla's Bugzilla, by jasonpang2011. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.