Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: secdir@core3.amsl.com
Delivered-To: secdir@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix)
 with ESMTP id 52CBD3A6781; Tue, 29 Jun 2010 08:41:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.892
X-Spam-Level: 
X-Spam-Status: No, score=-3.892 tagged_above=-999 required=5 tests=[AWL=1.218,
 BAYES_05=-1.11, RCVD_IN_DNSWL_MED=-4]
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 Z44zhYMrVmzD;
 Tue, 29 Jun 2010 08:41:47 -0700 (PDT)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net
 [193.180.251.61]) by core3.amsl.com (Postfix) with ESMTP id F116A3A684C;
 Tue, 29 Jun 2010 08:41:45 -0700 (PDT)
X-AuditID: c1b4fb3d-b7b90ae00000278d-1f-4c2a1443842d
Received: from esessmw0256.eemea.ericsson.se (Unknown_Domain [153.88.253.125])
 by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id
 CD.6F.10125.3441A2C4; Tue, 29 Jun 2010 17:41:55 +0200 (CEST)
Received: from esessmw0191.eemea.ericsson.se (153.88.115.84) by
 esessmw0256.eemea.ericsson.se (153.88.115.96) with Microsoft SMTP Server
 (TLS) id 8.2.234.1; Tue, 29 Jun 2010 17:41:54 +0200
Received: from ESESSCMS0354.eemea.ericsson.se ([169.254.1.94]) by
 esessmw0191.eemea.ericsson.se ([153.88.115.84]) with mapi;
 Tue, 29 Jun 2010 17:41:54 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Ted Hardie <ted.ietf@gmail.com>, "Richard L. Barnes" <rbarnes@bbn.com>
Date: Tue, 29 Jun 2010 17:41:52 +0200
Thread-Topic: secdir review of draft-ietf-simple-msrp-sessmatch
Thread-Index: AcsL8r0LZjksOTxKTeGXeVDdNcTaagLrY1cw
Message-ID: <FF84A09F50A6DC48ACB6714F4666CC7468A54B9BC4@ESESSCMS0354.eemea.ericsson.se>
References: <5A638DC0-41CF-4C0C-B00D-6793C43FB708@bbn.com>
 <AANLkTikyh2zkQgfnPNgW5orxXvP5fOw7KnpW03V_XFJJ@mail.gmail.com>
In-Reply-To: <AANLkTikyh2zkQgfnPNgW5orxXvP5fOw7KnpW03V_XFJJ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: "draft-ietf-simple-msrp-sessmatch@tools.ietf.org"
 <draft-ietf-simple-msrp-sessmatch@tools.ietf.org>, The, IETF <ietf@ietf.org>,
 "iesg@ietf.org" <iesg@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>
Subject: Re: [secdir] secdir review of draft-ietf-simple-msrp-sessmatch
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/secdir>,
 <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/secdir>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>,
 <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jun 2010 15:41:52 -0000

Hi Ted,

>I join Richard in believing that this document makes changes=20
>beyond that which could be understood as "updating" the MSRP=20
>URI scheme processing.
>=20
>To highlight one particular aspect, RFC 4975 does not require=20
>session-ids to be present, a fact noted both in the ABNF and=20
>in this text:
>=20
>4. The session-id part is compared as case sensitive.  A URI without
>   a session-id part is never equivalent to one that includes one.
>=20
>A matching scheme which relies on a URI section which is not=20
>guaranteed to be present has some interesting problems ahead=20
>of it. If this effectively makes their use mandatory, that=20
>requires a change to the fundamental ABNF and text.

An MSRP URI in an SDP offer or answer for an MSRP session MUST include a se=
ssion-id part, so I believe the comment is based on incorrect assumptions.

Section 6 of RFC 4975 says:

   "The session-id part identifies a particular session of the participant.=
 The absence of the session-id
   part indicates a reference to an MSRP host device, but does not refer to=
 a particular session at that device."


>I also note that the security considerations, in addition to=20
>having some fairly disingenuous language about the impact of=20
>this change, seems to fail to mention MSRPS URIs and what, if=20
>any, impact this would have on them.

There are no impacts to MSRPS URIs. I assumed it would be implicitly unders=
tood since MSRPS URIs are not mentioned in the draft.

However, we could explicitly make it clear by modifying the first sentences=
 of section 5:
