Re: [rtcweb] Security implications of host candidates

youenn fablet <youennf@gmail.com> Tue, 03 July 2018 00:05 UTC

Return-Path: <youennf@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1D30130EDD for <rtcweb@ietfa.amsl.com>; Mon, 2 Jul 2018 17:05:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[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_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 zfrIW7ZnwrkJ for <rtcweb@ietfa.amsl.com>; Mon, 2 Jul 2018 17:05:26 -0700 (PDT)
Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB30B124C04 for <rtcweb@ietf.org>; Mon, 2 Jul 2018 17:05:20 -0700 (PDT)
Received: by mail-lf0-x243.google.com with SMTP id u202-v6so112616lff.9 for <rtcweb@ietf.org>; Mon, 02 Jul 2018 17:05:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4gxXsWvGEKR7bkFnctZ0PqkpGpqgbGeNSf4w7NmXFEQ=; b=Bq/YGkcMLKYpJJJFrtPMCPYYuLVbFMpkR67//s9vT1Tgc0GAY1T69SnkVqWcpqYfFI 2V25mpJMKvbOnaoXaQi0rW+hQGEXyWhhw53caXPcsn7telQdkghg4FXIrzKJBMOa09eO ontY04Xae/ZrFKExvVU11o7P65DQoygIbia3lFr6A4mkdH5Lfj0GrvE0HFOj0rIpwy/M fOX4qap1QyRE6VFtOR2FcXA0vfwcNbgOogxbC6MN7XiBhczhKYbVqTibwutrBHMo99VH LComT66QZbmOYbZ3Qou5mVMJvQlpPVuD5GK65SebHfIn1p6OYpYmWnlZ6xzV2QePkpkv tYYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4gxXsWvGEKR7bkFnctZ0PqkpGpqgbGeNSf4w7NmXFEQ=; b=OuSgtC3TOn1IBXNIrmqQdxWQvlr+mp/ESmR/4nZv/VMMqTOT1YOamyB5q/a6KkADCc U3+xxHqW4qFQPuB843JhquiyMgVZy0tCdcVMxCpNWBvuyM8eZzon4bohQrxXxgTc6NtN 4UmH/ci1/699KLGTjFWjsVZAs36E2YoSiSNo3JX6vXr3s+IICuIDhWCL8DL05Rvsklj3 +1n870LaKLS4i+6xeQ0aLeoQ2dWtfOdwVIQhczhkfrhvtZjmQeXOz8DHKEg52kXXIykU czMTxUU9pT7GPalp8/Dtg+sSJqKWcuiXUcR6q2ze70ZNdIUL5PCQq2o9z0PgYcDldsUD jHzA==
X-Gm-Message-State: APt69E0UWDk7wbhO+HKFayZ6cJ7rTbm48Cpg/UuN/Zlqj2qwjrlrr6UF 7HpA+kGAr7jmqGHb00hECJxeVSzph4ae0rCpZwM=
X-Google-Smtp-Source: AAOMgpd+Fj1T0pcvWMKgqQkYFE4gdb3mDBsGCz6WzAdNPwu63PCEUrts84QgTL2Gv9oZxpNhYRDhjUbXJRIpIfqYvOI=
X-Received: by 2002:a19:19ca:: with SMTP id 193-v6mr9092001lfz.25.1530576319112; Mon, 02 Jul 2018 17:05:19 -0700 (PDT)
MIME-Version: 1.0
References: <CAOJ7v-1t_BDEEHmA4eqiS9ksYOOyHUz9LFLhQxs8FhjTdswP5w@mail.gmail.com>
In-Reply-To: <CAOJ7v-1t_BDEEHmA4eqiS9ksYOOyHUz9LFLhQxs8FhjTdswP5w@mail.gmail.com>
From: youenn fablet <youennf@gmail.com>
Date: Mon, 02 Jul 2018 17:05:07 -0700
Message-ID: <CANN+akZLRdZdexjU44zPCA6vdQR0hVYT17_4P8DefC0JbRL5mA@mail.gmail.com>
To: Justin Uberti <juberti=40google.com@dmarc.ietf.org>
Cc: youenn fablet <yfablet@apple.com>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000cd694b05700d11a2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/5dOXAbcO-R1yK-rdVh4f5KPZ4c0>
Subject: Re: [rtcweb] Security implications of host candidates
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2018 00:05:32 -0000

Le lun. 2 juil. 2018 à 16:04, Justin Uberti <juberti=
40google.com@dmarc.ietf.org> a écrit :

> https://tools.ietf.org/html/draft-mdns-ice-candidates-00 has a section
> where it talks about the privacy implications of being able to determine
> that two browser contexts are running on the same machine by making a
> host-host connection and analyzing the connection RTT:
>
>    A successful WebRTC connection between two peers is also a potential
>    thread to user privacy.  When a WebRTC connection latency is close to
>    zero, the probability is high that the two peers are running on the
>    same device.  Browsers often isolate contexts one from the other.
>    Private browsing mode contexts usually do not share any information
>    with regular browsing contexts.  The WebKit engine isolates third-
>    party iframes in various ways (cookies, ITP) to prevent user
>    tracking.  Enabling a web application to determine that two contexts
>    run in the same device would defeat some of the protections provided
>    by modern browsers.
>
>
> I would think that this concern would still exist even without host candidates, through either
>
> a) IP matching + user-agent fingerprinting
>
>
It is true that one can probably try breaking this protection using
fingerprinting, and public IP is a great way to converge more quickly.
That said, this is something we should try to fight against.

b) srflx-srflx connections and NAT hairpinning
>
>
Aren't the packets supposed to go through the router? In such a case, I
would hope the latency to be roughly the same, no matter whether the
devices are the same or not. That is indeed something that should be tested.


> FWIW, this topic does not appear to be noted in the rtcweb security docs.
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>