Re: [Unbearable] reviewing our 00's

D.Rogers@gmx.net Thu, 23 April 2015 21:13 UTC

Return-Path: <D.Rogers@gmx.net>
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 C149B1B3477 for <unbearable@ietfa.amsl.com>; Thu, 23 Apr 2015 14:13:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.713
X-Spam-Level:
X-Spam-Status: No, score=0.713 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 PMV8YztS9cPr for <unbearable@ietfa.amsl.com>; Thu, 23 Apr 2015 14:13:18 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D5301B346B for <unbearable@ietf.org>; Thu, 23 Apr 2015 14:13:06 -0700 (PDT)
Received: from [93.214.245.238] by 3capp-gmx-bs34.server.lan (via HTTP); Thu, 23 Apr 2015 23:13:01 +0200
MIME-Version: 1.0
Message-ID: <trinity-4deaf11d-3bd2-42d4-acd8-dde8cbc3d7ad-1429823581095@3capp-gmx-bs34>
From: D.Rogers@gmx.net
To: Andrei Popov <Andrei.Popov@microsoft.com>
Content-Type: text/html; charset="UTF-8"
Date: Thu, 23 Apr 2015 23:13:01 +0200
Importance: normal
Sensitivity: Normal
In-Reply-To: <BN3PR0301MB12500E593B96CFB9E709B6C48CEE0@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>, <BN3PR0301MB125099BB2825E4EA16EBA5408CE00@BN3PR0301MB1250.namprd03.prod.outlook.com> <trinity-f7b6ebb8-1e77-42a9-bc36-26e31bdb6469-1429712051393@3capp-gmx-bs64>, <BN3PR0301MB12500E593B96CFB9E709B6C48CEE0@BN3PR0301MB1250.namprd03.prod.outlook.com>
X-UI-Message-Type: mail
X-Priority: 3
X-Provags-ID: V03:K0:PdZLRh4uXQPsLTXDlj4NFIgKaxjaf/6p4ZeGnTpixBa RFCLGLQJjfxhgdoVKLO6SeyjIKwOwlUrxaCmj03TYNL/eGyJ+Y FvAjcKR4qRCUB7mxQ+g2j2vRVJT6d3raXJQCQ2aDSpk9jlpaeA 1zAnSiJjLKzIqqc8wzJ14QxQKOK60uaKlZUdtCdqu7WZsGRsWy yKSzA3MtrMu2H5MoXVKk3j1VAkbcaZPRoeXPgMXeDBsXomMfxK IQOxyH4ot482/kTSN4ZCRoR0oou09WcFF5uOAw3QSrOm4iysOJ D8VI8g=
X-UI-Out-Filterresults: notjunk:1;
Archived-At: <http://mailarchive.ietf.org/arch/msg/unbearable/HBKDlZuPw5CNwTxBmB2heb9lngc>
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: Thu, 23 Apr 2015 21:13:22 -0000

I just found a presentation of yours written together with Vinod "The Token Binding Protocol." This is most useful.
 
"In this case, the new cookie will be bound to the new Token Binding Key (assuming the client and server have negotiated the use of Token Binding)."
 
This is now diagressing too far, but what I meant was that TLS relying on certs in a controlled environment may be fine, but I am not so happy about it in the wilder Internet. But I think I have answered my own question, which was that combining this with say HIP would not get us any further.
 
"Can you elaborate on the specific client-side scalability concerns?"
 
Sorry, no, no experimental data to share, just general concern. By scalability I dont just mean the volume of cookies on any one client machine, but also from home I use three different machines. different OS's, different browsers or versions, and add to that at work and at clients. I would like the servers I visit all to securely recognise me as the same person. Perhaps this was already addressed and I missed it.
 
all the best
Dean
 
Gesendet: Mittwoch, 22. April 2015 um 19:29 Uhr
Von: "Andrei Popov" <Andrei.Popov@microsoft.com>
An: "D.Rogers@gmx.net" <D.Rogers@gmx.net>
Cc: "unbearable@ietf.org" <unbearable@ietf.org>
Betreff: Re: [Unbearable] reviewing our 00's

Ø  Which mechanism are we relying on to prevent hyjacking the returned cookie? 

Are you talking about a scenario where the client deletes cookies (and token bindings), re-authenticates with the web site, and receives a new cookie? In this case, the new cookie will be bound to the new Token Binding Key (assuming the client and server have negotiated the use of Token Binding).

