New issue
Advanced search Search tips

Issue 766384 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 761622
Owner: ----
Closed: Sep 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug-Security


Previous locations:
monorail:3065


Sign in to add a comment

MediaElement.captureStream allows exporting of cross-origin resources

Reported by tristan....@gmail.com, Sep 18 2017

Issue description

Vulnerability Details:
Please provide a brief explanation of the security issue.
Using the MediaElement captureStream on crossOrigin resources should throw a security error, it currently doesn't. This means that the security measures placed on other APIs (e.g WebAudio or Canvas) can be defeated.


What steps will reproduce the problem?
(1) load a cross-origin media in 'media_elt1'
(2) set media1.captureStream resulting MediaStream as the source of 'media_elt2'
(3) draw 'media_elt2' on a canvas and call its `toDataURL` method


Please any provide additional information:

https://jsfiddle.net/w77z6w90/
 
chrome bug.html
874 bytes View Download
I see my specs are not attached so reproduced on chrome 61.0.3163.91 (Official Build) (64-bit) and 63.0.3218.0 (Official Build) canary (64-bit) on osX Sierra
Labels: -Security
Project: chromium
Moved issue monorail:3065 to now be  issue chromium:766384 .
Labels: -Type-Defect -Priority-High Security Pri-1 Type-Bug-Security
Status: Unconfirmed (was: New)
Components: Blink>SecurityFeature>SameOriginPolicy Blink>Media
Perhaps related to  Issue 761622 

Comment 6 by palmer@chromium.org, Sep 19 2017

Mergedinto: 761622
Status: Duplicate (was: Unconfirmed)
I'm pretty sure this is a duplicate of  Issue 761622 . I've CC'd you on that bug.
Yes it is a duplicate. Thanks for CC.
Project Member

Comment 8 by sheriffbot@chromium.org, Jan 9 2018

Labels: allpublic
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