Security: Address bar spoofing with javascript: URLs on interstitials
Reported by
chromium...@gmail.com,
Sep 16 2016
|
||||||||||
Issue descriptionVERSION Chrome Version: 55.0.2861.0 Operating System: Windows 7 REPRODUCTION CASE 1. Navigate to google.com 2. Navigate to wrong.host.badssl.com 3. Type in the omnibox javascript: and enter Observed Results: Content of wrong.host.badssl.com is seen with google url in the omnibox.
,
Sep 16 2016
Hmmmm. Looking into it. I'm adding jam@ as well, possibly prematurely, since he's been involved with a few similar bugs recently. (Not sure yet if this is related or not.)
,
Sep 16 2016
Nope, I prematurely added jam. This reproduces on stable so it's not related to the refactoring he did. I think this is an interstitials-are-weird-and-do-weird-things bug.
,
Sep 16 2016
Looks like the interstitial page is failing to dismiss. The same thing happens if you visit an interstitial URL (e.g., wrong.host.badssl.com), put focus in the address bar, and hit Escape. Same if you type a URL with a 204 response (e.g., https://www.google.com/csi) while an interstitial is showing. In most of these cases, the "Back to Safety" button does nothing. I don't think this is a security bug, but it does seem like a functional problem with interstitial pages we should fix. (It's not clear how this would be exploited to cause harm, especially if user interaction is required.)
,
Oct 3 2016
I agree with comment 4 that this doesn't really seem like a security bug due to the user interaction, so I'm un-restricting it. Also un-assigning myself because I probably won't be able to work on this anytime soon.
,
Oct 3 2016
Doesn't seem like a regression, I can repro on even M31. > Same if you type a URL with a 204 response (e.g., https://www.google.com/csi) while an interstitial is showing. I get a different behavior with 204 responses. The URL of the 204 site remains in the omnibox, but the interstitial doesn't go away. Based on the log message, this seems to be caused by the evil hack at NavigatorImpl::DidFailProvisionalLoadWithError.
,
Oct 11 2016
> Looks like the interstitial page is failing to dismiss. Should the interstitial dismiss? Running javascript: URLs on other pages don't change URL, so I'm not sure why it should be different for the interstitial. But it looks like NavigationController::DiscardNonCommittedEntries is restoring the last committed URL before the javascript: URL here.
,
Oct 11 2016
,
Nov 23 2016
,
Jun 20 2017
Still an issue. Adding UI>Browser>Omnibox>SecurityIndicators because this results in a web page showing "Secure: https://www.google.com" in the omnibox while the page content is an error "Your connection is not private: Attackers might be trying to steal your information ..." In other words, the indicator is not in sync with the page content.
,
Jun 20 2017
Possibly a similar issue to bug 653963. (It has similar repro steps.)
,
Jun 29 2017
creis: Just an observation, but could javascript URLs dropping the pending navigation entry as in bug 732976 be causing this? The pending entry is the interstitial URL. When it's dropped, we revert back to the previous entry.
,
Jul 6 2017
> creis: Just an observation, but could javascript URLs dropping > the pending navigation entry as in bug 732976 be causing this? If that's the case, then bug 732976 should probably not be limited to discussing issues with Android Webview. This bug is on desktop.
,
Nov 10 2017
,
Feb 18 2018
|
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by penny...@chromium.org
, Sep 16 2016Components: UI>Browser>Navigation UI>Browser>Omnibox Security>UX
Labels: Security_Severity-Low Security_Impact-Stable OS-All Pri-2
Owner: est...@chromium.org
Status: Assigned (was: Unconfirmed)