New issue
Advanced search Search tips

Issue 823810 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: Bug-Security



Sign in to add a comment

Security: Google Chrome Incognito Mode not forcing HTTPS

Reported by dandanko...@gmail.com, Mar 20 2018

Issue description

VULNERABILITY DETAILS
While testing a phishing site on an access point spoofed using a Raspberry Pi the site would not connect using the regular browsing mode on Chrome, but Incognito Mode would connect to the site.

VERSION
Chrome Version: 58.0.3029 + stable (and on newer versions)
Operating System: Windows 10 1709 16299.309

REPRODUCTION CASE

Using a static HTML page that is insecure simply try to connect using a normal browser then Incognito Mode (this could work for phishing sites, for me working on an insecure access point created using a Raspberry Pi which had a DNS spoofed phishing site for demonstration)

The Attached Presentation has all the configuration settings for the access point.
 
Wireless Access Point DNS Spoofing.pptx
680 KB Download
Components: UI>Browser>Incognito Internals>Network>DomainSecurityPolicy
Labels: Needs-Feedback
Can you please be more specific about the exact URLs and steps involved?

Based on the pptx, it /looks/ like what you're saying is that you attempt to load http://facebook.com/ in regular Chrome after enabling a DNS-spoof and this fails because HSTS rule forces the request to https://facebook.com/ and your attack site does not have HTTPS enabled. Subsequently, when you attempt the attack in an Incognito mode instance, the request for http://facebook.com is not upgraded to HTTPS and thus the page loads non-securely.

Is that correct?

*.facebook.com is on the HSTS preload list and thus this attack should not work on any version of Chrome that is running within 10 weeks of its build date. (Chrome 58 is very outdated at this point and thus its HSTS rules have expired).
Hello, yes you have it correct. The http://facebook.com was redirected to a web server on the Raspberry Pi serving as the access point. The page is not accessible on a regular Chrome window because HTTPS is forced. When in incognito it did not force HTTPS on this same address.

I understand that this is an old version of Chrome, but when this was tested the version of Chrome was current. My partner also tested this more recently, around November or December. I have not tested it since but as this is something that (at the time of testing) worked on current versions of Chrome I figured it might be an ongoing issue.
Project Member

Comment 3 by sheriffbot@chromium.org, Mar 21 2018

Cc: elawrence@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-Feedback
I was not able to reproduce a problem here. Attempting to load http://facebook.com in Incognito while spoofing DNS resulted in the expected automatic clientside redirection to HTTPS with the following recorded in the network log:

t= 997 [st=   0]      URL_REQUEST_FAKE_RESPONSE_HEADERS_CREATED
                      --> HTTP/1.1 307 Internal Redirect
                          Location: https://facebook.com/load
                          Non-Authoritative-Reason: HSTS

Can you please attempt to reproduce this in a current version of Chrome, and attach a network log[1] if you're successful?

[1] https://www.chromium.org/for-testers/providing-network-details
I will take some time to attempt to get this working on a current version and get back to you.
Project Member

Comment 6 by sheriffbot@chromium.org, Mar 21 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Unconfirmed)
Thanks. Please update this issue if you are able to reproduce the problem.
Project Member

Comment 8 by sheriffbot@chromium.org, Jun 28 2018

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