Re: [TLS] Addressing cookie theft (think BEAST) with channel bound cookies using TLS session IDs

Florian Weimer <fweimer@bfk.de> Thu, 29 September 2011 10:49 UTC

Return-Path: <fweimer@bfk.de>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 960CA21F8C9A for <tls@ietfa.amsl.com>; Thu, 29 Sep 2011 03:49:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.913
X-Spam-Level:
X-Spam-Status: No, score=-1.913 tagged_above=-999 required=5 tests=[AWL=0.336, BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 0yQfZ5EygF3n for <tls@ietfa.amsl.com>; Thu, 29 Sep 2011 03:49:22 -0700 (PDT)
Received: from mx01.bfk.de (mx01.bfk.de [193.227.124.2]) by ietfa.amsl.com (Postfix) with ESMTP id 5F0FD21F8C82 for <tls@ietf.org>; Thu, 29 Sep 2011 03:49:20 -0700 (PDT)
Received: from mx00.int.bfk.de ([10.119.110.2]) by mx01.bfk.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) id 1R9EDo-0004Wj-Mt; Thu, 29 Sep 2011 10:52:08 +0000
Received: by bfk.de with local id 1R9EDo-0000gd-Iy; Thu, 29 Sep 2011 10:52:08 +0000
From: Florian Weimer <fweimer@bfk.de>
To: Nico Williams <nico@cryptonector.com>
References: <CAK3OfOjKwn16uKN44AjDDYoFxJwdghK=21zEKr6zSrp4gzATFQ@mail.gmail.com>
Date: Thu, 29 Sep 2011 10:52:08 +0000
In-Reply-To: <CAK3OfOjKwn16uKN44AjDDYoFxJwdghK=21zEKr6zSrp4gzATFQ@mail.gmail.com> (Nico Williams's message of "Wed, 28 Sep 2011 15:10:11 -0500")
Message-ID: <82mxdny61z.fsf@mid.bfk.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: tls@ietf.org
Subject: Re: [TLS] Addressing cookie theft (think BEAST) with channel bound cookies using TLS session IDs
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Sep 2011 10:49:26 -0000

* Nico Williams:

> A while back Dirk Balfanz proposed something he called "origin bound
> certificates" and "channel bound cookies".  A lighter-weight
> alternative (i.e., involving no protocol changes) would be nice.
> Mine: use TLS session IDs as the channel binding.

If we're interested in working around the cookie issue (as opposed to
fixing the protocol issue), I think it would be simpler to include a
random prefix in the cookie, ignored by the server, and the server would
change the prefix every few requests.

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99