[TLS] Re: Adoption call for RFC 9147bis

Ben Smyth <research@bensmyth.com> Fri, 06 December 2024 14:46 UTC

Return-Path: <research@bensmyth.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78175C169402 for <tls@ietfa.amsl.com>; Fri, 6 Dec 2024 06:46:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bensmyth.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 84_uUe1nOhLp for <tls@ietfa.amsl.com>; Fri, 6 Dec 2024 06:46:34 -0800 (PST)
Received: from 99.smtp.34sp.com (99.smtp.34sp.com [46.183.8.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C60EAC151547 for <tls@ietf.org>; Fri, 6 Dec 2024 06:46:32 -0800 (PST)
X-34spcom-MailScanner-From: research@bensmyth.com
X-34spcom-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.995, required 6.5, autolearn=not spam, BAYES_00 -1.90, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, HTML_MESSAGE 0.00, RCVD_IN_VALIDITY_RPBL_BLOCKED 0.00, RCVD_IN_VALIDITY_SAFE_BLOCKED 0.00, SPF_HELO_NONE 0.00, URIBL_BLOCKED 0.00)
X-34spcom-MailScanner: Found to be clean
X-34spcom-MailScanner-ID: 2410F5D58.AB8A0
X-34spcom-MailScanner-Information: Please contact the ISP for more information
Received: from smtpauth2.mailarray.34sp.com (lvs5.34sp.com [46.183.13.73]) by 99.smtp.34sp.com (Postfix) with ESMTPS id 2410F5D58 for <tls@ietf.org>; Fri, 6 Dec 2024 14:46:26 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 99.smtp.34sp.com 2410F5D58
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bensmyth.com; s=dkim; t=1733496386; bh=F+B37nC0fWRbNjUeUJnalkyym0/zaeVWCC4xa3s2syQ=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=cyWDBP8pwFIZsueOVpXZBKXow2SyAyPueQUwP1BWv0rNed0k2CvLmIFAhYOlg+m8v SsELc0CcNFP420YUDOTaY0ep4PvqkcHp5qJ29a4id1C4R73RZap72wGVknHyZ+B6Uj sJLYoMMRnsLlm/ot4k2ZiCCBtu730pO1YhBuWtas=
Received: from mail-pj1-f53.google.com ([209.85.216.53]:33210) by smtpauth2.mailarray.34sp.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <research@bensmyth.com>) id 1tJZb7-0002kq-Od for tls@ietf.org; Fri, 06 Dec 2024 14:46:25 +0000
Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2e56750bb0dso1585046a91.0 for <tls@ietf.org>; Fri, 06 Dec 2024 06:46:25 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCXJRpiUsWa8Be9XezpU+46Nj+HCKGcO5Fh9Zgyy73cutE4yTmPy9rM1q0dK/jzngijFFPM=@ietf.org
X-Gm-Message-State: AOJu0YynuwSK8uM6O4OKv413XLCNvNWIaVyU2HUm8Yhxhw33MITEFOLW 1ujhcTkuQ4Lh/9aQIG/HNcRz+rH2Z9fz6CIh7IPz0yWDxYnbkPaiJ8mT8iN1u0il0sDc3EsvqhQ 54cyOvHsjaSo4k0PZJRSuEUZHtcE=
X-Google-Smtp-Source: AGHT+IHtRtyfginD77TIPw8oR+wuGzHN20xGMiodBGpmCo0Bfl/GMO+l90D/raDvZNthSPoZGF6DipGOpK48epiAGCQ=
X-Received: by 2002:a17:90b:2e0c:b0:2ee:5111:a54b with SMTP id 98e67ed59e1d1-2ef6aaf3360mr4551955a91.31.1733496383809; Fri, 06 Dec 2024 06:46:23 -0800 (PST)
MIME-Version: 1.0
References: <CAOgPGoCZeE9hW5O+kwp_a32MttmV_7QyVkOjaDCM9ODPLPV8KQ@mail.gmail.com> <a343b9e3-2ba8-48c1-9320-d1260e9a43ed@tu-dresden.de> <CA+_8xu0jTk1Kzjd8RoKsynCxTepeZ1kzTZ03Qj4RMNcFEWGHkg@mail.gmail.com> <bd4ba3f9-6e37-4c90-b419-100724394179@tu-dresden.de>
In-Reply-To: <bd4ba3f9-6e37-4c90-b419-100724394179@tu-dresden.de>
From: Ben Smyth <research@bensmyth.com>
Date: Fri, 06 Dec 2024 15:46:12 +0100
X-Gmail-Original-Message-ID: <CA+_8xu2BM0wZ=BkpAOEH-OaVJeki_gvzDKg8QRUHhHWtGcd8RQ@mail.gmail.com>
Message-ID: <CA+_8xu2BM0wZ=BkpAOEH-OaVJeki_gvzDKg8QRUHhHWtGcd8RQ@mail.gmail.com>
To: Muhammad Usama Sardar <muhammad_usama.sardar@tu-dresden.de>
Content-Type: multipart/alternative; boundary="0000000000002d364206289b1432"
X-Authenticated-As: f594447444afb5e8e542d6cd3ee989c5ad593da02deb40a8d61181d2a2c508bd
X-OriginalSMTPIP: 209.85.216.53
Message-ID-Hash: 3LCPA6HRNJ4XCOO66AA4DIUFHGP7PMDO
X-Message-ID-Hash: 3LCPA6HRNJ4XCOO66AA4DIUFHGP7PMDO
X-MailFrom: research@bensmyth.com
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: "<tls@ietf.org>" <tls@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Reply-To: research@bensmyth.com
Subject: [TLS] Re: Adoption call for RFC 9147bis
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/t7341CgT5grlp4tOZfutdYjfKYQ>
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>

On Fri, 6 Dec 2024, 10:06 Muhammad Usama Sardar, <
muhammad_usama.sardar@tu-dresden.de> wrote:

> On 05.12.24 11:03, Ben Smyth wrote:
>
> If they aren't in the model, then analysis is only good up to KeyUpdate.
>
> Sure, I completely agree. We have no guarantees on what is not in the
> formal model. More precisely, I would like the FATT to comment on the
> following:
>
> Since issues have already been found by David, does FATT expect more
> potential issues around KeyUpdate and post-handshake messages that have
> *not* yet been found? If yes:
>
>    - (at least) one example of such potential issue.
>
>
Post-handshake client authentication is one aspect that could be
investigated. Another could be security under a new key. It's plausible
flaws may exist, we just don't believe there are; any issues would be more
likely to arise in corner cases.

>
>    - What kind of tools are most suitable for such an analysis? I suspect
>    a standard model checker (e.g., SPIN) would do (in contrast to symbolic
>    security analysis tools, like ProVerif and Tamarin).
>
> Unsure standard model checkers would help, symbolic security tools seem
the most useful, plus they only require extension of existing models.

> (OpenJDK got KeyUpdate wrong, there were use cases with no security.)
>
> Sounds interesting. Do you have a pointer for me which describes the
> problem precisely?
>

OpenJDK's TLS 1.3 implementation was vulnerable to attack for large data
volumes after closure in one direction:

* Method tryKeyUpdate() "Do[es]n't bother to kickstart if...the connection
is not duplex-open."

Safe AES-GCM operation is upper-bound by about 395 gigabytes of plaintext
under the same key, thereafter OpenJDK was vulnerable to attack, it's been
patched:
https://github.com/openjdk/jdk/commit/14aad787a81368ced426c2a9cb301f4ff0c37c3f

(The official report doesn't reveal much:
https://www.cve.org/CVERecord?id=CVE-2023-21930)

>