=09
      "The change of session matching procedure does not impact the format =
of MSRP URIs,=20
	disregarding if the "msrp" scheme or the "msrps" scheme is used.
	However, MSRP endpoints can only check that the session-id part of the MSR=
P URI..."


Regards,

Christer



> On Mon, Jun 14, 2010 at 10:21 AM, Richard L. Barnes=20
> <rbarnes@bbn.com> wrote:
> > I have reviewed this document as part of the security directorate's=20
> > ongoing effort to review all IETF documents being processed by the=20
> > IESG. =A0These comments were written primarily for the benefit of the=20
> > security area directors. =A0Document editors and WG chairs=20
> should treat=20
> > these comments just like any other last call comments.
> >
> > This document changes the URI matching algorithm used in=20
> MSRP. =A0MSRP=20
> > sessions are typically initiated using SDP bodies in SIP. =A0
> These SDP=20
> > bodies contain MSRP URIs that the peers use to contact each other. =A0
> > When one peer receives a request to initiate a session, he verifies=20
> > that the URI being requested is one that he initiated in=20
> SDP, thereby=20
> > using the URI as a shared secret to authenticate that the=20
> originator=20
> > of the session actually received the SDP body in question.
> >
> > According to the current SDP specification, this comparison is=20
> > performed over the whole URI; this document restricts the=20
> comparison=20
> > to the "session-id" component, omitting the host, port, and=20
> transport components.
> > =A0The goal of the document is to facilitate a certain class of=20
> > man-in-the-middle attack, namely to allow a signaling=20
> intermediary to=20
> > insert a media intermediary. =A0The restriction on the URI=20
> comparison is=20
> > needed in order for the media intermediary not to have to=20
> modify URIs=20
> > in MSRP packets to reflect the modifications to URIs in SDP bodies=20
> > performed to redirect traffic through the media intermediary.
> >
> > I have a few significant reservations about this document:
> >
> > This extension makes it more difficult for MSRP entities to secure=20
> > their communications against attackers in the signaling path. =A0The=20
> > current model provides a basic integrity protection, in=20
> that signaling=20
> > intermediaries cannot redirect traffic to an arbitrary third party;=20
> > they must at least advise the third party about how to modify MSRP=20
> > packets. =A0The proposed modification would remove even this cost. =A0
> > Moreover, it raises the cost of providing integrity protection to=20
> > messages, since Alice must now employ both integrity and=20
> > confidentiality protections on an end-to-end basis; if her messages=20
> > are only integrity-protected, then a proxy can remove the=20
> integrity protection and redirect traffic without it being=20
> observable to Alice.
> >
> > The document needs to clarify what the impacts are for=20
> authentication=20
> > in secure modes of MSRP. =A0In particular:
> > -- The distinction between "self-signed" and "public"=20
> certificates is=20
> > inappropriate. =A0The proper distinction is between the name-based=20
> > authentication in Section 14.2 of RFC 4975 and the=20
> fingerprint-based=20
> > authentication in Section 14.4. -- In either case, changing=20
> the host=20
> > name need not result in an authentication failure, since the media=20
> > intermediary can simply authenticate as itself to both endpoints,=20
> > having changed the respective MSRP URIs appropriately.
> > -- There is currently no requirement that a endpoint=20
> identity in the=20
> > To-Path URI matches the endpoint identity authenticated at the TLS=20
> > layer, because these two are required to be the same. =A0This=20
> document=20
> > changes that assumption, and should note that these two=20
> identities can differ.
> > The document also precludes any name-based multiplexing, where a=20
> > single MSRP process (single IP address and port) directs=20
> requests to=20
> > different virtual recipients based on the domain name in=20
> the To-Path=20
> > header. =A0(In analogy to Host-based multiplexing in HTTP,=20
> which is very=20
> > widely deployed.) =A0Since with this extension, the domain in the=20
> > To-Path is completely unpredictable from the recipient's=20
> perspective, it is useless to the recipient.
> >
> > The document has no backward-compatibility. =A0MSRP=20
> implementations that=20
> > do not support this extension will not be able to receive MSRP=20
> > sessions from implementations that do. =A0 In that regard, =A0this=20
> > document seems more like an new version of MSRP rather than=20
> an update.
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Ietf mailing list
> > Ietf@ietf.org
> > https://www.ietf.org/mailman/listinfo/ietf
> >
> =
