Issue metadata
Sign in to add a comment
|
Security: XSS SVG download vulnerability
Reported by
osmanstp...@gmail.com,
Jun 6 2017
|
||||||||||||||||||||
Issue descriptionVULNERABILITY DETAILS Chrome doesn't display warning that file may be malicious. XSS Vulnerability via SVG VERSION Chrome Version: 58.0.3029 + Stable Operating System: Windows 10 REPRODUCTION CASE I included Javascript XSS in the SVG image file, Gmail never stops it from being sent, and also Chrome doesn't warn that the file may be malicious as it normally does with suspicious files like .SWF .EXE etc, etc, so both Gmail and Chrome are vulnerable to this. See screenshots.
,
Jun 6 2017
If potentially harmful javascript is placed inside the SVG file--Chrome won't stop it like it stops other potentially harmful files. Unless I am seeing things wrong, Chrome was suppose to warn the user that the file being downloaded is harmful--but it didn't, it let me download it.
,
Jun 6 2017
Thank you for providing more feedback. Adding requester "elawrence@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 6 2017
So in other words, I purposely put XSS Javascript inside the SVG file, and Chrome did not warn at all.
,
Jun 6 2017
In this example, how are you opening the SVG? I don't see a big difference between SVG and HTML in this case. I also don't see where the XSS is happening – can you use this to run Javascript on mail.google.com?
,
Jun 6 2017
I guess then you can just close this, if it is no different than running HTML file. I open the SVG by downloading it from Gmail.
,
Jun 6 2017
Right, the key issue here is that there isn't any XSS-- in the scenario, the SVG file allows script execution (like any other downloaded type that supports script), but the script execution occurs in a neutral context. The downloaded file doesn't run in the context of the site that delivered it (meaning there's no XSS), and it doesn't run with any additional permissions (meaning there's no elevation of privilege).
,
Sep 13 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
,
Feb 2 2018
Issue 808428 has been merged into this issue. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by elawrence@chromium.org
, Jun 6 2017