Re: [websec] Decouple HSTS's two orthogonal effects?
Tobias Gondrom <tobias.gondrom@gondrom.org> Thu, 24 March 2011 19:28 UTC
Return-Path: <tobias.gondrom@gondrom.org>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1E6143A68BA for <websec@core3.amsl.com>; Thu, 24 Mar 2011 12:28:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -95.187
X-Spam-Level:
X-Spam-Status: No, score=-95.187 tagged_above=-999 required=5 tests=[AWL=0.175, BAYES_00=-2.599, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999, HELO_DYNAMIC_IPADDR=2.426, HELO_EQ_DE=0.35, RDNS_DYNAMIC=0.1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yxDkjscdfTfs for <websec@core3.amsl.com>; Thu, 24 Mar 2011 12:28:10 -0700 (PDT)
Received: from lvps83-169-7-107.dedicated.hosteurope.de (lvps83-169-7-107.dedicated.hosteurope.de [83.169.7.107]) by core3.amsl.com (Postfix) with ESMTP id 9BBDE3A659A for <websec@ietf.org>; Thu, 24 Mar 2011 12:28:09 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gondrom.org; b=YSnnlCoSTBXud00jESUOc9jjzite/h/d1M6fHIzIpprShHKBUa9nScLVLm7MpTXrKTHXeyTvuBPCCRJPma7+kyTRGyOQtUuYyltTeqDnDKkb8LYJrS6HJv+NtJKWbqq6; h=Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:Content-Transfer-Encoding;
Received: (qmail 22466 invoked from network); 24 Mar 2011 20:29:22 +0100
Received: from 94-194-102-93.zone8.bethere.co.uk (HELO seraphim.heaven) (94.194.102.93) by lvps83-169-7-107.dedicated.hosteurope.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 24 Mar 2011 20:29:22 +0100
Message-ID: <4D8B9BE8.4010901@gondrom.org>
Date: Thu, 24 Mar 2011 19:30:48 +0000
From: Tobias Gondrom <tobias.gondrom@gondrom.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Lightning/1.0b2 Thunderbird/3.1.8
MIME-Version: 1.0
To: websec@ietf.org
References: <1300938396.2117.235.camel@localhost> <AANLkTin7j63S3aV+7F-oXi_4Ju_AVJSYfTW+wnWMwoh8@mail.gmail.com> <AANLkTi=C1WNt6zzyz9skdtqbyyK0qWSwNyVjbtrjq7ev@mail.gmail.com>
In-Reply-To: <AANLkTi=C1WNt6zzyz9skdtqbyyK0qWSwNyVjbtrjq7ev@mail.gmail.com>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: [websec] Decouple HSTS's two orthogonal effects?
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Mar 2011 19:28:11 -0000
Hello Matt and Tom, I also do not share your view. HSTS has one goal and that is to ensure a secure and trusted connection to prevent MiM and spoofing attacks. For this a strict behavior must be enforced. That means only https connections are allowed and self-signed certificates must be rejected. Otherwise an attacker uses exactly this to bypass the protection. Considering Tom's scenarios of self-signed certificates for intranet-site: - As devdatta writes you should in that case deploy the certs to your browser. - And second, in the long-run there might also be the additional use of stored certs in DNSSEC (see dane WG, "DNS-based Authentication of Named Entities"), though I admit that this is still a longer way to go. BR, Tobias On 03/24/2011 05:18 AM, Devdatta Akhawe wrote: > What design principle is this ? > > Seems to me that a design principle should be `don't mix orthogonal > design goals'. If a single goal has multiple effects, so be it. The > design goal is ensuring that interaction with website is not > vulnerable to MITM attacks. Since users click through cert warnings, > showing warnings is not enough (hence the effect 2). And because of > the way the web platform is designed, just switching half-way to SSL > doesn't really buy much security, hence effect 1. But the design goal > is just 1. > > If the use cases you mentioned are compelling, then they should be > handled via a separate mechanism. I personally don't find them too > compelling. For Tom's intranet example, (or imagine a large > enterprise), the right thing might be to just add the cert issuer to > the browser CA store. > > > =devdatta > > > On 23 March 2011 21:22, Tom Ritter <tom@ritter.vg> wrote: >> I'm new to this list, so apologies if this has been discussed - but I >> was surprised and dismayed when I learned of the coupling of these two >> effects. A very common situation I find myself in is adding an >> exception for a self-signed certificate or otherwise untrusted >> certificate, either for a personal machine, development machines, or >> intranet machines. The individual cert is verified by fingerprint >> using out-of-band channels, added, and doesn't change for a while - >> and we'd like to use HSTS on these boxes. But based off my simple >> testing in Chrome - coupling these effects prevents this workflow. >> >> -tom >> _______________________________________________ >> websec mailing list >> websec@ietf.org >> https://www.ietf.org/mailman/listinfo/websec >> > _______________________________________________ > websec mailing list > websec@ietf.org > https://www.ietf.org/mailman/listinfo/websec
- [websec] Decouple HSTS's two orthogonal effects? Matt McCutchen
- Re: [websec] Decouple HSTS's two orthogonal effec… Tom Ritter
- Re: [websec] Decouple HSTS's two orthogonal effec… Devdatta Akhawe
- Re: [websec] Decouple HSTS's two orthogonal effec… Tobias Gondrom
- Re: [websec] Decouple HSTS's two orthogonal effec… =JeffH
- Re: [websec] Decouple HSTS's two orthogonal effec… Daniel Kahn Gillmor
- Re: [websec] Decouple HSTS's two orthogonal effec… Yoav Nir
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Tom Ritter
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Daniel Kahn Gillmor
- Re: [websec] Decouple HSTS's two orthogonal effec… Adam Barth
- Re: [websec] Decouple HSTS's two orthogonal effec… Phillip Hallam-Baker