Re: [Unbearable] reviewing our 00's

Andrei Popov <Andrei.Popov@microsoft.com> Mon, 20 April 2015 22:03 UTC

Return-Path: <Andrei.Popov@microsoft.com>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E0A01B32C7 for <unbearable@ietfa.amsl.com>; Mon, 20 Apr 2015 15:03:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.601
X-Spam-Level:
X-Spam-Status: No, score=-0.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_ILLEGAL_IP=1.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 mvQAGNQzmdrr for <unbearable@ietfa.amsl.com>; Mon, 20 Apr 2015 15:03:44 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0767.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::767]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E86E61B32C3 for <unbearable@ietf.org>; Mon, 20 Apr 2015 15:03:43 -0700 (PDT)
Received: from BN3PR0301MB1250.namprd03.prod.outlook.com (0.161.207.26) by BN3PR0301MB1250.namprd03.prod.outlook.com (0.161.207.26) with Microsoft SMTP Server (TLS) id 15.1.136.25; Mon, 20 Apr 2015 22:03:28 +0000
Received: from BN3PR0301MB1250.namprd03.prod.outlook.com ([0.161.207.26]) by BN3PR0301MB1250.namprd03.prod.outlook.com ([0.161.207.26]) with mapi id 15.01.0136.026; Mon, 20 Apr 2015 22:03:28 +0000
From: Andrei Popov <Andrei.Popov@microsoft.com>
To: "D.Rogers@gmx.net" <D.Rogers@gmx.net>
Thread-Topic: [Unbearable] reviewing our 00's
Thread-Index: AQHQedxCiQzINnKJcEexdzbRTl6pbZ1S4YCAgAABiACAAFDigIADQtKA
Date: Mon, 20 Apr 2015 22:03:28 +0000
Message-ID: <BN3PR0301MB125099BB2825E4EA16EBA5408CE00@BN3PR0301MB1250.namprd03.prod.outlook.com>
References: <55325D1C.1080807@sunet.se> <trinity-6a86c449-0742-49ea-8ca3-ee9822d2a31d-1429370175218@3capp-gmx-bs65>, <CA+k3eCTuO2q-4voB3cp33-XuZwYkudvxS835zi6G1rqDNRvPLA@mail.gmail.com> <trinity-67285786-45f2-4e49-a030-f52fbb980cec-1429387873450@3capp-gmx-bs64>
In-Reply-To: <trinity-67285786-45f2-4e49-a030-f52fbb980cec-1429387873450@3capp-gmx-bs64>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmx.net; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:4898:80e8:ed31::3]
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1250;
x-forefront-antispam-report: BMV:1; SFV:NSPM; SFS:(10019020)(24454002)(377454003)(122556002)(16236675004)(46102003)(93886004)(33656002)(19609705001)(110136001)(2950100001)(92566002)(2501003)(76176999)(54356999)(2656002)(86362001)(19617315012)(15975445007)(77156002)(74316001)(87936001)(19580405001)(86612001)(19625215002)(19580395003)(2351001)(62966003)(102836002)(99286002)(106116001)(19300405004)(50986999)(76576001)(40100003)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1250; H:BN3PR0301MB1250.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
x-microsoft-antispam-prvs: <BN3PR0301MB125065EDAC3F38BB10596EAB8CE00@BN3PR0301MB1250.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5002010)(5005006); SRVR:BN3PR0301MB1250; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1250;
x-forefront-prvs: 05529C6FDB
Content-Type: multipart/alternative; boundary="_000_BN3PR0301MB125099BB2825E4EA16EBA5408CE00BN3PR0301MB1250_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.onmicrosoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2015 22:03:28.5900 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1250
Archived-At: <http://mailarchive.ietf.org/arch/msg/unbearable/FasEsMXvV-eukMMqGEnEouqlTwE>
Cc: "unbearable@ietf.org" <unbearable@ietf.org>
Subject: Re: [Unbearable] reviewing our 00's
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 20 Apr 2015 22:03:46 -0000

Hi Dean,

Thanks for the editorial comments; will rephrase in the next revision.


Ø  What happens if exactly at that moment the the client clears thier cache after the token/cookie is received?

