Re: bohe and delta experimentation...

Roberto Peon <grmocg@gmail.com> Fri, 18 January 2013 19:24 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 420CB21F870A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 18 Jan 2013 11:24:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.414
X-Spam-Level:
X-Spam-Status: No, score=-10.414 tagged_above=-999 required=5 tests=[AWL=0.184, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3UrTpobc2gHY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 18 Jan 2013 11:24:43 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 887FC21F8684 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 18 Jan 2013 11:24:43 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TwHX9-0004Ii-J0 for ietf-http-wg-dist@listhub.w3.org; Fri, 18 Jan 2013 19:23:23 +0000
Resent-Date: Fri, 18 Jan 2013 19:23:23 +0000
Resent-Message-Id: <E1TwHX9-0004Ii-J0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TwHX5-0004I2-Kj for ietf-http-wg@listhub.w3.org; Fri, 18 Jan 2013 19:23:19 +0000
Received: from mail-la0-f51.google.com ([209.85.215.51]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TwHX4-0007v1-Qh for ietf-http-wg@w3.org; Fri, 18 Jan 2013 19:23:19 +0000
Received: by mail-la0-f51.google.com with SMTP id fj20so4285176lab.10 for <ietf-http-wg@w3.org>; Fri, 18 Jan 2013 11:22:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=cxdWrwjsUH9Cr6/NXt7tSXR7+zaD7/fTutQtXx9I1/M=; b=htIFXFXwaPCxdUxXKY0VeTiKqMcGoe4pbTGF1LwqgnDsk6F7XFwfQguDxauRexlZ+a Ce2T2tJ9V9FLvbjS4TNy0tKGy5H+nv0gLiAr064SKO2GymyiKIofQI+A7rX8/3UPW7nQ PXmSEmI+9qHkC6QgUhJWKziwxh09py91ZDi9B0p6XeQ/msOCMa2fgOz2Yp6d58vI0SWy bBm7B1NFzFhci/a9VMI95OCH6nAQAOjkTlrx8ZGiBzqhhxw5z1RJtU3lB+Y173bJs/wQ VyLGOnPGsmC57cU5aitaNQlf1bsVj5tAK3wn2rIn2D+W9fS0F3whYZFwzT6f6//186/m GBig==
MIME-Version: 1.0
X-Received: by 10.152.109.238 with SMTP id hv14mr9556262lab.30.1358536971961; Fri, 18 Jan 2013 11:22:51 -0800 (PST)
Received: by 10.112.81.5 with HTTP; Fri, 18 Jan 2013 11:22:51 -0800 (PST)
In-Reply-To: <20130118181819.GB5037@1wt.eu>
References: <CAK3OfOj1O82WqO0L0rNpq2qeKJoT9E0ZQrV6Y=ULETtACpYMag@mail.gmail.com> <CAK3OfOgOGFNbve_QrTrCesqrrAQRH5qWgvebBxAhoMD7_MjhjQ@mail.gmail.com> <0A36AEB6-09B9-462F-B2E8-90B67FE69980@mnot.net> <CAK3OfOhewuVdjxu7UUp49g8B33YZNJ_N-PkASkHLP213+8gquA@mail.gmail.com> <CAP+FsNdi4=Am7pZdKySHZESp79BzRzPaR3UGQM2dsOM-yAxBOA@mail.gmail.com> <CAP+FsNf++RVVAyqweCsGG45wWQyjRrT7LEyWbv+QOd7Z2XdXwg@mail.gmail.com> <50F8F44E.9040401@it.aoyama.ac.jp> <0D1ABADB-E17F-46D3-9B6F-5CDC99FC06B9@mnot.net> <6C71876BDCCD01488E70A2399529D5E52E13E4@ADELE.crf.canon.fr> <CAP+FsNeJG_RWNbZDvuNBn3RuYEy3bA-wKdoCVfD476kdkC+xow@mail.gmail.com> <20130118181819.GB5037@1wt.eu>
Date: Fri, 18 Jan 2013 11:22:51 -0800
Message-ID: <CAP+FsNfaaA0-eNOn-KiqbFfvQAmqCwUTL7ExA388N8f+WiGk8Q@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>, Nico Williams <nico@cryptonector.com>, "Martin J. Dürst" <duerst@it.aoyama.ac.jp>, Mark Nottingham <mnot@mnot.net>, James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="bcaec54d46bca0c6e704d39509c8"
Received-SPF: pass client-ip=209.85.215.51; envelope-from=grmocg@gmail.com; helo=mail-la0-f51.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.684, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TwHX4-0007v1-Qh defc8a8dfb3bb9cc1f4ccb9fc89e871f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: bohe and delta experimentation...
Archived-At: <http://www.w3.org/mid/CAP+FsNfaaA0-eNOn-KiqbFfvQAmqCwUTL7ExA388N8f+WiGk8Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16013
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Heh. We have more information about what is safe and what is not safe than
that!

Things we have fairly high confidence about w.r.t. CRIME:
  Partial-text matches are unsafe for any potentially sensitive field.
  Full-atom matches are safe for any field, including those with
potentially sensitive information.
  Dynamic entropy-coding, where the code-tables change based on input is
unsafe
  Static entropy-coding, where the code-tables have no relation to user
input is safe.

-=R


On Fri, Jan 18, 2013 at 10:18 AM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Roberto,
>
> On Fri, Jan 18, 2013 at 09:22:11AM -0800, Roberto Peon wrote:
> > This makes URLs vulnerable to the CRIME attack, and URLs definitely do
> > contain sensitive information often :(
> >
> > This is true for anything which allows partial matches (I just can't
> figure
> > out how date could be sensitive, but if it could, even the encoding
> > suggested earlier by me would be dangerous).
> >
> > I dropped exactly this (prefix match) functionality from delta early on
> > because of this.
>
> If we consider that anything is sensible to the CRIME attack, then we need
> to go fully stateless I guess, otherwise it will be too hard to find out
> what is safe to reuse and what is risky :-/
>
> Willy
>
>