RE: Updated secdir review of draft-ietf-emu-chbind-15.txt

Stephen Hanna <shanna@juniper.net> Tue, 22 May 2012 20:03 UTC

Return-Path: <shanna@juniper.net>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B589421F869E; Tue, 22 May 2012 13:03:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.252
X-Spam-Level:
X-Spam-Status: No, score=-105.252 tagged_above=-999 required=5 tests=[AWL=1.347, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AkDmDKxL08d2; Tue, 22 May 2012 13:03:55 -0700 (PDT)
Received: from exprod7og109.obsmtp.com (exprod7og109.obsmtp.com [64.18.2.171]) by ietfa.amsl.com (Postfix) with ESMTP id 44F0D21F86A3; Tue, 22 May 2012 13:03:52 -0700 (PDT)
Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob109.postini.com ([64.18.6.12]) with SMTP ID DSNKT7vxJ+TDYVW/wC+63FzmvM056h/Z6qAp@postini.com; Tue, 22 May 2012 13:03:53 PDT
Received: from p-emfe02-wf.jnpr.net (172.28.145.25) by P-EMHUB03-HQ.jnpr.net (172.24.192.37) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 22 May 2012 13:00:21 -0700
Received: from EMBX01-WF.jnpr.net ([fe80::1914:3299:33d9:e43b]) by p-emfe02-wf.jnpr.net ([fe80::c126:c633:d2dc:8090%11]) with mapi; Tue, 22 May 2012 16:00:20 -0400
From: Stephen Hanna <shanna@juniper.net>
To: Sam Hartman <hartmans-ietf@mit.edu>
Date: Tue, 22 May 2012 16:00:19 -0400
Subject: RE: Updated secdir review of draft-ietf-emu-chbind-15.txt
Thread-Topic: Updated secdir review of draft-ietf-emu-chbind-15.txt
Thread-Index: Ac03m9Vz0ExW5KUcShO4ogGhcZvyUgAAFxvw
Message-ID: <AC6674AB7BC78549BB231821ABF7A9AEB82FBA10E8@EMBX01-WF.jnpr.net>
References: <20120514190642.11168.14882.idtracker@ietfa.amsl.com> <tslvcjy37fi.fsf@mit.edu> <AC6674AB7BC78549BB231821ABF7A9AEB82F8758EF@EMBX01-WF.jnpr.net> <tslr4udmce6.fsf@mit.edu>
In-Reply-To: <tslr4udmce6.fsf@mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "ietf@ietf.org" <ietf@ietf.org>, "emu@ietf.org" <emu@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 May 2012 20:03:56 -0000

Sam,

I see now that you are concerned not with circumstances where
the NAS terminates the tunnel by design but rather with times
when the NAS is maliciously terminating the tunnel. I'm glad
that we both agree that having the NAS terminate the tunnel
is highly undesirable. That did not come through in the draft.
I'm much relieved to learn that nobody is suggesting this
as a desirable outcome. I agree that it's an attack scenario
that must be considered and carefully addressed.

Maybe we can resolve this issue by clarifying the text to
say more clearly that we're dealing with an attack scenario
here. For example, we could add a sentence before the words
"Tunnel methods sometimes use" saying something like "However,
this is not secure if the NAS can terminate the tunnel (a
highly undesirable situation)." Then you can mention several
countermeasures against such an attack: mutual cryptographic
bindings (still just a -00 individual draft), carefully
checking the EAP server's identity, etc. We might also take
this opportunity to split this long paragraph into two:
one that includes the first three sentences (describing how
EAP tunnel methods can support channel binding) and another
describing the attack scenario and countermeasures.

Thanks,

Steve

> -----Original Message-----
> From: Sam Hartman [mailto:hartmans-ietf@mit.edu]
> Sent: Monday, May 21, 2012 5:51 PM
> To: Stephen Hanna
> Cc: Sam Hartman; emu@ietf.org; secdir@ietf.org; ietf@ietf.org
> Subject: Re: Updated secdir review of draft-ietf-emu-chbind-15.txt
> Importance: High
> 
> >>>>> "Stephen" == Stephen Hanna <shanna@juniper.net> writes:
> 
>     Stephen> The changes in draft-ietf-emu-chbind-15.txt satisfactorily
>     Stephen> address almost all of the comments in my April 13, 2012
>     Stephen> secdir review. I do have one remaining substantive comment
>     Stephen> on this latest draft and two non-substantive ones.
> 
>     Stephen> Substantive Comment -------------------
> 
>     Stephen> The last paragraph of section 9.1 points out a security
>     Stephen> problem with implementing channel bindings using EAP
> tunnel
>     Stephen> methods. If the EAP tunnel method terminates on the
>     Stephen> authenticator, the channel bindings can easily be defeated
>     Stephen> by the authenticator. While that's true, nobody terminates
>     Stephen> the EAP tunnel method on the authenticator today. In the
>     Stephen> EAP model, the authenticator is not trusted so terminating
>     Stephen> the EAP tunnel method on the authenticator is a bad idea
>     Stephen> for many reasons. For example, the authenticator would
> then
>     Stephen> have the ability to bypass protected result indications
> and
>     Stephen> to bypass all the cryptographic protections provided by
> the
>     Stephen> tunnel.  Sometimes there is value in having the inner and
>     Stephen> outer methods terminate on different servers but both
>     Stephen> servers must be trusted.  The authenticator is not. So
>     Stephen> there is no big security hole here, unless you have
> already
>     Stephen> opened an enormous security hole. It's ironic that this
>     Stephen> document which attempts to close vulnerabilities caused by
>     Stephen> malicious authenticators ends up subtly suggesting that
>     Stephen> people open a much larger vulnerability!
> 
>     Stephen> I would recommend deleting the end of this paragraph,
>     Stephen> starting with the sentence that starts "Even when
>     Stephen> cryptographic binding".>
> 
> I disagree very strongly with this proposed change.  It's possible that
> the text is not clear and I'd be happy to work for a round or two to
> see
> if we can clarify the text, but ending the paragraph as you propose
> would defeate the point of text we added after a WG consensus call.
> 
> I agree with you that authenticators are not trusted.
> The issue is that you cannot trust attackers to act within a
> specification.
> If an attacker can gain benefit from doing something, they may do so.
> 
> So, if an attacker can create a tunnel terminating at an authenticator
> and gain advantage from doing so, then they will do so.
> 
> Remember that we're talking about crypto binding. If crypto binding is
> relevant for confirming there are no extra servers, then we're in a
> threat model space where we're trusting the inner method to
> authenticate
> the server, not the outer method.  You can't say "you should only
> establish trusted tunnels," because we're hoping that crypto binding
> will give us that trust.  So, the issue here is that once you add
> channel bindings and the associated changes to the threat model to EAP,
> an authenticator can gain advantage through convincing a client to
> trust
> a tunnel that terminates at an authenticator.  That is, an
> authenticator
> can mount an attack.  Yes, the authenticator needs to convince the peer
> to trust the extra tunnel. However, as I discuss in
> draft-hartman-emu-mutual-crypto-binding and in my presentation at last
> IETF, that's often fairly easy.
> 
> So, how can we make the text more clear?