Re: [secdir] SECDIR Review draft-koster-rep

Gary Illyes <garyillyes@google.com> Tue, 28 June 2022 07:50 UTC

Return-Path: <illyes@google.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED978C15CF5F for <secdir@ietfa.amsl.com>; Tue, 28 Jun 2022 00:50:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.106
X-Spam-Level:
X-Spam-Status: No, score=-17.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 CoJcT8gTgpna for <secdir@ietfa.amsl.com>; Tue, 28 Jun 2022 00:50:42 -0700 (PDT)
Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28B71C15CF58 for <secdir@ietf.org>; Tue, 28 Jun 2022 00:50:42 -0700 (PDT)
Received: by mail-lf1-x12d.google.com with SMTP id w20so20781977lfa.11 for <secdir@ietf.org>; Tue, 28 Jun 2022 00:50:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hO4sMKLnTnSafkBTdxzRoUbKJLcMn2uMemFEVUKewAc=; b=RR5PzNR391rO/d++QWJnpbDQ6zANZ4nFRxCvvRXqc1c5I3EQmSNptMHOmd5y95HX9D pxFvy2t21Af4BlxqWPKF2SvpZDUUSW3SHH/uKOnFwhc70YhjM3JuRTf5+zrdZze0XE0m WhigA1wa8qk7uVV0JWpSQAQmeTbWzdyILUsthJ/0oBxS/MhqeGf8i3STbxuuVcuS32rc P/Z6/H5iBqBfCtVEQfy8vgOreOOtXXDLKoYNSFv7UoC/afpmKr5VqYbBnNh7zTkfViH4 INnLWVabvjCV29pPGF4JQRmcFbLQLMSY/yLDeL6TnJsKVbX2IHm8WtaQ9RblNtUyD9mD y4Eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hO4sMKLnTnSafkBTdxzRoUbKJLcMn2uMemFEVUKewAc=; b=SM31GYA9LBILZyjfqz2lzf7YK8PeD2HDkK3dRsUDWmdXdt1TCzUP9PgxlvCVB2Lx7N YAVjqjNJWIrb6fIJFwW6LHsSNwvBWTub0WymKWg+nWAA5qdHpCY4N1AUF/UnDG7OW9TP qd+5CFL47pBK99NeUqN5DQFJtoSHVPKNsl/E7JvbYomF3YWopzNLjTc7xY/F4knpukbG u97E7YRI4oGHiK0gclE0Z7XErTFKUilOJIYrrzE9YvjrfPNNHLX2om8E7xs93O1Hl8sD cCVOjrYrKKc3TU9V+dJvb5/kOhTMsuPBmuRPBrvUKeYgdV/hO3B6fsp8uQZT8xiGwEN/ SVSQ==
X-Gm-Message-State: AJIora+hn/NFT9Mmfg0jh3qYE67Ssu9CDrZdeI9K2zMPpENzuH3FClGp yHRArO5V+u5AsUuZXbrdjQ19p7mokNKjnS1xgZzBkRQK9O1CLw==
X-Google-Smtp-Source: AGRyM1vVrV4jI/wN1+90J+/FboNRRhIdbS8/goJx9UFE2wNJ/oL/Elh+xpe8jwo55hCbcNLzBv3wtLO5qDQs7GOMcTY=
X-Received: by 2002:a05:6512:3fa6:b0:47d:c87e:f8f8 with SMTP id x38-20020a0565123fa600b0047dc87ef8f8mr11420161lfa.159.1656402640165; Tue, 28 Jun 2022 00:50:40 -0700 (PDT)
MIME-Version: 1.0
References: <CAFpG3gex3r1PH8xV7RTNESXbe+JyphzimrCggNH+X0KLPkaiCw@mail.gmail.com> <CADTQi=cd-EsOnpHMi7ZQ3YvGc4qOfgG=+cTsDziqEjETvg1DaQ@mail.gmail.com> <CAFpG3gfiZhjk43wrpUHo+jmDHN24bbx8RxKdBZ8eX7mapQm0Pw@mail.gmail.com> <CADTQi=exp-NmAyNjfBL8fXfwCffXPUzL8bx9k_=mvXan_WAgig@mail.gmail.com> <CAFpG3gcVNSmnZOukyBQuDdjejY_4VEGMJBM8qW--P65aJMsD3g@mail.gmail.com> <CADTQi=dcGeev86N2sG_5rv27okk0O4T0a8Ri=LG0fOOanPDy=g@mail.gmail.com>
In-Reply-To: <CADTQi=dcGeev86N2sG_5rv27okk0O4T0a8Ri=LG0fOOanPDy=g@mail.gmail.com>
From: Gary Illyes <garyillyes@google.com>
Date: Tue, 28 Jun 2022 09:50:29 +0200
Message-ID: <CADTQi=e7tMgUbh64G2kZfFr7xK2qtCjue-+B1M4+OD_ODxvY=Q@mail.gmail.com>
To: tirumal reddy <kondtir@gmail.com>
Cc: The IESG <iesg@ietf.org>, draft-koster-rep.all@ietf.org, secdir@ietf.org
Content-Type: multipart/alternative; boundary="000000000000f9c61205e27d4a59"
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/qnxVvvBNlraz0EPgeNP-JXL2Aso>
Subject: Re: [secdir] SECDIR Review draft-koster-rep
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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, 28 Jun 2022 07:50:43 -0000

