sha1-2017 shows red triangle on Page Info Bubble and credit card autofill is enabled |
||||||||
Issue descriptionVersion: 53.0.2785.143 (Official Build) (64-bit) OS: OSX What steps will reproduce the problem? (1) Open sha1-2017.badssl.com (2) Via Dev tool, add html a snippet a credit card form (3) Focus on the credit card field Observation: A. OIB shows red triangle on sha1-2017.badssl.com B. Credit card autofill data is showing on focus Question to felt@ Unsure if A is a bug, or C is a bug. Please verify. Thanks!
,
Oct 6 2016
I think that seems reasonable. Something I don't have a good sense of is how common the SHA-1 thing is. If that's really common, I'd be a bit concerned. If it's a fringe case, I don't think we have any issues here.
,
Oct 6 2016
I think it's a fringe case at this point. +sleevi do we have any recent page load stats that you could share?
,
Oct 6 2016
Over a 28 day aggregation, we see less than 1% of main-frame loads. That number will hopefully be trending downward further now that the OS X alt-chain code has landed, and as soon as we can get the Windows strong-auth flag landed. Both of these will rule out 'false positives' (e.g. where SHA-2 chains exist, even if it's more expensive computationally and network wise to find them)
,
Oct 6 2016
The histogram is Net.Certificate.SHA1.MainFrame btw
,
Oct 6 2016
rsleevi: is there a milestone you recommend I wait on, then (for the OSX alt-chain code and Windows strong-auth flag to go to stable)?
,
Oct 6 2016
OS X has landed, I think Windows will be right after branch.
,
Oct 6 2016
Re #7: OK, can you please update this bug when that's landed? I'll prep a CL to land afterwards.
,
Oct 6 2016
,
Oct 6 2016
felt, I noticed that this IsContextSecure() method is meant to be kept in sync with the webview equivalent, AwAutofillClient::IsContextSecure(). AFAICT webview doesn't have any concept of SHA1 (or other Chrome-specific red-triangle-inducing conditions like malware). Are we okay with these implementations diverging, such that ChromeAutofillClient::IsContextSecure() takes SHA1, etc. into account but AwAutofillClient::IsContextSecure() continues to base the decision off just url + cert errors?
,
Oct 6 2016
More concretely, this would mean that credit card autofill would *not* be enabled in Chrome for pages that have SHA1 certificates, but it would be enabled in android webview for those same pages.
,
Oct 6 2016
#11. I'm pretty sure we don't do Autofill in the traditional sense in AW [1] but rather Autocomplete, which means we won't suggest personal Autofill data and the secure checks are less important in my opinion.
[1] PersonalDataManager returns your Autofill data such as addresses and Credit Cards, and here it's nulled:
autofill::PersonalDataManager* AwAutofillClient::GetPersonalDataManager() {
return nullptr;
}
,
Nov 16 2016
,
Nov 30 2016
,
Dec 5 2016
Removing HttpBad hotlist since it's unrelated.
,
Dec 7 2016
wasn't able to get to this, unassigning self
,
Jan 5 2017
Is this bug still valid, now that Chrome 56+ aggressively block SHA1 chains as certificate errors? When I try the repro described, I get the "Automatic credit card filling is disabled because this form does not use a secure connection" notification and there's no attempt to autofill.
,
Jan 6 2017
Hmm, this appears to be related to https://codereview.chromium.org/2603823002, which has a stub bug at Issue 678764 . That CL creates "IsSecureContext()" by taking IsOriginSecure() and then tacking on a few checks. Do we want a separate layer of security check apart from IsOriginSecure()? If Chrome is going to get this right, it will probably involve Enamel owning IsSecureContext() and being responsible for enforcement.
,
Mar 6 2017
Per Comment 17 - are we good here?
,
Mar 13 2017
I think we are more-or-less good when it comes to SHA-1, but we still have the problem that autofill does its own ad-hoc Not Secure check, which is not always going to match what's in the omnibox because it doesn't use security_state::SecurityLevel. Filed issue 701018 for that. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by f...@chromium.org
, Oct 6 2016Components: Security>UX UI>Browser>Autofill