Re: [apps-discuss] apps-review team review for draft-melnikov-sieve-external-lists

Barry Leiba <barryleiba@computer.org> Fri, 06 May 2011 15:03 UTC

Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1EF2E071D; Fri, 6 May 2011 08:03:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.212
X-Spam-Level:
X-Spam-Status: No, score=-103.212 tagged_above=-999 required=5 tests=[AWL=-0.235, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 S5W-XXuJW7nX; Fri, 6 May 2011 08:03:18 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by ietfa.amsl.com (Postfix) with ESMTP id AC77FE06EA; Fri, 6 May 2011 08:03:17 -0700 (PDT)
Received: by yxk30 with SMTP id 30so1465166yxk.31 for <multiple recipients>; Fri, 06 May 2011 08:03:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=se6poWpwEQasIHLT8jnICIfJnk9xVIu8Fn9MVX0s1Ks=; b=LnX1gCEZoB6vhxB18bxddF56+IU8nSxSNfuUmxlzhq14Sf40W0ihCQLAfIeUmS4sh2 DqM5PJ8w/utCDMur9Rx3k2Im2k3uKEklJW+pOpOrDxbtnyp6EBAOXi5G3APRAWmyLnb3 z89T6nfRVJe0e6xk6KM0LJ6DtLqH5rLrbS0kg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=hLTSIbJZCjgbn3roJE9mlohMVOmjbqPCnV9tWiJpckvNZlLC7zx15FXtU1C4cLTiJO JT3PPbVqmLTThrj4+wNq3nTXHuUhECr/yrXOoC0SyYFEzTpjqCl5L2//gebxZBRZ7LMk CCm5xo5QLcJH/nl9UN1eNBm+ERxrqt+mroAHY=
MIME-Version: 1.0
Received: by 10.146.242.14 with SMTP id p14mr3293125yah.25.1304694196627; Fri, 06 May 2011 08:03:16 -0700 (PDT)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.147.137.13 with HTTP; Fri, 6 May 2011 08:03:16 -0700 (PDT)
In-Reply-To: <F5833273385BB34F99288B3648C4F06F134331A1F6@EXCH-C2.corp.cloudmark.com>
References: <F5833273385BB34F99288B3648C4F06F134331A1F6@EXCH-C2.corp.cloudmark.com>
Date: Fri, 06 May 2011 11:03:16 -0400
X-Google-Sender-Auth: rR1ZIED1u9HzH-2cgyk0M6Es8tA
Message-ID: <BANLkTikBCUTDU9rJ1_EthgcJgiB3PwKwyg@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: "Murray S. Kucherawy" <msk@cloudmark.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "iesg@ietf.org" <iesg@ietf.org>, "apps-discuss@ietf.org" <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] apps-review team review for draft-melnikov-sieve-external-lists
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 May 2011 15:03:18 -0000

Thanks for the review, Murray.

First, just making sure you reviewed the right document:
> Document: draft-melnikov-sieve-external-lists
It hasn't been that for a long time, and the correct current version
is draft-ietf-sieve-external-lists-07 :
http://tools.ietf.org/html/draft-ietf-sieve-external-lists

> Major Issues:
> 1. Altering list behaviour based on data available external to the Sieve processing
> code means alteration of such data presents a vector for attack.  The Security
> Considerations section should mention this.  It does mention some related issues
> (e.g., authentication) but not the one I have in mind, namely that the outcome of
> the Sieve script becomes dependent on external data not necessarily under direct
> control of the user.

Hm.  I'd have thought that to be sufficiently obvious as not to
require mention -- we *are* going out to an *external* list, after
all.  But I'm happy to put something in for that, sure.  How about
inserting the following paragraph after the one about "confidentiality
and authentication"?:
-------------
Having the processing and outcome of a Sieve script depend on the contents
of external data can allow someone with control of the external data to have
unusual, and perhaps unauthorized, control of the script -- and, consequently,
of the disposition of the user's email.  A user using such a list for
spam control,
for example, might find important mail being discarded because of tampering
with the list.  Someone using redirect to an external list could have her email
redirected to the wrong eyes because of such tampering.  Security and integrity
protection of external lists is as important as protection of the Sieve script
itself.
-------------

> 1. Since the document references the possibility of storing lists in external
> relational databases, I was surprised not to see a specific reference to how
> one might be used.  Is it the case that no URI schema exists yet for referring
> to, say, an SQL query?  If such does exist, an example of this would be good
> to include, but certainly not required (especially if such a schema has yet to
> be registered).

As I've said on the mailing lists about examples: I'm a fan of having
many examples, and I'll be happy to add more if someone would provide
me with specific text.  I'm loath to try to concoct more off the top
of my head at this point, and will rely on dependable submissions.

> Nits:
> 1. ":list" is sometimes quoted in the document and sometimes not.
> It should be consistent throughout.

It should; I've changed that in my working version.

Barry