Ø  But I was more concerned with the key-management client-side issue.

Ø  I am just thinking that scaleability should be built into solutions at an early stage.

If the client can manage cookies in a scalable manner, this client can probably be enhanced to also manage Token Binding keys in a scalable manner. Can you elaborate on the specific client-side scalability concerns?

 

Cheers,

 

Andrei

 

From: D.Rogers@gmx.net [mailto:D.Rogers@gmx.net]
Sent: Wednesday, April 22, 2015 7:14 AM
To: Andrei Popov
Cc: unbearable@ietf.org
Subject: Aw: Re: [Unbearable] reviewing our 00's

 

Hi Andrea,

 

yes, quite right, and of course if they perviously had the relevant cookie, resetablishing it is trivial. And someone not accepting cookies on principle would not have been authenticated in the first place. Bu this is more or less what I wrote previously. Which mechanism are we relying on to prevent hyjacking the returned cookie? 

 

But I was more concerned with the key-management client-side issue. I have no proposed solution up my sleave, but it concerns me that like many others very often I am in hundreds of web-sites per day.

Added to this during any particular day I am using a Win-8 desktop, a Win-7 laptop, and an Android based Tablet. I am just thinking that scaleability should be built into solutions at an early stage.

 

best,

Dean  

 

Gesendet: Dienstag, 21. April 2015 um 00:03 Uhr
Von: "Andrei Popov" <Andrei.Popov@microsoft.com" target="_parent" rel="nofollow">Andrei.Popov@microsoft.com>
An: "D.Rogers@gmx.net" target="_parent" rel="nofollow">D.Rogers@gmx.net" <D.Rogers@gmx.net" target="_parent" rel="nofollow">D.Rogers@gmx.net>
Cc: "unbearable@ietf.org" target="_parent" rel="nofollow">unbearable@ietf.org" <unbearable@ietf.org" target="_parent" rel="nofollow">unbearable@ietf.org>
Betreff: Re: [Unbearable] reviewing our 00's

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 [unbearable-bounces@ietf.org" target="_parent" rel="nofollow">mailto:unbearable-bounces@ietf.org] On Behalf Of D.Rogers@gmx.net" target="_parent" rel="nofollow">D.Rogers@gmx.net
Sent: Saturday, April 18, 2015 1:11 PM
Cc: unbearable@ietf.org" target="_parent" rel="nofollow">unbearable@ietf.org
Subject: Re: [Unbearable] reviewing our 00's

 

Dear All,

 

 

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>
An: D.Rogers@gmx.net
Cc: "unbearable@ietf.org" <unbearable@ietf.org>
Betreff: Re: [Unbearable] reviewing our 00's

 

On Sat, Apr 18, 2015 at 9:16 AM, <D.Rogers@gmx.net" target="_parent" rel="nofollow">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" target="_parent" rel="nofollow">leifj@sunet.se>
An: "unbearable@ietf.org" target="_parent" rel="nofollow">unbearable@ietf.org" <unbearable@ietf.org" target="_parent" rel="nofollow">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" target="_parent" rel="nofollow">Unbearable@ietf.org
https://www.ietf.org/mailman/listinfo/unbearable" target="_blank" rel="nofollow">https://www.ietf.org/mailman/listinfo/unbearable


_______________________________________________
Unbearable mailing list
Unbearable@ietf.org" target="_parent" rel="nofollow">Unbearable@ietf.org
https://www.ietf.org/mailman/listinfo/unbearable" target="_blank" rel="nofollow">https://www.ietf.org/mailman/listinfo/unbearable
 

_______________________________________________ Unbearable mailing list Unbearable@ietf.org https://www.ietf.org/mailman/listinfo/unbearable" target="_blank" rel="nofollow"> https://www.ietf.org/mailman/listinfo/unbearable

_______________________________________________ Unbearable mailing list Unbearable@ietf.org" target="_parent" rel="nofollow">Unbearable@ietf.org https://www.ietf.org/mailman/listinfo/unbearable" target="_blank" rel="nofollow"> https://www.ietf.org/mailman/listinfo/unbearable

_______________________________________________ Unbearable mailing list Unbearable@ietf.org https://www.ietf.org/mailman/listinfo/unbearable" target="_blank" rel="nofollow">https://www.ietf.org/mailman/listinfo/unbearable