Re: [Gen-art] Gen-ART LC Review of draft-ietf-dhc-forcerenew-nonce-03

Maglione Roberta <roberta.maglione@telecomitalia.it> Fri, 10 February 2012 13:52 UTC

Return-Path: <roberta.maglione@telecomitalia.it>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8224F21F84B3; Fri, 10 Feb 2012 05:52:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.57
X-Spam-Level:
X-Spam-Status: No, score=0.57 tagged_above=-999 required=5 tests=[AWL=1.289, BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cfa7siBcV3AJ; Fri, 10 Feb 2012 05:52:51 -0800 (PST)
Received: from GRFEDG701BA020.telecomitalia.it (grfedg701ba020.telecomitalia.it [156.54.233.200]) by ietfa.amsl.com (Postfix) with ESMTP id BE57B21F8527; Fri, 10 Feb 2012 05:52:50 -0800 (PST)
Received: from grfhub704ba020.griffon.local (10.188.101.117) by GRFEDG701BA020.telecomitalia.it (10.188.45.100) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 10 Feb 2012 14:52:49 +0100
Received: from GRFMBX704BA020.griffon.local ([10.188.101.15]) by grfhub704ba020.griffon.local ([10.188.101.117]) with mapi; Fri, 10 Feb 2012 14:52:49 +0100
From: Maglione Roberta <roberta.maglione@telecomitalia.it>
To: 'Ben Campbell' <ben@nostrum.com>, "draft-ietf-dhc-forcerenew-nonce.all@tools.ietf.org" <draft-ietf-dhc-forcerenew-nonce.all@tools.ietf.org>
Date: Fri, 10 Feb 2012 14:52:48 +0100
Thread-Topic: Gen-ART LC Review of draft-ietf-dhc-forcerenew-nonce-03
Thread-Index: AczlJZFTFF9sbXZqSKGvHQvAXvqfzQC0stGQ
Message-ID: <282BBE8A501E1F4DA9C775F964BB21FE3EC1467FB2@GRFMBX704BA020.griffon.local>
References: <A57C4722-5E13-451E-ACB4-CAA8064FA68B@nostrum.com>
In-Reply-To: <A57C4722-5E13-451E-ACB4-CAA8064FA68B@nostrum.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-Mailman-Approved-At: Fri, 10 Feb 2012 06:26:39 -0800
Cc: "gen-art@ietf.org Review Team" <gen-art@ietf.org>, Ullio Mario <mario.ullio@telecomitalia.it>, The IETF <ietf@ietf.org>, "'Henderickx, Wim \(Wim\)'" <wim.henderickx@alcatel-lucent.com>
Subject: Re: [Gen-art] Gen-ART LC Review of draft-ietf-dhc-forcerenew-nonce-03
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/gen-art>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Feb 2012 13:52:53 -0000

Hello Ben,
   Thanks for reviewing this document.
Please see answers inline [RM]

Best regards,
Roberta

-----Original Message-----
From: Ben Campbell [mailto:ben@nostrum.com]
Sent: martedì 7 febbraio 2012 0.17
To: draft-ietf-dhc-forcerenew-nonce.all@tools.ietf.org
Cc: gen-art@ietf.org Review Team; The IETF
Subject: Gen-ART LC Review of draft-ietf-dhc-forcerenew-nonce-03

I am the assigned Gen-ART reviewer for this draft. For background on Gen-ART, please see the FAQ at <http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.

Please resolve these comments along with any other Last Call comments you may receive.

Document: draft-ietf-dhc-forcerenew-nonce-03
Reviewer: Ben Campbell
Review Date: 2012-02-06
IETF LC End Date: 2012-02-06

Summary:This draft is not quite ready for publication as a proposed standard. There are some potentially significant issues that should be addressed first.

[Note: Hopefully this draft has had or will have a SecDir review, since it seems ripe for significant security implications.]


*** Major issues:

-- I admit to not being a DHCP expert, but If I understand this draft correctly, it proposes to send what is effectively a secret-key in a DHCPACK request, then use that key to authenticate a force renew message. It seems like any eavesdropper could sniff that key, and use it to spoof force renew requests. The introduction mentions that there may be some environments where the use of RFC3118 authentication could be relaxed, and offers an example of such an environment. But nowhere does this draft appear to be limited in scope to such environments.

[RM] The intention is to use this method only for environments with native security mechanisms, such as the Broadband Access network. You are right it is not clearly said in the document I can add the following sentence at the end of the introduction in order to clarify this point:

"This   mechanism is intended to be use in networks that already have native security mechanisms that provide sufficient protection against
spoofing of DHCP traffic."


I think some additional text in (perhaps in the security considerations) is needed to explain either why the vulnerability to eavesdroppers is either okay in general, or limits the mechanism's use to environment where it is okay. It also seems like that, in the best case, this mechanism proves only that a Forcerenew request comes from the same DHCP server as in the original transaction, but otherwise does not prove anything about the identity of that server. If so, it would be worth mentioning it.

[RM] That's correct this mechanism only proves only that a Forcerenew request comes from the same DHCP server: let me say this is a trade off between the total security provided by RFC 3118 and no security at all. In addition this method relays on the same mechanism already used for DHCPv6 Reconfigure message

-- The mechanism appears to be limited to HMAC-MD5, and there does not appear to be any way of selecting other algorithms. Is HMAC-MD5 really sufficient as the only choice? Is there some expectation that stronger mechanisms or algorithm extensibility would be too expensive? (Perhaps the extensibility method would be to specify another mechanism that's identical except for a different HMAC algorithm. But if that's the intent it should be mentioned.)
[RM] This is because this mechanism relays on the authentication protocol defined in section 21.5 of RFC 3315 for DHCPv6 Reconfigure and there HMAC-MD5 is used.

*** Minor issues:

-- Section 1 "
In such environments the mandatory coupling between FORCERENEW and DHCP Authentication [RFC3118] can be relaxed."

It's not clear to me what connection that assertion has with this draft. Is there an intent that the proposed mechanisms be used only in such environments? I don't find any language scoping this proposal to any particular environment.

[RM] The intention is to use this method only in environments with native security mechanisms, I'll try to clarify this point

-- section 3:

Does this draft update either 3203 or 3118? If so, please state that explicitly in the abstract, introduction, and draft headers. (I think it must at least update 3203, since that draft requires the use of 3118, and this draft relaxes that.)
[RM] Yes that's correct, it updates 3203, I'll add it in the document.

-- section 3.1, last paragraph: "...only if the client and server are not using any other authentication..."

That seems to conflict with the statement in section 3 that this mechanism is only used if RFC3118 is not used. That is, it's not a choice between this mechanism or any other mechanism, it's a choice between this mechanism or 3118.
[RM] I'll clarify the sentence

-- section 3.1.3, 2nd paragraph: "The server SHOULD NOT include this option unless the client has indicated its capability in a DHCP Discovery message."

Why not; what harm would it do? And on the other hand, if you want to discourage it, why not go all the way to "MUST NOT"?

[RM] For backward compatibility: if the client did not indicate its capability for this feature it means it is a legacy client and it does not support it, so the server should not send the nonce to this client

-- section 3.1.3, 5th paragraph: "...  computes an HMAC-MD5 of the Forcerenew message using the Forcerenew nonce ."

Using it how? Is it the secret key for the HMAC calculation? (If so, why aren't we calling it a "key" in the first place?)
[RM] based on the procedure specified in section 21.5 of RFC 3315

-- section 3.1.4, 1st paragraph: "DHCP servers that support Forcerenew nonce Protocol authentication MUST include the DHCP Forcerenew Nonce protocol authentication option."

Only if the client advertised it, right? Otherwise, this seems to conflict with the previous SHOULD NOT.
[RM] ok

-- section 3.1.4, 4th paragraph: ".
the client computes an HMAC-MD5 over the DHCP Forcerenew message, using the Forcerenew Nonce ."

Using it how?
[RM] based on the procedure specified in section 21.5 of RFC 3315

-- section 6:

You mention this mechanism is vulnerable to MiTM attacks. Why is this okay? Are there some environments where it is good enough and others where it is not? (Also, do they really need to be MitM attackers? Seems like any eavesdropper could learn the nonce.)

*** Nits/editorial comments:
[RM] I'll address the following comments too.

-- Abstract, second sentence:

I have trouble parsing this sentence. Are the propositions correct?

-- Section 3.1.1,4th paragraph: ". configured to require ."

Do you mean configured to "require", or configured to "use"? I would normally take "requires" to mean that the server would not work with clients that don't advertise support for the mechanism.

-- section 3.1.1, message flow diagram:

It would be helpful if you could avoid widowing the top of the diagram. One has to keep flipping back to see the labels.

-- section 3.1.3, 5th paragraph:

Please expand "RDM"

-- section 3.1.4, first paragraph: "The client MUST."

A client that supports this mechanism MUST.

-- section 3.1.4, 2nd and third paragraph, 1st sentence of each:

I'm confused by this sentence of each paragraph. Are they intended as conditionals for the rest of the respective paragraph?







Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.