From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal? Date: Wed, 06 Jun 2018 03:51:10 +1200 Message-ID: <0c6052eff2cd93fe83c953b3c9d3d1da@webmail.orcon.net.nz> References: <83y3fubkum.fsf@gnu.org> <83a7s9b8nv.fsf@gnu.org> <3396fe3edac96118eeaea92013f4cbd4@webmail.orcon.net.nz> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1528213809 3140 195.159.176.226 (5 Jun 2018 15:50:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2018 15:50:09 +0000 (UTC) User-Agent: Orcon Webmail Cc: 31709@debbugs.gnu.org, Lars Ingebrigtsen , bug-gnu-emacs To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 05 17:50:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQEDl-0000eN-5V for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jun 2018 17:50:05 +0200 Original-Received: from localhost ([::1]:47669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQEFs-0000bz-4M for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jun 2018 11:52:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQEFm-0000bs-85 for bug-gnu-emacs@gnu.org; Tue, 05 Jun 2018 11:52:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQEFg-0000cE-15 for bug-gnu-emacs@gnu.org; Tue, 05 Jun 2018 11:52:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQEFf-0000c5-Tj for bug-gnu-emacs@gnu.org; Tue, 05 Jun 2018 11:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fQEFe-0007Hs-FN for bug-gnu-emacs@gnu.org; Tue, 05 Jun 2018 11:52:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jun 2018 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31709-submit@debbugs.gnu.org id=B31709.152821387627958 (code B ref 31709); Tue, 05 Jun 2018 15:52:02 +0000 Original-Received: (at 31709) by debbugs.gnu.org; 5 Jun 2018 15:51:16 +0000 Original-Received: from localhost ([127.0.0.1]:35387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQEEt-0007Gs-TC for submit@debbugs.gnu.org; Tue, 05 Jun 2018 11:51:16 -0400 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:35656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQEEr-0007Gi-8t for 31709@debbugs.gnu.org; Tue, 05 Jun 2018 11:51:14 -0400 Original-Received: from [10.253.37.70] (port=34102 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1fQEEo-00054c-JH; Wed, 06 Jun 2018 03:51:10 +1200 Original-Received: from [150.107.175.183] via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 06 Jun 2018 03:51:10 +1200 In-Reply-To: <3396fe3edac96118eeaea92013f4cbd4@webmail.orcon.net.nz> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147033 Archived-At: On 2018-06-06 03:35, Phil Sainty wrote: > On 2018-06-06 02:38, Eli Zaretskii wrote: >> Having a fixed file name in Emacs that is loaded by an external signal >> would be a terrible security risk, no? > > Bad Things could surely be done; but if the attacker has access to > send signals to the user's emacs process or write files in the user's > ~/.emacs.d directory, has a terrible security breach not already > occurred? The notion of an attacker gaining access to a running Emacs > session is certainly bad, but I'm unsure whether the proposed idea > really worsens the risk in principle? In fact if you normally run emacs as a server you're opening up the same security risk, no? An attacker who could send a signal to an emacs process can also run emacsclient to access an existing server; and I don't think we consider the practice of running an emacs server to be a terrible security risk. -Phil