[secdir] Re: Secdir telechat review of draft-ietf-httpbis-rfc6265bis-19
Steven Bingler <bingler@chromium.org> Fri, 26 September 2025 18:44 UTC
Return-Path: <bingler@chromium.org>
X-Original-To: secdir@mail2.ietf.org
Delivered-To: secdir@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 38271698B669 for <secdir@mail2.ietf.org>; Fri, 26 Sep 2025 11:44:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=chromium.org
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 gdNkRBhna-CB for <secdir@mail2.ietf.org>; Fri, 26 Sep 2025 11:44:27 -0700 (PDT)
Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 038216986AF8 for <secdir@ietf.org>; Fri, 26 Sep 2025 11:33:54 -0700 (PDT)
Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-4da72b541f8so32349951cf.1 for <secdir@ietf.org>; Fri, 26 Sep 2025 11:33:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1758911627; x=1759516427; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Rtd/oc9LJs638r7jMcYkchwj0ett7m0SSCHycsxV8M0=; b=NAxmvYsCYgCB/iOB1/L5p3RVa8Lkv04/kt5izjgAttNNq96N8eJdJ02OFI9PEbuO7H +SHi8glMot1C7w098nqcMeZ0pRksQ3mb6Az/xQdjjIWhw2RA5Tf5lf9y6ApKgyi1jVJ4 pRuW/O4iuIJSy4IPERnWoIAbtPDDELqtO86Ws=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758911627; x=1759516427; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Rtd/oc9LJs638r7jMcYkchwj0ett7m0SSCHycsxV8M0=; b=JbfIH6B4u6E6F6eBMGALJ7mCcM7k21XWq/3JFgb3nxjEpzz6NzsjAhWvR92zZzNnI4 YlnetLN0ldc2kuIuzVLupgqjA0L7VlVh1C3Bnu0y+ssiDFDdDESoI1PR2YZxz0hg0aaK ULucRjuV7LYS/1dfzj/GUaM1HflPRyCwcXSJrcZ626RNsdtH//WYJ6WQsUb2xnMonzPl AU1QuULVR1sStrxgNggo0ldBf/CZV1dXZ8e1FchJk8KQ/7XxAJg0FincSrzvRkfi9mJ2 cjE5i4Jg5BzQ3xZ58k/Q9lBDqIr8B11E1WBkBfR735wNJvMJVNK8WLe4yL7ZKySfcZQ5 N/Qg==
X-Gm-Message-State: AOJu0YxBdrfSTp8RFrT9nbSufFliMJS0e7dvW/OUgOzRyVh0tpvHcPIH a9d4Cwm7KDYpICm20BbifbV80WhDKG7DMjNC6hTlEaqJf/1jEFZWoiXD7lNoY5jziplQyCUA/XL UcKBe9FtWiLJs3jWWqWOPm/cVNaS9Yc6OWKL9tzpYpyz3jur49x4YdK7h
X-Gm-Gg: ASbGnctH3admotp9NZ+e1dYnmdIhhv9b2c11ukkAaHcFqCu3gW2gt6SxWLwqW5qkFaE cIcUkOkqMqMxWUhQN1z+saBuFm0G1j7HCaI0d2XKTkZyWL+3cgF32ks1u13XknS5pQzj4w6PDgx Rx5KEKZc/gaop5mO4D2VqKWqf+ijZi2t/LjWcdCpJoG5s7HgP6B6z5cLAqlAzl6SjomDHjRBsCE rq/wN0o
X-Google-Smtp-Source: AGHT+IHczh1nCpZwy+YSXl6uAAw/LQyT1nwXDkCBjPJ3ZOCLvCSyCrp4WTuQItjTTC9ZN8TgFnJjSuK0SeYjKNUlKpE=
X-Received: by 2002:ac8:7d8e:0:b0:4b5:ffc4:d87b with SMTP id d75a77b69052e-4da4c39bf57mr110697261cf.63.1758911626971; Fri, 26 Sep 2025 11:33:46 -0700 (PDT)
MIME-Version: 1.0
References: <173928072730.554181.11643604175051228621@dt-datatracker-75c44cbbdf-pxnd6> <0b1901dc2890$d0e2abf0$72a803d0$@smyslov.net> <CAKvzGWeU=c8w1-gOzNsKPdgNvxHXNgEa86Yubep=b54LbMUzBg@mail.gmail.com> <123901dc2eaf$a0ed8f30$e2c8ad90$@smyslov.net>
In-Reply-To: <123901dc2eaf$a0ed8f30$e2c8ad90$@smyslov.net>
From: Steven Bingler <bingler@chromium.org>
Date: Fri, 26 Sep 2025 14:33:35 -0400
X-Gm-Features: AS18NWAuEkk0dS3kaFB3CZS1o5lty9n0QFJe_ZMY4y_6fyp06ZidaNrVQIUK4sc
Message-ID: <CAKvzGWeBW7jK34KsZV8Mk48QmWmjmxWibk_LkCkEZ=5rLX4B6g@mail.gmail.com>
To: Valery Smyslov <valery@smyslov.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: 2VQ32OSJCVYIIOVM6T67ZK7IRHLFUKQJ
X-Message-ID-Hash: 2VQ32OSJCVYIIOVM6T67ZK7IRHLFUKQJ
X-MailFrom: bingler@chromium.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-secdir.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: secdir@ietf.org, draft-ietf-httpbis-rfc6265bis.all@ietf.org, ietf-http-wg@w3.org, last-call@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [secdir] Re: Secdir telechat review of draft-ietf-httpbis-rfc6265bis-19
List-Id: Security Area Directorate <secdir.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/9SiCsvqbPC3OM4D_YDBQbupX9zg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Owner: <mailto:secdir-owner@ietf.org>
List-Post: <mailto:secdir@ietf.org>
List-Subscribe: <mailto:secdir-join@ietf.org>
List-Unsubscribe: <mailto:secdir-leave@ietf.org>
Valery, > If this is not a requirement (in RFC 2119 sense) then I suggest > to change it to "has to" or "needs" so that no such questions arise. Sounds good, I've changed "must" to "needs to". - Steven On Fri, Sep 26, 2025 at 2:34 AM Valery Smyslov <valery@smyslov.net> wrote: > > Hi Steven, > > > Hi Valery, > > > > > It seems that Steven responded to my review, but forgot to include CC:secdir@ietf.org > > > > Yes, my mistake. > > > > > I still have issue with the following sentence (In the Overview section of Security Considerations): > > > > I'd prefer to keep this text because it sets up the later sections > > which go into greater detail. > > > > I have a PR with my proposed change, please take a look and let me > > know if it resolves your concern: > > https://github.com/httpwg/http-extensions/pull/3256 > > This explanation is helpful, thank you. > I just wonder whether "must" should be "MUST" in the sentence: > > This means that > a cookie must explicitly specify any protective attributes. > > If this is not a requirement (in RFC 2119 sense) then I suggest > to change it to "has to" or "needs" so that no such questions arise. > > Regards, > Valery. > > > - Steven > > > > On Fri, Sep 19, 2025 at 11:21 AM Valery Smyslov <valery@smyslov.net> wrote: > > > > > > [It seems that Steven responded to my review, but forgot to include CC:secdir@ietf.org > > > and I didn't see the response until Deb has pointed me out to it: > > > https://mailarchive.ietf.org/arch/msg/httpbisa/BaKETLBU05ID_DOOl87ZCwqTZzE/ ] > > > > > > Hi Steven, > > > > > > thank you for addressing my concerns. I used the following two links from your message to evaluate > > > changes in the document (I don't know if new I-D is published): > > > > > > https://github.com/httpwg/http-extensions/commit/4b5c5242984434dcbea153247ec7f7d9a509d0c9 > > > https://github.com/httpwg/http-extensions/commit/f9881b3290e3edf7faeff933c8a49b0966285c55 > > > > > > I still have issue with the following sentence (In the Overview section of Security Considerations): > > > > > > "In addition, by default, cookies do not provide confidentiality or integrity from network attackers, even when > > used in conjunction with HTTPS." > > > > > > I think that it should either be elaborated (what "default" do you mean? does it mean that cookies are secure for > > "non-default" and how to reach it? > > > "in addition" to what, given that previous text states basically the same - weak confidentiality and weak integrity > > of cookie?) or deleted. > > > > > > My other concerns are either addressed or explained. > > > > > > Regards, > > > Valery. > > > > > > > > > > -----Original Message----- > > > > From: Valery Smyslov via Datatracker <noreply@ietf.org> > > > > Sent: Tuesday, February 11, 2025 4:32 PM > > > > To: secdir@ietf.org > > > > Cc: draft-ietf-httpbis-rfc6265bis.all@ietf.org; ietf-http-wg@w3.org; last-call@ietf.org > > > > Subject: [secdir] Secdir telechat review of draft-ietf-httpbis-rfc6265bis-19 > > > > > > > > Reviewer: Valery Smyslov > > > > Review result: Has Nits > > > > > > > > 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. > > > > > > > > This document defines the HTTP cookie protocol. The document is well written > > > > and easy to read. > > > > > > > > The Security Considerations section is mostly taken intact from RFC 6265 > > > > (except that considerations for newly introduced SameSite cookies are added), > > > > and only overviews "a few of the more salient issues". This is a bit > > > > disappointing, I would have expected that more considerations are added based > > > > on 14 years experience since RFC 6265 was published. However, I understand that > > > > the list of security considerations would have been very long and still hardly > > > > complete. Since it seems to be next to impossible to accurately list all the > > > > possible cookie exploits, I wil mark the document as "Ready", but with a > > > > reservation, that the the Security Considerations section is intentionally not > > > > complete and this seems not possible to fix. > > > > > > > > I still have some easy to address suggestions that I think would be helpful for > > > > readers. > > > > > > > > 1. Please, make it more clear that the restrictions on the cookie use, that the > > > > server imposes via attributes, are not guaranteed to be honored even by a > > > > honest user agent. For example, if the clocks on the server and on the client > > > > are out of sync, then the user agent may innocently try to use cookie beyond > > > > its lifetime. Thus, the imposed restrictions for the received cookies MUST be > > > > checked by the server. > > > > > > > > 2. Section 8.1 states that "by default, cookies do not provide confidentiality > > > > or integrity from network attackers, even when used in conjunction with HTTPS". > > > > In my reading this sounds like HTTPS is useless for cookies security. I think > > > > that this needs a clarification. While use of HTTPS cannot prevent network > > > > attacks using cookies mounted by other participants in HHTP communications > > > > (like cross-site attacks), it does prevent eavesdropping and manipulation of > > > > cookies by on-path entities that don't participate in these communications. I > > > > believe it should be emphisized that encrypted transport does reduce the attack > > > > surface using cookies. > > > > > > > > 3. Section 8.3 lists security risks when cookies are sent in clear and clause 3 > > > > states: "A malicious client could alter the Cookie header before transmission, > > > > with unpredictable results". I failed to understand how this is concerned with > > > > the use of TLS. In my understanding, malicious clients can do this in any case, > > > > regardless on whether TLS is used or not. Am I missing something? > > > > > > > > 4. Section 7.1, last para states that "it is RECOMMENDED that user agents adopt > > > > a policy for third-party cookies that is as restrictive as compatibility > > > > constraints permit". This gives no concrete recommendations, and no examples, > > > > thus making this requirement vague and subjective. I think this requirement > > > > should be provided with more details how to deal with it. > > > > > > > > Just out of curiosity - the draft adds a requirement that cookie SHOULD NOT be > > > > greater than 400 days. I wonder why this particular margin was chosen. Why not > > > > 365 days (a year) - it looks like a natural equivalet to "very long, but not > > > > infinite"? > > > > > > > > > > > > _______________________________________________ > > > > secdir mailing list -- secdir@ietf.org > > > > To unsubscribe send an email to secdir-leave@ietf.org > > > > wiki: https://wiki.ietf.org/group/secdir/SecDirReview > > > > > > > > > > > > >
- [secdir] Secdir telechat review of draft-ietf-htt… Valery Smyslov via Datatracker
- [secdir] Re: [Last-Call] Secdir telechat review o… Donald Eastlake
- [secdir] Re: [Last-Call] Re: Secdir telechat revi… Valery Smyslov
- [secdir] Re: Secdir telechat review of draft-ietf… Valery Smyslov
- [secdir] Re: Secdir telechat review of draft-ietf… Steven Bingler
- [secdir] Re: Secdir telechat review of draft-ietf… Valery Smyslov
- [secdir] Re: Secdir telechat review of draft-ietf… Steven Bingler
- [secdir] Re: Secdir telechat review of draft-ietf… Valery Smyslov