[TLS] Re: draft-ietf-tls-dtls-rrc-14 ietf last call Artart review

Achim Kraus <achimkraus@gmx.net> Wed, 04 June 2025 15:48 UTC

Return-Path: <achimkraus@gmx.net>
X-Original-To: tls@mail2.ietf.org
Delivered-To: tls@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id AFDE030D3283; Wed, 4 Jun 2025 08:48:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.795
X-Spam-Level:
X-Spam-Status: No, score=-2.795 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.net
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ueD-i2N33EXp; Wed, 4 Jun 2025 08:48:27 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 5E28530D2F3B; Wed, 4 Jun 2025 08:48:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1749052088; x=1749656888; i=achimkraus@gmx.net; bh=2Fl3FsoeTgMR7S4jAshH7kUR1uOIyEbv9H32a5MzKms=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=ZpnfKYuq9uG5qi31AS1MUO4ee/q/Qs+dSZCpV8gynYUW2UMfOD4TmCgyAqMZHzq0 AYaVidHpuII3D5Jm9Id9yz26Kom4wA3b91BEI7jKs0Cj5D4xlmBTXv2IZvSOKUUst JthHxZP4WGwZF9whR+plghfax6vP2eEcGso0egWDnW7AtOW31zFJUXARoSeDQxZrm sICrNsa7jidAUrN8RS8YT9APRt94dpx1KR2YoheaxXsc0OYp8gXhTJWQjgudM3SSV VqcWJvlY2lZhtqSzxooRm10u6S4u7MJH4PmW3wHniHgjUhUpHdZ5kkZmTOmfLBiDt Rddg3wcnl9VOJprFwQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.178.10] ([5.146.193.180]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M3UZG-1uNOJO01jO-00BoFY; Wed, 04 Jun 2025 17:48:08 +0200
Message-ID: <8a472920-41ca-4a2a-bf91-605958943e9f@gmx.net>
Date: Wed, 04 Jun 2025 17:48:07 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Russ Housley <housley@vigilsec.com>
References: <174897048469.2743391.15651943535550388377@dt-datatracker-59b84fc74f-84jsl>
Content-Language: de-AT-frami
From: Achim Kraus <achimkraus@gmx.net>
In-Reply-To: <174897048469.2743391.15651943535550388377@dt-datatracker-59b84fc74f-84jsl>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:T2Qx5QWE6q8TQfWHjjZijEGtuYtXNv+tF1kgJL7nIBY2yK0vsRb PEoJOlVJ48vwt8JSgfAdSc8qn/jNah6WuFG2FoslPyTWT46oXTUR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uCZ+4Yq59EB38RQzulQK18RFdPiaxdS7bMHz60trf TKytHZGDnzCAPaJB2tM+eBDbbYzWIDOwJH5EL1Mvg/S7EE+Udk3GkQhFHpKyc6U6V9GcaRLlI F58kMP3H5onK72VhiAI9/jxluiDEzfQG1THXq1U5icKC+kGp6i5IWPtY79gseYnTEUst1R2hN +Qo+nDxaQHeSeuP2N586e+37FrqNG9C9PaXutrzfdWldjlA==
Message-ID-Hash: LDOTIGFTE5FIS5ETRE4NPX67QZRCSTZ5
X-Message-ID-Hash: LDOTIGFTE5FIS5ETRE4NPX67QZRCSTZ5
X-MailFrom: achimkraus@gmx.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: draft-ietf-tls-dtls-rrc.all@ietf.org, last-call@ietf.org, tls@ietf.org, art@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: draft-ietf-tls-dtls-rrc-14 ietf last call Artart review
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/L5TesjwmPLyYp9mPoolFxZzrUVo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Owner: <mailto:tls-owner@ietf.org>
List-Post: <mailto:tls@ietf.org>
List-Subscribe: <mailto:tls-join@ietf.org>
List-Unsubscribe: <mailto:tls-leave@ietf.org>

Hi Russ,

about the cookie, let me mention, that it may be not too obvious, but 
though a RRC message belongs to epoch 1 (or later), it is an regular 
encrypted and MAC protected message/record. Using the same or 
predictable cookie will expose the same as sending the same or 
predictable message, but therefore the cipher uses a unique nonce.

If that is still an issue, then this issue would apply also to DTLS 
alert records. The two bytes of an alert record may be even easier to 
predict. (Maybe I miss the point.)

So, I'm not sure to see the risk here, but maybe someone in the
list can help and hopefully we can then also work on a fix for 
alert-records.

To exclude some unintended attack surface in advance, refer to RFC4086 
will be good idea.

br
Achim


Am 03.06.25 um 19:08 schrieb Russ Housley via Datatracker:
> Document: draft-ietf-tls-dtls-rrc
> Title: Return Routability Check for DTLS 1.2 and DTLS 1.3
> Reviewer: Russ Housley
> Review result: Almost Ready
> 
> I am the assigned ART-ART reviewer for this draft. Please treat these
> comments just like any other last call comments.
> 
> 
> Document: draft-ietf-tls-dtls-rrc-14
> Reviewer: Russ Housley
> Review Date: 2025-06-03
> IETF LC End Date: 2025-06-10
> IESG Telechat date: unknown
> 
> Summary: Almost Ready
> 
> 
> Major Concerns:
> 
> Section 4: The text says:
> 
>     Each message carries a Cookie, an 8-byte field containing arbitrary
>     data.
> 
> In Section 7, the reader learns that is is incomplete.  The cookie MUST
> be unpredictable.
> 
> Section 4: In the last sentence, a MUST statement appears an a
> parenthetical.  Please reword.  I suggest:
> 
>     Implementations MUST be able to parse and understand the three RRC
>     message types defined in this document.  In addition, implementations
>     MUST be able to parse and gracefully ignore messages with an unknown
>     msg_type.
> 
> Section 5: This seems like an odd placement of this information in the
> document.  I propose that this information be put in Section 3.  Also,
> I think there should be a MUST statement that the client MUST NOT offer
> the RRC extension without also offering the CIS extension.
> 
> Section 9: The security consideration need to discuss the consequences of
> a predictable cookie value.  This will probably require a reference to
> RFC 4086.
> 
> 
> Minor Concerns:
> 
> Figure 2:  This seems fairly complex figure to say:
> 
>     Off-path and on-path attackers can:
>        * Inspect un-encrypted portions of datagrams;
>        * Inject datagrams;
>        * Reorder datagrams; and
>        * Modify portions of datagrams that are not integrity protected.
> 
>     In addition, on-path attackers can:
>        * Delay datagrams;
>        * Drop datagrams; and
>        * Manipulate the packetization layer.
> 
> Section 11: It seems like a good time to drop this section.
> 
> Appendix A: It seems like a good time to drop this section.
> 
> 
> Nits:
> 
> Section 1: Please spell out CID on the first use in the document body.
> 
> Section 1: s/It then goes on describing the steps a DTLS principal must/
>              /It also describes the steps a DTLS principal must/
> 
> Section 6.2: s/attack is more reliable if/attack is more effective if/
> 
> Figure 4: The difference between a dash and a dot is unclear.
> 
> Figures 4, 5 and 6: The purpose of lines without numbers is unclear.
> 
> Section 7: s/taken into account or not/taken into account/
> 
> Section 7.2: s/timer T, see Section 7.5, is started./
>                /timer T is started, see Section 7.5./
> 
> Section 7.5: s/more suitable value/more suitable value for T.
> 
> Section 9: IDnits gets confused because the Privacy Considerations and
> the Security Considerations are in one section.  Please avoid this
> situation by separating them.
> 
> 
>