Issue metadata
Sign in to add a comment
|
Security: Serviceworkers + ForeignFetch = botnet and persistent JS
Reported by
homakov@gmail.com,
Nov 6 2016
|
||||||||||||||||||||||
Issue descriptionVULNERABILITY DETAILS ServiceWorkers and new feature Foreign Fetch can be abused to get persistent JS code execution 1. visit https://jsfiddle.net/Lsd6vgkb/3/ 2. close the tab 3. few mins later open Devtools on any other page and see under Application/ServiceWorkers/Show All a truefactor.io service worker in Running state forever VERSION Chrome Version: 54+ Operating System: all REPRODUCTION CASE see truefactor.io/catworker for a demonstration. You can infect yourself and then broadcast a JS command that can be executed hours after you visited the page with injected image This is probably a Low severity bug, but I wanted to escalate it a bit. First thing to do is to stop giving out Origin Trial tokens for Foreign Fetch. Then reconsider its security model to stop recursive call execution. By design it allows one service worker to "foreignfetch" the other, so two domains can keep ping each other forever (delaying termination of script, which happens after 60 seconds of no events). This is something to be fixed in architecture of Foreignfetch.
,
Nov 7 2016
,
Feb 14 2017
This bug has been closed for more than 14 weeks. Removing security view restrictions. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by elawrence@chromium.org
, Nov 7 2016