From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OE5XIheHv2VBdwEAqHPOHw:P1 (envelope-from ) for ; Sun, 04 Feb 2024 13:46:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OE5XIheHv2VBdwEAqHPOHw (envelope-from ) for ; Sun, 04 Feb 2024 13:46:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707050775; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=de1kaPftmEfCwyDfvh7ok4FTi3cbX0c6p+U4IWfNtG4=; b=b+K7ULu15EiaxgFRrOd66cU2QfCARl0wVsDESkEY8YjHuK/BHCUvQ73Aku2T/zHer8eg1A 3NKxzMynhI/ajgU8Z3QxzYUIr4vV3Jti3YQyFjQ1SGBHbYC15MHtAffr46/tebymqL5+DT 0Wcq52FnpvwzRNmNSFXXG5tPFNNtMxARoIlr+FDWBf3sxHIVaHX0FV6YAepR5naWl8VjXT d51IzlquJ7JGrf+abbKgPccAqdxPyZXU5hJBzuHe/isvQ2fbRn1xRe24oQrsz1fn+JqZZ5 D2pBZ21eYA11Z7VEV3jKB7lcj/6l4Q4+0KArULnTIva/NXpHNJvf3BC6mNFFrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707050775; a=rsa-sha256; cv=none; b=GEZl/LBqjOjGQUWmoEUidQL5wgJLBfrlx00o7xEr3gxTp2A0Nlj3RTIOw3uk4IuhHfvABo 0phvWM7kdKWlFRwbx5aLGbRVxB1UE9PimBVgAiYdZ+jny3mGQ2ZBXhaI2hBKMpGXXYiezp v4lts/daoisMZGukounM4EVunPG4Z+fFSHaPuN46pU3CdkNMRl5U3IFR3KeNlIfGA6D/bi 4J/hpy4aXUX1zXCMvj7y31NMkhlrZsbL4baM8Mk2oJ89DBl0Oo43AqzaYYKmc1jsLGt3/M Ji+uQ4LO8PzCsTt3xSneLpNgjIwxUi33qy4vuZKlPPiFwbkS38kX4fOtqldRTQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5C7E0413ED for ; Sun, 4 Feb 2024 13:46:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWbsC-00080w-TN; Sun, 04 Feb 2024 07:45:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWbs7-00080h-9P for emacs-orgmode@gnu.org; Sun, 04 Feb 2024 07:45:21 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWbs3-0008AG-6i for emacs-orgmode@gnu.org; Sun, 04 Feb 2024 07:45:18 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rWbs0-0003sR-Uw for emacs-orgmode@gnu.org; Sun, 04 Feb 2024 13:45:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [BUG] Unsolicited download of remote resources Date: Sun, 4 Feb 2024 19:45:02 +0700 Message-ID: References: <87h6iq662c.fsf@t14.reltub.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird Content-Language: en-US, ru-RU In-Reply-To: <87h6iq662c.fsf@t14.reltub.ca> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.17 X-Migadu-Queue-Id: 5C7E0413ED X-Spam-Score: 1.17 X-Migadu-Scanner: mx11.migadu.com X-TUID: 4iXcFc3LqQe2 On 03/02/2024 02:04, Leo Butler wrote: > > When I opened your email in Gnus, I was greeted with the same > (bewildering) message. Given that Org still tried to download the > setupfile after being told not to, I think this is a majour security > hole. > > This is also related to another thread concerning Org and email. > https://list.orgmode.org/orgmode/87cyteyhif.fsf@localhost/ Sorry for sending a message with this kind of attachment, but from the discussion of that Emacs bug I expected that almost no Gnus users should be affected since their media type handler is set for text/x-org while Thunderbird uses "Content-Type: text/org". I would not classify this kind of issues as security ones. I am unaware of Org features that may make content of "#+setupfile:" more dangerous than the same snippet is included into attachment directly. (OK, antivirus might have a chance to detect something as dangerous code and "#+setupfile:" would bypass such protection.) I consider it as a privacy issue. It may allow spammers to track if their messages are delivered successfully. I was really surprised when I found "n" option to decline downloads broken. I expected it was addressed in [PATCH] New remote resource download policy. Sun, 12 Jun 2022 22:43:07 +0800. https://list.orgmode.org/87mteiq6ou.fsf@gmail.com since it was risen in the earlier thread [PATCH] Support =#+include=-ing URLs. Sun, 05 Jun 2022 22:32:30 +0800. https://list.orgmode.org/87k09v5gap.fsf@gmail.com