And uploaded: https://datatracker.ietf.org/doc/draft-koster-rep/11/

On Thu, Jun 23, 2022 at 12:38 PM Gary Illyes <garyillyes@google.com> wrote:

> Thanks! Updated:
> https://github.com/google/robotstxt/commit/d69b3e4fdfd2c2a767c2cda7c27370a47b1fb575
>
> On Thu, Jun 23, 2022 at 12:09 PM tirumal reddy <kondtir@gmail.com> wrote:
>
>> On Thu, 23 Jun 2022 at 13:25, Gary Illyes <garyillyes@google.com> wrote:
>>
>>>
>>>
>>> On Thu, 23 Jun 2022 at 09:42, tirumal reddy <kondtir@gmail.com> wrote:
>>>
>>>> On Wed, 22 Jun 2022 at 21:06, Gary Illyes <garyillyes@google.com>
>>>> wrote:
>>>>
>>>>> Thanks Tiru!
>>>>>
>>>>> I updated our public repository with your suggestions and a diff of
>>>>> the changes can be seen at
>>>>> https://github.com/google/robotstxt/commit/a048272f9091570db556cf3656b6d33250797bba
>>>>>
>>>>> Specifically on point c) we added a new paragraph with a list of
>>>>> vectors related to implementors based on a conversation we had with our
>>>>> security team. On point a) and b) we restated that robots.txt is not a
>>>>> security measure whatsoever and folks should employ a valid security
>>>>> measure such as IP based ACL
>>>>>
>>>>
>>>> Thanks Gary, changes look good to me. Are there better security
>>>> measures to refer to than the IP based ACL (IP reputation is challenging
>>>> with IPv6 addresses and the IP address can possibly be spoofed) ?
>>>>
>>>
>>> Ah, fair. How about the authentication framework of the used protocol?
>>> i.e. http auth for http, I think RFC 7235
>>>
>>
>> Sounds good to me. You may want to refer to
>> https://datatracker.ietf.org/doc/html/rfc9110#section-11.
>>
>> -Tiru
>>
>>
>>>
>>>
>>>> -Tiru
>>>>
>>>>
>>>>>
>>>>> On Mon, Jun 20, 2022 at 1:51 PM tirumal reddy <kondtir@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> SECDIR Review draft-koster-rep
>>>>>>
>>>>>>
>>>>>> Reviewer: Tirumaleswar Reddy
>>>>>> Review result: Ready with Issues
>>>>>>
>>>>>>
>>>>>>
>>>>>> I have reviewed this document as part of the security directorate's
>>>>>>
>>>>>> ongoing effort to review all IETF documents being processed by the
>>>>>>
>>>>>> IESG..  Document editors and WG chairs should treat these comments
>>>>>>
>>>>>> just like any other last call comments.
>>>>>>
>>>>>>
>>>>>>
>>>>>> You may want to discuss the following security threats:
>>>>>>
>>>>>>
>>>>>>
>>>>>> a) Revealing disallowed URIs will make its paths easily discoverable.
>>>>>> However, security by obscurity will not maintain or increase the security
>>>>>> of the content provider (you can refer to
>>>>>> https://datatracker.ietf.org/doc/html/rfc4949).
>>>>>>
>>>>>> b) A malicious crawler will not honor the disallow rules and can try
>>>>>> to access the disallowed URIs, it should be mitigated by access control
>>>>>> restrictions. Discuss any other count-measures used to block such malicious
>>>>>> crawlers (like blocking the IP address).
>>>>>>
>>>>>> c) Attacks possible on crawlers because of a malicious robots.txt
>>>>>> file.
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> -Tiru
>>>>>>
>>>>> --
>>> Thanks,
>>> Gary
>>>
>>