Re: [hybi] Handshake was: The WebSocket protocol issues.

Eric Rescorla <ekr@rtfm.com> Tue, 12 October 2010 00:09 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BCB1F3A6877 for <hybi@core3.amsl.com>; Mon, 11 Oct 2010 17:09:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.737
X-Spam-Level:
X-Spam-Status: No, score=-101.737 tagged_above=-999 required=5 tests=[AWL=0.239, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aOcZfuEau6bk for <hybi@core3.amsl.com>; Mon, 11 Oct 2010 17:09:56 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by core3.amsl.com (Postfix) with ESMTP id D289F3A6863 for <hybi@ietf.org>; Mon, 11 Oct 2010 17:09:55 -0700 (PDT)
Received: by yxp4 with SMTP id 4so1142104yxp.31 for <hybi@ietf.org>; Mon, 11 Oct 2010 17:11:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.90.103.5 with SMTP id a5mr3425998agc.97.1286842268489; Mon, 11 Oct 2010 17:11:08 -0700 (PDT)
Received: by 10.91.190.1 with HTTP; Mon, 11 Oct 2010 17:11:08 -0700 (PDT)
In-Reply-To: <4CB3A632.4070103@caucho.com>
References: <4CAFA043.10101@caucho.com> <AANLkTi=eo-cjBz160FN0cn53v4-CpDSYaEneqkr_ZP7k@mail.gmail.com> <AANLkTi=B1rGBgi4jYZ_TqX9Qt1xtXoyneZtztnLOkW6b@mail.gmail.com> <4CAFBD75.4020004@caucho.com> <r7gva6tv01olonop6co9ftn63dlqmhnts3@hive.bjoern.hoehrmann.de> <4CB0915A.1030400@caucho.com> <at41b6tsldo70ddhkokv8laoie5m99p35s@hive.bjoern.hoehrmann.de> <4CB0A27D.9000307@caucho.com> <m2c1b6dkeesdbh66no4hdfn86mhkq1mfiv@hive.bjoern.hoehrmann.de> <4CB10E6D.8000706@caucho.com> <6o32b65n4kjrueo7e5fb1n9n3m2g7lfg5r@hive.bjoern.hoehrmann.de> <4CB341CC.90300@caucho.com> <AANLkTinJM9fK2p2-kp5-PaNsWGA9EiJgxFbOXwC0hE+v@mail.gmail.com> <4CB3A632.4070103@caucho.com>
Date: Mon, 11 Oct 2010 17:11:08 -0700
Message-ID: <AANLkTimEf3CYRz4SCwytqwbk0g0n7B9BJw+OU0vOC-t-@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
To: Scott Ferguson <ferg@caucho.com>
Content-Type: multipart/alternative; boundary="0016361e86e44b99220492605086"
Cc: hybi <hybi@ietf.org>, Bjoern Hoehrmann <derhoermi@gmx.net>
Subject: Re: [hybi] Handshake was: The WebSocket protocol issues.
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Oct 2010 00:09:56 -0000

On Mon, Oct 11, 2010 at 5:05 PM, Scott Ferguson <ferg@caucho.com> wrote:

> Adam Barth wrote:
>
>> On Mon, Oct 11, 2010 at 9:56 AM, Scott Ferguson <ferg@caucho.com> wrote:
>>
>>
>>> You didn't address point #6, the open DELETE.
>>>
>>> The target is pre-compromised because it has an open DELETE (point #6)
>>> and
>>> the target is pre-compromised because it's on the same machine as the
>>> attacker (point #1).
>>>
>>> You're requiring a pre-compromised target to make this attack work.
>>>
>>>
>>
>> I'm not sure what pre-compromised means.  I'm not sure that I'd run my
>> servers in this configuration, but that doesn't mean lots of other
>> people don't.
>>
>>
>
> 1. Your target has an open vulnerability ("DELETE") to non-browser clients
> 2. Your attacker is running an arbitrary program on the same machine as the
> target.
>

I'm not going to argue about the rest of these, but as I've said before,
this is absolutely
a standard case. It's how shared hosting works, and I (and near  everyone
else) expects the
relevant machines to be configured in a way that it's not simple for
customers to attack
each other directly via this mechanism. cf. jails, etc.

-Ekr