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

Gary Illyes <garyillyes@google.com> Thu, 23 June 2022 10:38 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 C88A6C15D880 for <secdir@ietfa.amsl.com>; Thu, 23 Jun 2022 03:38:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -22.109
X-Spam-Level:
X-Spam-Status: No, score=-22.109 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_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable 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 iOmmkuGGej1S for <secdir@ietfa.amsl.com>; Thu, 23 Jun 2022 03:38:49 -0700 (PDT)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (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 DE6F5C15D887 for <secdir@ietf.org>; Thu, 23 Jun 2022 03:38:33 -0700 (PDT)
Received: by mail-lf1-x134.google.com with SMTP id f39so16966912lfv.3 for <secdir@ietf.org>; Thu, 23 Jun 2022 03:38:33 -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=mAFZppbIMegtszwokqJh5N2IMkgqg6I4N3STgz045NY=; b=aKlEIgvz3XB+zRoubZu0GGPy97bOBFasG1JCgfHGjXte5NIAuc2PRzGi1Yp5amnKVb GybrbnzMg6Z3bR9y0Q5fKnHRk1xYKumJGWMOyN1U5L5FzkrNvQQ7s4RwIjONgw6oD6Kf 5ofrJtXLzUy9B7W3tLHWvaLiVpnbMswOuToagQmnaoe+QKSvrUnjSb24LGBBwZXtP5lI j/5HprQDLS3I19WzLH9B4L0Iir+subeN5EzPOZXOELAwS/CQ/bse/IPKtcMPaCJz4SMU 610eEYwnrv+PigcCUwvbS0cJrTeeQv+RSvirnpgqX+G34G/Gi8eNQFe+8QgmwLbKtuPM krYA==
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=mAFZppbIMegtszwokqJh5N2IMkgqg6I4N3STgz045NY=; b=XSNUpls0ztjlSLYAO4xL+tVa9LUjkki9Irt/cUoh5biZI+Wa+PbpNT0UTMp1xds28h DRbBeLwUTdAHA0BsxgdLrblE+hf3+EkHtJrkoekwaMIdVpwxLYeerGpML/ffG0q9Ey6V mUF9ImHBR3MJ4eyWIc8K3NlSMeXiSnjoF/ZTlJZe3yaXztxpPQFOTquS6U5kIZX4fc36 HQ8zRjTynfuyBFOs+0k40zkJ1NIOaUJTwmYevpofmGqjCccaDNf2zzrfKoL5CZXG3FPy aNinD5fSEUdMsrRjc4PcoUv7tqkIC7MXmaGSnZ10tpWONfEvjY3GwJrYaCwVSt5yXCH3 VE3A==
X-Gm-Message-State: AJIora+RbHKMZveBnzL2VaFzXUxCfM1fJv35+LZAx05WKxcMYE72mWZX +efpZ3g38Coojk6gzNUrM4yCFQWykQYEY1XFpkU0ABAGnr/Clw==
X-Google-Smtp-Source: AGRyM1trwOiWCDv3SCpPbFuLII6YjylTkiuAeSLqW9BeAw/vRuWV/ZAEJJLtOrfMo2SIfPM4Q6+8LzmmSUw6yRffYk8=
X-Received: by 2002:a05:6512:2603:b0:47d:e00f:1e3c with SMTP id bt3-20020a056512260300b0047de00f1e3cmr4907651lfb.474.1655980711804; Thu, 23 Jun 2022 03:38:31 -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>
In-Reply-To: <CAFpG3gcVNSmnZOukyBQuDdjejY_4VEGMJBM8qW--P65aJMsD3g@mail.gmail.com>
From: Gary Illyes <garyillyes@google.com>
Date: Thu, 23 Jun 2022 12:38:20 +0200
Message-ID: <CADTQi=dcGeev86N2sG_5rv27okk0O4T0a8Ri=LG0fOOanPDy=g@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="00000000000015c3c605e21b0e8d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/y0_HjrN6KOxfZWzM8vl2hBmltg4>
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: Thu, 23 Jun 2022 10:38:52 -0000

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
>>
>