delete WebAssembly
injected with uBlock into every browser context before page loads. delete WebAssembly
injected with uBlock into every browser context before page loads.chrome --js-flags=--noexpose_wasm
More info for other browsers and platforms:
window.AudioContext = undefined
saved me from 2 previous Chrome RCEs.https://www.infoq.com/news/2019/10/WebAssembly-wasm-maliciou...
It's probably tolerable to turn it off for now unless you know you need it.
Using WASM is the method de'jour for turning arbitrary read/write/object leak into RCE. Without WASM, the writer would have to use ROP/etc, but the primitives are still there.
Check out this discussion by a bunch of the big names in the field, including Niklas B who was on the team that originally found this bug: https://twitter.com/spoofyroot/status/1379911787282243584
*##+js(myscript)
this will inject into every(1) executable context of every page. You still need to hotpatch workers/sharedworkers/webworkers(I disable the last one entirely).This way you get some of the control over Chrome browser back. Not so fun fact - Google is very against users having the ability to execute arbitrary user defined code, afair Gorhill had a problem with google concerning injectable scriptlets.
(1) of course there are issues, you cant inject into <iframe src="data: https://github.com/whatwg/html/issues/1753 in Chrome :( so you would have to manipulate CSP to disable those.
Thanks for the info about 'delete WebAssembly'