From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Closing a privilege escalation Date: Thu, 26 Apr 2018 17:01:34 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1524776378 22054 195.159.176.226 (26 Apr 2018 20:59:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2018 20:59:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 26 22:59:34 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fBnzK-0005dy-1R for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2018 22:59:34 +0200 Original-Received: from localhost ([::1]:44443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBo1R-0001Id-3Q for ged-emacs-devel@m.gmane.org; Thu, 26 Apr 2018 17:01:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBo1L-0001IM-Ah for emacs-devel@gnu.org; Thu, 26 Apr 2018 17:01:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBo1K-0004kU-Ki for emacs-devel@gnu.org; Thu, 26 Apr 2018 17:01:39 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBo1H-0004gU-3C; Thu, 26 Apr 2018 17:01:35 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1fBo1G-0002Gh-KM; Thu, 26 Apr 2018 17:01:34 -0400 In-reply-to: (message from Stefan Monnier on Wed, 25 Apr 2018 13:09:19 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224913 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > And this exploit code could just as well not wait to be run as root and > instead install a key-logger on `sudo`, after which the attacker can > `sudo` to run any code it wants. Maybe it is possible to figure out ways to make it impossible to set up a phony sudo command. But that would require several new security features. I don't know whether such features are possible or not. It would be worth studying, but it isn't related to Emacs. So I guess we can forget about trying to solve the rewritten .emacs problem. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.