Re: [nfsv4] Eric Rescorla's Discuss on draft-ietf-nfsv4-xattrs-05: (with DISCUSS)

Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> Thu, 25 May 2017 14:35 UTC

Return-Path: <spencerdawkins.ietf@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 821AA129AB5; Thu, 25 May 2017 07:35:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham 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 Zgjvz_ZbXiFb; Thu, 25 May 2017 07:35:54 -0700 (PDT)
Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 49FC812441E; Thu, 25 May 2017 07:35:54 -0700 (PDT)
Received: by mail-yw0-x235.google.com with SMTP id l14so104209318ywk.1; Thu, 25 May 2017 07:35:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=adJDFkcaxGb0tFEcfroxlRixZu2kFi2iEUSzB0Hb0Os=; b=ZV+Map9MaZQXmmDpqZ/c/StnPu+EvQN2yAQwGTkpJWm5O0+gFJMWlwMVALhJqH4DIc d0B6xzAhasEcOUjb/DlcnR1agboK7zX/HdcgUWq/tTnel5x2nn5H9iNLWEORsjaEncfF GjY2tvmD8Clo4g/PrNYToxo2k9+Ih379UFCp08jSWkXiqS2yCMZ145aQy5QqJTPuzqyA vPVjBPshGWk791cq+XUWrL9N1v1UNEI/NostfUoDabDxQ3hMIlqAdMPHZI3tv5BLL9CV uENkLoTCIONGoWqvgtl8PArtEqFr88IsnKAUPzOwnSFQDNiIfJzLTI5G1Vr6Xsy+rd4l rejw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=adJDFkcaxGb0tFEcfroxlRixZu2kFi2iEUSzB0Hb0Os=; b=iCwQMOMDR9mtHUagfXAcRk3IlIk7GJTcGbFsoymV3HSYEMHaLGHvjHw7U5l+dic4Rf V800LpbbOyM0PWhTclzwlqngg2sG3LaHuhx+YKs+cqutwrFEwxgg1ilyNNDx/ZDsvJQC o+JfIzpvCnDK2nI3X1eKQ8Ag5GMKtfWOVzYWBE1NkuZh3BhPTKRCFJyYY9hE53U41f5d WOnu0EV4AwDgby/wg7HIVJZ0wfVARUi/uH11fk7N9HPuhsDMRJGdofgUwP2y+dZAfEOU lliolmKYWrpTec9B8DmQQFP7sa9XrF8xjWimT7U249POj2TtMUqD1DurWK/f4EZ8DPVS xLLw==
X-Gm-Message-State: AODbwcBEP0Ab79bdnTCpLeJ0Jmy/Suz08LSqN4KHEwgHNBoO301p39tN GW1O+y0HuWGY5c0S3L/fax2TzSQ9ZA==
X-Received: by 10.129.69.12 with SMTP id s12mr34339368ywa.37.1495722953511; Thu, 25 May 2017 07:35:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.195.195 with HTTP; Thu, 25 May 2017 07:35:53 -0700 (PDT)
In-Reply-To: <CAKKJt-dcjiMFk0NyD-UrBQrtKAZgWaVzcxY67YSDOu0ZVNw9Ng@mail.gmail.com>
References: <149559305147.28562.14990485255783585477.idtracker@ietfa.amsl.com> <CAKKJt-cHEoBeP++YP-=FWmVTWkoLWLa5OZ=sDYT7kEBrDvvOiw@mail.gmail.com> <CABcZeBPc9U1D+sSOnz2_3MwVn527ruuqqWoCsZYafx_rLwpyAQ@mail.gmail.com> <CAKKJt-dcjiMFk0NyD-UrBQrtKAZgWaVzcxY67YSDOu0ZVNw9Ng@mail.gmail.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Thu, 25 May 2017 10:35:53 -0400
Message-ID: <CAKKJt-ceK3r8=HXArenmNXpt8bk2MuKbkPL-qoNPZMrHHETfJg@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: The IESG <iesg@ietf.org>, nfsv4-chairs@ietf.org, Spencer Shepler <spencer.shepler@gmail.com>, NFSv4 <nfsv4@ietf.org>, draft-ietf-nfsv4-xattrs@ietf.org
Content-Type: multipart/alternative; boundary="f403045f3f2853b45405505a23fc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/yv9BiNYL-FGTSpcPPyrPfYqnZ3Y>
Subject: Re: [nfsv4] Eric Rescorla's Discuss on draft-ietf-nfsv4-xattrs-05: (with DISCUSS)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 May 2017 14:35:56 -0000

