CSP strict-dynamic bypass via shimmed Vidible video player
Categories
(Web Compatibility :: Tooling & Investigations, defect)
Tracking
(firefox-esr115 wontfix, firefox-esr128 wontfix, firefox-esr140 wontfix, firefox141 wontfix, firefox142 wontfix, firefox143+ fixed)
People
(Reporter: deltaclock, Assigned: twisniewski)
References
Details
(Keywords: csectype-mitigation-bypass, reporter-external, sec-moderate, Whiteboard: [fixed in bug 1978466][adv-main143+])
Steps to reproduce:
Incomplete patch for bug 1909241.
Following the same preconditions as the above bug, when a page uses "vidible.js" and some HTML can be injected; CSP bypass could be possible since the shim only checks for scripts that contain the string delivery.vidible.tv/jsonp.
https://github.com/mozilla-firefox/firefox/blob/55ec080e4a37b7ae1f89267063eccd361cdd232d/browser/extensions/webcompat/shims/vidible.js#L154
Such an injected HTML example:
<script src="data:,alert(1);//delivery.vidible.tv/jsonp"></script>
After the user clicks on the shimmed player created, the bypass would trigger at https://github.com/mozilla-firefox/firefox/blob/55ec080e4a37b7ae1f89267063eccd361cdd232d/browser/extensions/webcompat/shims/vidible.js#L182
Expected results:
Since Vidible seems to be offline currently, this bug does not require a high priority fix.
Subsequently, I would support the idea of completely removing this shim.
| Assignee | ||
Comment 1•1 year ago
|
||
Hmm. Thanks for the heads-up. I might as well remove this if the service is down. I'll do so in bz 1978466.
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
Ok, that patch has just landed, and so should be in the nightlies, and ride the train to Firefox 143.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•11 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•3 months ago
|
Description
•