Re: [secdir] Secdir review of draft-murchison-nntp-compress-05

Julien ÉLIE <julien@trigofacile.com> Mon, 24 October 2016 20:28 UTC

Return-Path: <julien@trigofacile.com>
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 49BD712999B for <secdir@ietfa.amsl.com>; Mon, 24 Oct 2016 13:28:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.401
X-Spam-Level:
X-Spam-Status: No, score=-1.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5] autolearn=no 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 7a_pzuF37Zsl for <secdir@ietfa.amsl.com>; Mon, 24 Oct 2016 13:28:19 -0700 (PDT)
Received: from smtp.smtpout.orange.fr (smtp04.smtpout.orange.fr [80.12.242.126]) by ietfa.amsl.com (Postfix) with ESMTP id B01E0129861 for <secdir@ietf.org>; Mon, 24 Oct 2016 13:28:18 -0700 (PDT)
Received: from macbook-pro-de-julien-elie.home ([92.170.5.52]) by mwinf5d08 with ME id zYLm1t00C17Lgi403YLmzs; Mon, 24 Oct 2016 22:20:48 +0200
X-ME-Helo: macbook-pro-de-julien-elie.home
X-ME-Auth: anVsaWVuLmVsaWU0ODdAd2FuYWRvby5mcg==
X-ME-Date: Mon, 24 Oct 2016 22:20:48 +0200
X-ME-IP: 92.170.5.52
To: Barry Leiba <barryleiba@computer.org>, draft-murchison-nntp-compress.all@ietf.org, Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <CALaySJ+mJdorTkygsZ==Bja+0ZmavTkq2kC33QJ67LeM34K=Ng@mail.gmail.com> <20981db3190142193043f1445abadaa3@trigofacile.com> <CALaySJKP3AEgb7=rRz=T0R4vKWOHE6AAHeg-k-h28KrtjXP64A@mail.gmail.com> <b8ea79e3-c4b6-3210-9462-cfd562545c88@trigofacile.com>
From: Julien ÉLIE <julien@trigofacile.com>
Organization: TrigoFACILE -- http://www.trigofacile.com/
Message-ID: <10b4998e-67ae-abdf-c1f0-321c28bcb4fe@trigofacile.com>
Date: Mon, 24 Oct 2016 22:20:46 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <b8ea79e3-c4b6-3210-9462-cfd562545c88@trigofacile.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/NLJdqFZQtLEUhFbYDqx-tU8JJv4>
Cc: IESG <iesg@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>
Subject: Re: [secdir] Secdir review of draft-murchison-nntp-compress-05
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 24 Oct 2016 20:28:20 -0000

Hi Barry,

Thanks again for your valuable comments on the document.  They were very
much appreciated, and permitted to fix a few issues.

I've just finalized a revised draft, taking into account all the comments
received during Last Call.
I just want to highlight the following change in wording.
Ken and Michael, as respectively co-author and document shepherd, please
tell if you think the new wording is not the right thing to do.

Personally, I think this document (draft-murchison-nntp-compress) should
only focus on standardizing the COMPRESS command and not try to fix
how authentication works in another kind of compression (TLS-level
compression).  It would otherwise be an update to RFC 4643.

Updating TLS usage with NNTP is the aim of a second, separate document
(draft-elie-nntp-tls-recommendations) that updates RFC 4643 with
best current practices.  That one discourages the use of TLS-level
compression, thus dealing with authentication layered with a TLS-level
compression method.


>>   In order to help mitigate leaking authentication credentials via for
>>   instance a CRIME attack [CRIME], authentication SHOULD NOT be
>>   attempted when a compression layer is active.  Consequently, a server
>>   SHOULD NOT return any arguments with the AUTHINFO capability label
>>   (or SHOULD NOT advertise it at all) in response to a CAPABILITIES
>>   command received from an unauthenticated client after a compression
>>   layer is active, and such a client SHOULD NOT attempt to utilize any
>>   AUTHINFO [RFC4643] commands.  It implies that a server SHOULD reply
>>   with a 502 response code if a syntactically valid AUTHINFO command is
>>   received while a compression layer is already active.
>>
>> Why are these SHOULD, and not MUST?  Under what conditions would it be
>> necessary or reasonable for an implementation not to abide by these,
>> and what considerations need to be considered when making that
>> determination?  (And this is also directly referred to in Section 6.)
[...]
> OK.  I've adopted your suggestion.
[...]
> Hmm...  I think I should now do a pass on the document and explicitly
> say when "compression layer" only means the one negotiated with COMPRESS.
> As a matter of fact, I do not think it's a good idea to say in this
> draft that authentication MUST NOT be attempted when TLS-level
> compression is active!  It would otherwise be a change in how
> authentication works (RFC 4643 heavily mentions the preferred use of
> AUTHINFO along with TLS, and RFC 4642 allows TLS-level compression).
> This document would otherwise be an update to RFC 4643, by no longer
> allowing AUTHINFO when TLS-level compression is active.

Pass done.  I updated the wording in a few parts of the document.
The above quoted paragraph becomes:

   In order to help mitigate leaking authentication credentials via for
   instance a CRIME attack [CRIME], authentication MUST NOT be attempted
   after a successful use of the COMPRESS command.  Consequently, a
   server MUST either list the AUTHINFO capability with no arguments or
   not advertise it at all, in response to a CAPABILITIES command
   received from an unauthenticated client after a successful use of the
   COMPRESS command, and such a client MUST NOT attempt to utilize any
   AUTHINFO [RFC4643] commands.  It implies that a server MUST reply
   with a 502 response code if a syntactically valid AUTHINFO command is
   received after a successful use of the COMPRESS command.  (Note that
   this specification does not change the behaviour of AUTHINFO as
   described in [RFC4643] independently of TLS-level compression.
   Authentication is therefore still allowed, even though TLS-level
   compression is active.)


I hope you're all fine with that.
Have a nice day,

-- 
Julien ÉLIE

« Aut bibas aut abeas. »