all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dor Azouri <dor.azouri@safebreach.com>
To: Noam Postavsky <npostavs@users.sourceforge.net>,
	Glenn Morris <rgm@gnu.org>
Cc: 28618@debbugs.gnu.org
Subject: bug#28618: Emacs Security Issue
Date: Sun, 01 Oct 2017 15:27:58 +0000	[thread overview]
Message-ID: <CALVPaFasBY5gDJZ3EE95UGpiV2o0Ra=6QRSkJVhRu=3bYTBZGQ@mail.gmail.com> (raw)
In-Reply-To: <87tvzldsj2.fsf@users.sourceforge.net>

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

Thanks for checking this problem.
I am convinced by the comments that this is not a pure Emacs issue, though
a step can still be taken to help users protect from this abuse.

For example, Notepad++ on Windows does not load user plugins (located in
AppData) when run as Administrator - unless an Administrator explicitly
puts a specific file in the protected installation directory
("allowAppDataPlugins.xml").

Best,
Dor Azouri


On Sat, Sep 30, 2017 at 1:55 AM Noam Postavsky <
npostavs@users.sourceforge.net> wrote:

> tags 28618 - unreproducible
> tags 28618 + notabug
> quit
>
> Glenn Morris <rgm@gnu.org> writes:
>
> > On some systems, sudo may preserve HOME by default. Or it may be
> > optional behaviour with "sudo -E" (eg on Debian 8, it seems).
>
> Ah, that explains the discrepancy then (it's the same with Debian 9,
> which I'm using here).
>
> > Ref eg
> >
> >
> https://security.stackexchange.com/questions/18369/issues-with-preserving-home-on-sudo
> >
> > As it stands, I don't think this is an Emacs issue.
>
> I agree.
>

[-- Attachment #2: Type: text/html, Size: 1884 bytes --]

  reply	other threads:[~2017-10-01 15:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 13:56 bug#28618: Emacs Security Issue Dor Azouri
2017-09-27 15:44 ` John Wiegley
2017-09-27 16:02   ` Dor Azouri
2017-09-27 16:23 ` Andreas Schwab
2017-09-27 17:24 ` Glenn Morris
2017-09-27 18:03   ` Glenn Morris
2017-09-28 11:25 ` Noam Postavsky
2017-09-29 12:57   ` Dor Azouri
2017-09-29 13:24     ` Noam Postavsky
2017-09-29 16:41       ` Glenn Morris
2017-09-29 22:55         ` Noam Postavsky
2017-10-01 15:27           ` Dor Azouri [this message]
2017-10-06  2:23             ` Noam Postavsky
2018-03-17  1:43               ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALVPaFasBY5gDJZ3EE95UGpiV2o0Ra=6QRSkJVhRu=3bYTBZGQ@mail.gmail.com' \
    --to=dor.azouri@safebreach.com \
    --cc=28618@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.