Dear -xattrs- folk,

We did chat about this Discuss on the call, and Eric said (in the jabber
room) that if the issue he raised is accurate, at a minimum, the document
needs to provide a warning about the exposure, in order to clear the
Discuss.

Actual technical solutions that mitigate the exposure are, of course,
appreciated, if it's possible to provide a solution.

Thanks,

Spencer (D).



On Thu, May 25, 2017 at 10:08 AM, Spencer Dawkins at IETF <
spencerdawkins.ietf@gmail.com> wrote:

> Hi, Eric,
>
> On Thu, May 25, 2017 at 9:49 AM, Eric Rescorla <ekr@rtfm.com> wrote:
>
>>
>>
>> On Thu, May 25, 2017 at 9:19 PM, Spencer Dawkins at IETF <
>> spencerdawkins.ietf@gmail.com> wrote:
>>
>>> Hi, Eric,
>>>
>>> On Tue, May 23, 2017 at 9:30 PM, Eric Rescorla <ekr@rtfm.com> wrote:
>>>
>>>> Eric Rescorla has entered the following ballot position for
>>>> draft-ietf-nfsv4-xattrs-05: Discuss
>>>>
>>>> When responding, please keep the subject line intact and reply to all
>>>> email addresses included in the To and CC lines. (Feel free to cut this
>>>> introductory paragraph, however.)
>>>>
>>>>
>>>> Please refer to https://www.ietf.org/iesg/stat
>>>> ement/discuss-criteria.html
>>>> for more information about IESG DISCUSS and COMMENT positions.
>>>>
>>>>
>>>> The document, along with other ballot positions, can be found here:
>>>> https://datatracker.ietf.org/doc/draft-ietf-nfsv4-xattrs/
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>> DISCUSS:
>>>> ----------------------------------------------------------------------
>>>>
>>>>       Since xattrs are application data, security issues are exactly
>>>> the
>>>>       same as those relating to the storing of file data and named
>>>>       attributes.  These are all various sorts of application data and
>>>>       the fact that the means of reference is slightly different in
>>>> each
>>>>       case should not be considered security-relevant.  As such, the
>>>>       additions to the NFS protocol for supporting extended attributes
>>>>       do not alter the security considerations of the NFSv4.2 protocol
>>>>       [RFC7862].
>>>>
>>>> This seems inadequate. The issue is that if machine A writes some
>>>> extended attribute which is security relevant (i.e., this file is
>>>> only readable under certain conditions) and then machine B doesn't
>>>> know about the attribute, then you have a security problem on B
>>>> because it will not enforce it. It seems like FreeBSD uses extended
>>>> attributes for this purpose, so this isn't just theoretical.
>>>
>>>
>>> I haven't seen a response from the authors on this Discuss, so, at the
>>> risk of talking out of my hat, I THINK the answer is going to be that
>>>
>>>    - either machine B keeps enforcing the incredibly lame access rights
>>>    it's already enforcing (all users are part of the "nfs" group, so share the
>>>    same access rights anyway, or whatever), or
>>>    - machine B isn't enforcing anything now, so wouldn't be enforcing
>>>    anything anyway.
>>>
>>>
>> I think that's right.
>>
>>
>>>
>>>    -
>>>
>>> So, at a minimum, this extension would Do No Harm during periods of
>>> partial deployment.
>>>
>>
>> This, I don't agree with, because once this capability exists, people
>> come to rely on it.
>>
>
> The nice people in NFSv4 understand expectations about NFS much better
> than I do, so I'll let them take it from here.
>
> The NFSv4 working group has been talking about my question to them about
> the best way to signal that an extension is supported, and I didn't see
> that they've converged (or at least, they haven't said they've converged).
> I suspect that this Discuss position will be useful input to that
> discussion, although it's not talking about exactly the same issues.
>
> Spencer
>