Issue metadata
Sign in to add a comment
|
Security: Running javascript from SVG and exposing the window object
Reported by
michal.w...@gmail.com,
Nov 20 2016
|
||||||||||||||||||||
Issue descriptionThis template is ONLY for reporting security bugs. If you are reporting a Download Protection Bypass bug, please use the "Security - Download Protection" template. For all other reports, please use a different template. Please READ THIS FAQ before filing a bug: https://www.chromium.org/Home /chromium-security/security-faq Please see the following link for instructions on filing security bugs: http://www.chromium.org/Home/chromium-security/reporting-security-bugs NOTE: Security bugs are normally made public once a fix has been widely deployed. VULNERABILITY DETAILS Chrome opened an SVG file (image file) and ran a javascript script within the file, as if it was an html page. Therefore it ran a script without me possibly knowing any script could be executed. The included script uses obfuscation to redirect to a malicious (at least to my DNS) website: http://mourad.com/php/trust.php. I did not try to visit that website. VERSION Chrome Version: 53.0.2785.101 Operating System: Ubuntu 14.04 REPRODUCTION CASE I have received this file from a friend who is a photographer, so I thought he wants to share an image with me. This way people can easily be deceived to visit unsafe websites.
,
Nov 21 2016
Could you please give us the exact nature of the file, and how the SVG was embedded? That is, was it an HTML file with a tag that referenced an SVG file (svg-as-image) or was it a HTML file with SVG content within it, or was is base64 encoded SVG, or something else? It is important to know which because the rules for script blocking vary depending on how the SVG is embedded.
,
Nov 21 2016
,
Nov 21 2016
,
Dec 5 2016
It seems that there is nothing we can do about this, it indeed it is referring to the links in comment #4. It's malicious JS, sure, but there's nothing wrong with the way we're opening or executing the file as far as I know. Given the lack of additional information, I'm closing this. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by mea...@chromium.org
, Nov 21 2016Labels: -Type-Bug-Security -Restrict-View-SecurityTeam Type-Bug