Re: [secdir] [Jmap] Secdir last call review of draft-ietf-jmap-core-12

Jeffrey Hutzelman <jhutz@cmu.edu> Fri, 04 January 2019 23:10 UTC

Return-Path: <jhutz@cmu.edu>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE6B2130F17; Fri, 4 Jan 2019 15:10:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 90tITB1vv8VN; Fri, 4 Jan 2019 15:10:13 -0800 (PST)
Received: from relay-exchange.andrew.cmu.edu (RELAY-EXCH-06.ANDREW.CMU.EDU [128.2.157.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E165F130F2A; Fri, 4 Jan 2019 15:10:12 -0800 (PST)
Received: from dcns-msgp-05.andrew.ad.cmu.edu (DCNS-MSGP-05.ANDREW.AD.CMU.EDU [128.2.157.89]) by relay-exchange.andrew.cmu.edu (8.15.2/8.15.2) with ESMTPS id x04NABM7100878 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 4 Jan 2019 18:10:11 -0500
Received: from dcns-msgp-03.andrew.ad.cmu.edu (128.2.157.87) by dcns-msgp-05.andrew.ad.cmu.edu (128.2.157.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Fri, 4 Jan 2019 18:10:10 -0500
Received: from dcns-msgp-03.andrew.ad.cmu.edu ([128.2.157.87]) by dcns-msgp-03.andrew.ad.cmu.edu ([128.2.157.87]) with mapi id 15.01.1591.008; Fri, 4 Jan 2019 18:10:10 -0500
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Ned Freed <ned.freed@mrochek.com>, "Kurt Andersen (IETF)" <kurta+ietf@drkurt.com>
CC: IETF JMAP Mailing List <jmap@ietf.org>, "draft-ietf-jmap-core.all@ietf.org" <draft-ietf-jmap-core.all@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>
Thread-Topic: [secdir] [Jmap] Secdir last call review of draft-ietf-jmap-core-12
Thread-Index: AQHUpHpfuK2jQo3itUebxw51h9uhn6Wftx/H
Date: Fri, 04 Jan 2019 23:10:10 +0000
Message-ID: <a7fdf568d65e4d5aa60201dcfc5c45e0@cmu.edu>
References: <154651703823.29557.748556981627156046@ietfa.amsl.com> <CABuGu1oM4qBcMNxh=rnWCSD-tVJYcNmDaL+orwBqq=OAvKWOZg@mail.gmail.com>, <01R1M7QIBP9I00004R@mauve.mrochek.com>
In-Reply-To: <01R1M7QIBP9I00004R@mauve.mrochek.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [128.2.42.4]
Content-Type: multipart/alternative; boundary="_000_a7fdf568d65e4d5aa60201dcfc5c45e0cmuedu_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.78 on 128.2.157.23
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/tQGtWT1xyLR0zcRpD7YHdaA2upw>
Subject: Re: [secdir] [Jmap] Secdir last call review of draft-ietf-jmap-core-12
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Fri, 04 Jan 2019 23:10:16 -0000

From: secdir <secdir-bounces@ietf.org> on behalf of Ned Freed <ned.freed@mrochek.com>
Sent: Friday, January 4, 2019 4:45 PM
To: Kurt Andersen (IETF)
Cc: IETF JMAP Mailing List; draft-ietf-jmap-core.all@ietf.org; secdir@ietf.org
Subject: Re: [secdir] [Jmap] Secdir last call review of draft-ietf-jmap-core-12

> On Thu, Jan 3, 2019 at 4:04 AM Tero Kivinen <kivinen@iki.fi> wrote:

> > Reviewer: Tero Kivinen
> > Review result: Has Issues
> >
> > This document also has quite a lot of privacy concerns which are not
> > addressed by it. For example email delivery and event notifications can
> > leak lots of information even to passive attackers.
> >

> How is this any different than the risks present in current mechanisms
> (websockets, HTTP, MAPI, IMAP, etc.)? I don't see this as a new risk being
> introduced by the JMAP protocol.

AFAICT it's different in the sense that this is the first push email
notification mechanism we have standardized. Push notifications also
aren't mentioned in RFC 5598.

So we get stuck with documenting the security concerns.

It may be the first such mechanism we've standardized, but it's certainly not the first time we've contemplated push notification of email delivery. Consider RFC5435 (the Sieve notify extension), published just about 10 years ago this month. Among other things, it contains extensive discussion of security considerations surrounding push notification.



> > Of course sharing mailboxes between multiple users (one of the
> > examples given in 1.6.2), has lots of privacy issues.

> Again, this is not a new risk being introduced by JMAP. It seems unfair to
> saddle the JMAP protocol with the responsibility of documenting a
> comprehensive set of privacy and security risks for bad or risky behaviours
> that have been a wide part of common practice for decades.

I'll first note that although the JMAP specification refers to the IMAP ACL
security model extensively, RFC 4314 is not in the references list. That needs
to be fixed, and a note in the security considerations section saying that the
security considerations for IMAP ACLs apply to JMAP would also be good.

And if the security considerations in the IMAP ACL document are
deemed to be insufficient, further elaboration of some additional points may
also be in order.

As for fairness, the goal here is to produce quality standards. Sometimes
achieving that goal means you get stuck with stuff you'd rather not have
to do.

True, but shared mailboxes are hardly new. They've been around pretty much since the beginning of time. Giving advice to operators about security and privacy issues surrounding shared mailboxes or any of a number of common user practices seems, to me, to be far out of scope for an access protocol specification.

That's not to say that JMAP doesn't need to document security issues; of course it does. If those are substantially similar to, say, IMAP, then the documentation is going to be, too. And if there are issues that were missed in the past or have only recently become topics of discussion, that doesn't mean they can just be ignored. But I do think it's important to keep the scope manageable.

-- Jeff