Ø  I still have the same conceptual problem with cache flushing, if the cookie is gone the whole process has to start from the beginning and the client has to prove they are still the same client. In other words re-establish the 3rd leg of a challenge response protocol.
If the cookie is gone, the server will have to authenticate this client again. This is the case today; I don’t think Token Binding is changing anything WRT this case.

Cheers,

Andrei

From: Unbearable [mailto:unbearable-bounces@ietf.org] On Behalf Of D.Rogers@gmx.net
Sent: Saturday, April 18, 2015 1:11 PM
Cc: unbearable@ietf.org
Subject: Re: [Unbearable] reviewing our 00's

Dear All,

http://tools.ietf.org/html/draft-ietf-tokbind-https-00

perhaps its a bit late to be raising this point but:
Abstract:
"an HTTP server issues a security token (such as a cookie) to a client, and expects the client to send the security token back to the server at a later time in order to authenticate."

What happens if exactly at that moment the the client clears thier cache after the token/cookie is received?
Something in the challenge-response mechanism is missing here. Why does the HTTP Server issue the token, at this point there is no mention of a challenge prompting this response. What should the challenge look like? Basically this does not belong in the abstract.

"Binding the token to the TLS connection between client and server protects the security token from theft, and ensures that the security token can only be used by the client that it was issued to."
This binding is not yet established, so ... "and would ensure that the security token..."

Please, I may have misunderstood something, but are we saying that a token issued by server A to client X may possibly be accepted by server B, surely this can only be the case on implicit trust between servers A and B?
Further, "the client proves possession of (private key) to the server, and is long-lived (i.e., subsequent TLS connections between the same client and server have the same Token Binding ID."
I still have the same conceptual problem with cache flushing, if the cookie is gone the whole process has to start from the beginning and the client has to prove they are still the same client. In other words re-establish the 3rd leg of a challenge response protocol. Where this is still the same client only time is lost. but I am afraid that should an attacker be able to generate such a failure they may be able to hijack the session.

Section 3.1 suggests that each client operate a large scale Key-management system, "clients use different private keys to establish Provided Token Binding IDs with different servers".
Clients are clients and this should not be thier business.
It was with this, to my mind, major architectural conceptual misdiection that stoped my reading further.

Salutem
Dean

Gesendet: Samstag, 18. April 2015 um 17:21 Uhr
Von: "Brian Campbell" <bcampbell@pingidentity.com<mailto:bcampbell@pingidentity.com>>
An: D.Rogers@gmx.net<mailto:D.Rogers@gmx.net>
Cc: "unbearable@ietf.org<mailto:unbearable@ietf.org>" <unbearable@ietf.org<mailto:unbearable@ietf.org>>
Betreff: Re: [Unbearable] reviewing our 00's
Some links:

http://tools.ietf.org/html/draft-ietf-tokbind-protocol-00
http://tools.ietf.org/html/draft-ietf-tokbind-https-00

https://github.com/TokenBinding/

On Sat, Apr 18, 2015 at 9:16 AM, <D.Rogers@gmx.net> wrote:
Sorry,

but like a lot of people we are all busy,

can you repeat the links,
without wishing to sound like Dr Who, you catch me at a time when I have time,
possibly its the same for others, quick links without having to mine them would be most useful brigadier :-)

best
Dean
Gesendet: Samstag, 18. April 2015 um 15:33 Uhr
Von: "Leif Johansson" <leifj@sunet.se>
An: "unbearable@ietf.org" <unbearable@ietf.org>
Betreff: [Unbearable] reviewing our 00's

Folks,

The core drafts have been out and published as WG documents for a couple
of weeks now. Please review!

Cheers Leif

_______________________________________________
Unbearable mailing list
Unbearable@ietf.org
https://www.ietf.org/mailman/listinfo/unbearable

_______________________________________________
Unbearable mailing list
Unbearable@ietf.org
https://www.ietf.org/mailman/listinfo/unbearable

_______________________________________________ Unbearable mailing list Unbearable@ietf.org<mailto:Unbearable@ietf.org> https://www.ietf.org/mailman/listinfo/unbearable