Re: [Unbearable] Fwd: I-D Action: draft-ietf-tokbind-ttrp-01.txt

John Bradley <ve7jtb@ve7jtb.com> Thu, 03 August 2017 15:50 UTC

Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 070101320D3 for <unbearable@ietfa.amsl.com>; Thu, 3 Aug 2017 08:50:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ve7jtb-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ahirIC9pXTT7 for <unbearable@ietfa.amsl.com>; Thu, 3 Aug 2017 08:50:05 -0700 (PDT)
Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AED761320D6 for <unbearable@ietf.org>; Thu, 3 Aug 2017 08:50:04 -0700 (PDT)
Received: by mail-lf0-x229.google.com with SMTP id y15so7788184lfd.5 for <unbearable@ietf.org>; Thu, 03 Aug 2017 08:50:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ve7jtb-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=pEbubMC4wL7A6dK8dkYDfrTechrTo4k86vcaYqWRIBU=; b=VoJDOTsbQkdwQq4mNabacteT9VrhXFWHnyZaxTYQHwIcPYwt4SEoOwEOLv2nqJ7Whj L+2E4o4vDsr5abCzLGMc9czyDX82Ec5IzZB0UWEKu4BSjGbao3/rikS/uM6Bwq8YPNTK 8bZx9FCeroMq7XKyVz+CMKHlim1zDLxeo0JJmO3wR/iMYlmWf7e86U8ifokcPBY+drHb B/dIoHw9LglrPzgWK3TqHvw3N5t28X8CQS2oL/vqJjTMr5TkIKhAEtt2ZGLeWM7tq2Uv QYe9wOuKXXLMjfUqL8BcRVlLvcEESAW0ugOIINFAIgkauQFzTHIrwB6e5gj1kqlbRp9W OwoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=pEbubMC4wL7A6dK8dkYDfrTechrTo4k86vcaYqWRIBU=; b=pf0CszzOenEfaSQKRh3mPFdkwbEXTazDYEHsx2XfTqHzf3F6DeFzMZ8HDIdeQfaR1B be6+1bBDKYfPDb1LClTeXLugsUBcbtmjVubzE3+bOvaVh6SihGz2nCz6k+UGpOJHEY0t UJ5jBfQSATFCiAyDCUlmlYgXtMjrhIYLk1haBXVlE/+n3GAgQ8dOVSQ5syfJhYHxuWyG EoJG3NK+Ym4HeYys39/Hbr9NjUcWqXP1+vlAeYqyUpE8ICNgc11WfDZe8xZianfoR+Nk mC1oWA2KLMDALKXAjeyiuui6XBqRmNlkk+ZnMCKp7sEsRr8LXQHF1te2SCRYFSFJclEP 6JkA==
X-Gm-Message-State: AHYfb5iFGJZmxqvY3kXd6khTesJHDEXd7JsVg4WFF7pPuZlGTaYB/izp UHl3GbgluYY6IG27at1AlQ==
X-Received: by 10.25.161.209 with SMTP id k200mr827970lfe.132.1501775402759; Thu, 03 Aug 2017 08:50:02 -0700 (PDT)
Received: from [192.168.86.103] ([191.115.81.54]) by smtp.gmail.com with ESMTPSA id h11sm458122ljb.55.2017.08.03.08.50.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Aug 2017 08:50:02 -0700 (PDT)
From: John Bradley <ve7jtb@ve7jtb.com>
Message-Id: <F6E5D587-7206-4B2A-B79F-20C9CE9845C4@ve7jtb.com>
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Thu, 3 Aug 2017 11:49:52 -0400
In-Reply-To: <CAH9QtQGu8dxTpH14W7YVRJLbPaooBK1FR-bCPpvyAvEXqvzOBw@mail.gmail.com>
Cc: Vladimir Dzhuvinov <vladimir@connect2id.com>, Tokbind WG <unbearable@ietf.org>
To: Bill Cox <waywardgeek@google.com>
References: <150169636325.5791.16128248741008174399@ietfa.amsl.com> <CA+k3eCRkVoHD_QawfH4fPZJB-WtG=X_zORP0LHV7nD_54qE5Hg@mail.gmail.com> <0618fbec-ce24-d608-bab8-b1a2a24ece47@connect2id.com> <CAH9QtQGu8dxTpH14W7YVRJLbPaooBK1FR-bCPpvyAvEXqvzOBw@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="001a11403c44701a520555db5517"
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/nnzGcu3ch0d7BtJtNLlctCumr7k>
Subject: Re: [Unbearable] Fwd: I-D Action: draft-ietf-tokbind-ttrp-01.txt
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "\"This list is for discussion of proposals for doing better than bearer tokens \(e.g. HTTP cookies, OAuth tokens etc.\) for web applications. The specific goal is chartering a WG focused on preventing security token export and replay attacks.\"" <unbearable.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/unbearable>, <mailto:unbearable-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/unbearable/>
List-Post: <mailto:unbearable@ietf.org>
List-Help: <mailto:unbearable-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/unbearable>, <mailto:unbearable-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Aug 2017 15:50:07 -0000

I think the main concern is sanitizing the Referred-Token-Binding-ID and Sec-Provided-Token-Binding-ID headers rather than the original Sec-Token-Binding header.

The concern is if the TTP is not properly configured an attacker could send the 
Referred-Token-Binding-ID and Sec-Provided-Token-Binding-ID headers directly to bypass security.

At the F2F a number of suggestions were made around how to prevent/detect misconfiguration of one of a set of TTP that is not configured to sanitize those headders.

John B

> On Aug 3, 2017, at 11:31 AM, Bill Cox <waywardgeek@google.com> wrote:
> 
> 
> 
> On Thu, Aug 3, 2017 at 6:32 AM, Vladimir Dzhuvinov <vladimir@connect2id.com <mailto:vladimir@connect2id.com>> wrote:
> The downside of having set header names is that attacks on badly configured TLS proxies become much easier to carry out. This is my concern about the TTRP spec in this form.
> 
> Thanks,
> Vladimir
> I think most coders adding the standard header will the RFC, and will be more likely to remember to scrub the header.
> 
> One question about the spec: Why must the "sec-token-binding" header be removed?  I did that originally in an implementation, and was asked to stop "molesting the headers".
> 
> Bill
> _______________________________________________
> Unbearable mailing list
> Unbearable@ietf.org
> https://www.ietf.org/mailman/listinfo/unbearable