Re: [secdir] Secdir review of draft-mattsson-mikey-ticket-02

John Mattsson <john.mattsson@ericsson.com> Tue, 30 March 2010 09:20 UTC

Return-Path: <john.mattsson@ericsson.com>
X-Original-To: secdir@core3.amsl.com
Delivered-To: secdir@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F229E3A67AE; Tue, 30 Mar 2010 02:20:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.169
X-Spam-Level:
X-Spam-Status: No, score=-2.169 tagged_above=-999 required=5 tests=[AWL=-0.700, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E+c+p-JNtwtL; Tue, 30 Mar 2010 02:20:16 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id 29B2D3A67A1; Tue, 30 Mar 2010 02:20:15 -0700 (PDT)
X-AuditID: c1b4fb39-b7b85ae000005cbc-74-4bb1c26b0f60
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Brightmail Gateway) with SMTP id 93.86.23740.B62C1BB4; Tue, 30 Mar 2010 11:20:44 +0200 (CEST)
Received: from ESESSCMS0357.eemea.ericsson.se ([169.254.2.37]) by esessmw0247.eemea.ericsson.se ([10.2.3.116]) with mapi; Tue, 30 Mar 2010 11:20:44 +0200
From: John Mattsson <john.mattsson@ericsson.com>
To: Tobias Gondrom <tobias.gondrom@gondrom.org>, "secdir@ietf.org" <secdir@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "draft-mattsson-mikey-ticket.all@tools.ietf.org" <draft-mattsson-mikey-ticket.all@tools.ietf.org>
Date: Tue, 30 Mar 2010 11:20:42 +0200
Thread-Topic: Secdir review of draft-mattsson-mikey-ticket-02
Thread-Index: AcrG5p+WPyg5tJasRNuKx6ZG17MdNQJAzZ+Q
Message-ID: <E9D84180B794E84CB4DCA3E0BDA5FEED06221E45B1@ESESSCMS0357.eemea.ericsson.se>
References: <4BA2A2F7.7020502@gondrom.org>
In-Reply-To: <4BA2A2F7.7020502@gondrom.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
X-Mailman-Approved-At: Tue, 30 Mar 2010 19:30:10 -0700
Cc: "tian.tian1@zte.com.cn" <tian.tian1@zte.com.cn>, "tim.polk@nist.gov" <tim.polk@nist.gov>, Rolf Blom J <rolf.j.blom@ericsson.com>
Subject: Re: [secdir] Secdir review of draft-mattsson-mikey-ticket-02
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 30 Mar 2010 09:20:18 -0000

Dear Tobias,

Many thanks for the review. I'll update the draft based on your comments.

Best Regards,
John


-----Original Message-----
From: Tobias Gondrom [mailto:tobias.gondrom@gondrom.org] 
Sent: den 18 mars 2010 23:03
To: secdir@ietf.org; iesg@ietf.org; draft-mattsson-mikey-ticket.all@tools.ietf.org
Cc: bew@cisco.com; vincent.roca@inrialpes.fr; tim.polk@nist.gov; John Mattsson; tian.tian1@zte.com.cn
Subject: Secdir review of draft-mattsson-mikey-ticket-02


> I have reviewed this document as part of the security directorate's
> ongoing effort to review all IETF documents being processed by the
> IESG.  These comments were written primarily for the benefit of the
> security area directors.  Document editors and WG chairs should treat
> these comments just like any other last call comments.
> 
> 0. From the security perspective, the considerations in this document
> appear to be overall sufficient.
> 
> 1. COMMENT: Intended Status
> I am not quite sure why this draft status is planned to be informational. It
> adds new protocol specification, which by my understanding should not be done
> in an informational draft. I can see why it was not aimed for standards track
> but the intended status "experimental" would seem more appropriate to me. 

I'm no expert at statuses but having it informal is in line with some other 3GPP related RFCs like EAP-SIM and EAP-AKA.

> 2. COMMENT: 
> Spelling: 
> s/5.4.  Error Handling If an error occurs, the message SHOULD be discarded and
> the the error SHOULD be reported with an error message./ 5.4.  Error Handling
> If an error occurs, the message SHOULD be discarded and the error SHOULD be
> reported with an error message.

Yes

> 3. COMMENT: section 10: 
> s/New Ticket Types SHOULD not change/New Ticket Types SHOULD NOT change
> (for rfc2119 consistent language use)

Yes

> 4. COMMENT: section 6.7.  Cert Hash Payload (CHASH) "Hash func (8 bits):
> besides the algorithms already defined in [RFC3830], this specification
> defines that the following hash function algorithm may be used.
>  SHA-256   | TBD20 |                256"
> Why do you add SHA-256 but no other hash algorithms (i.e. SHA-512/ripemd),
> how do you intend to provide for hash agility?

This seems more like a question for MIKEY in general than for the MIKEY-TICKET draft. 

> 5. COMMENT: section 8. Pre-Encrypted Content "The default setting is that the KMS
> supplies the session keys (encoded in the ticket). This is not possible if the content
> is pre-encrypted (e.g.  Video on Demand). In such use cases, the key exchange is
> typically reversed and MAY be carried out as follows. The Initiator sends a ticket
> without encoded session keys to the Responder in a TRANSFER_INIT message. The
> Responder includes the TEKs used to protect the requested content in the TRANSFER_RESP
> message, which is sent to the Initiator."
> 
> I wonder whether the pre-step of "initiator sends a ticket without encoded session key" 
> allows a potential DoS vulnerability with request flooding, when it may trigger calculations
> at the Responder or KMS. 
> Would it be necessary to mention this risk in the Security Section 12.2. as well?

I do not see how "ticket without encoded session key" makes any difference? I feel that this is already covered in Section 12.2: "Since the Responder in general cannot verify the validity of a TRANSFER_INIT message without first contacting the KMS, Denial of Service may be launched against the Responder and/or the KMS via the Responder." 

> 6. COMMENT: section 10. Signaling Between Different KMSs paragraph 1: "signaling
> between them SHALL be integrity protected."
> I understand and fully agree that you require integrity protection, but why do
> you not need confidentiality protected, too?

Yes, it should be fully protected. I'll update the draft.

> 7. COMMENT: section 12.4.  Forking
> "To prevent all forms of eavesdropping, only the endpoint that answers should
> get access to the session keys."
> From my perspective the use of RFC2119 "SHOULD" would be more appropriate here? 

Yes I agree.

> Best regards, Tobias
> 
> Ps.: I cc'ed the WGChairs of msec to this review as MIKEY got originated there.