Issue metadata
Sign in to add a comment
|
Security: Possible to append javascript before https - Resulting in XSS on all websites
Reported by
swapnil...@gmail.com,
Nov 26 2017
|
||||||||||||||||||||||
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. VULNERABILITY DETAILS Please provide a brief explanation of the security issue. It is possible to append javascript before https, thus it results in XSS on all websites. javascripT://https://www.google.co.in Complete url causing XSS JavascripT://https://www.google.co.in%0aalert(document.domain);//https://www.google.co.in VERSION Chrome Version:62.0.3202.94 Operating System: [Windows 8.1, 64 bit] REPRODUCTION CASE 1. Visit https://www.google.com 2.append javascripT:// before https:// so our url will become JavascripT://https://www.google.co.in 3.Add payload %0aalert(document.domain);//https://www.google.co.in after domain name. so now our final url will be JavascripT://https://www.google.co.in%0aalert(document.domain);//https://www.google.co.in Suggested Fix: The validator should check, that url string must strictly start with http[s]://.
,
Nov 26 2017
How specifically do you "append javascripT: before https?" If this issue requires that the end-user manually type that string, then Chrome is Working-As-Intended. https://chromium.googlesource.com/chromium/src/+/master/docs/security/faq.md#Does-entering-JavaScript_URLs-in-the-URL-bar-or-running-script-in-the-developer-tools-mean-there_s-an-XSS-vulnerability
,
Nov 27 2017
I think swapnil755@ means typing the "javascript:// " into address bar. (BTW, copying/pasting won't work as a mitigation used by Chrome. ) swapnil755, could you confirm?
,
Nov 28 2017
Closing as "Working as Intended" per #2 and #3. If you can get the "JavaScript:" string in the omnibox via some mechanism other than typing it, please leave a comment here.
,
Feb 22 2018
,
Mar 7 2018
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 |
|||||||||||||||||||||||
Comment 1 by swapnil...@gmail.com
, Nov 26 201781.4 KB
81.4 KB View Download