all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleh Krehel <ohwoeowho@gmail.com>
To: Mike Kupfer <mkupfer@alum.berkeley.edu>
Cc: 25611@debbugs.gnu.org
Subject: bug#25611: 26.0.50; dired-do-compress unpacks .tgz files
Date: Mon, 6 Mar 2017 11:53:15 +0100	[thread overview]
Message-ID: <CAA01p3o=skAf=SNCtykM6XWrXvpEVoR9yQaHEkCTMsso9q5hbA@mail.gmail.com> (raw)
In-Reply-To: <6062.1488672111@alto>

Hi Mike,

> It occurs to me that this could be considered a security vulnerability.
> If the .tgz file is (unintentionally) unpacked in $HOME and contains a
> .ssh/authorized_keys, that could give an attacker access to the victim's
> account.

The file is uncompressed into a directory with the same name. So the
file would have to be ~/.ssh.tar.gz. If a user presses "Z" on that
file, it's pretty clear what will happen, same as with "C" on e.g. an
`authorized_keys' file somewhere.

regards,
Oleh





  reply	other threads:[~2017-03-06 10:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-03  3:50 bug#25611: 26.0.50; dired-do-compress unpacks .tgz files Mike Kupfer
2017-02-03 17:42 ` Glenn Morris
2017-03-05  0:01   ` Mike Kupfer
2017-03-06 10:53     ` Oleh Krehel [this message]
2017-03-06 17:28       ` Mike Kupfer
2017-03-06 17:51     ` Glenn Morris
2017-03-06 18:42       ` Mike Kupfer
2017-03-06 19:03         ` Mike Kupfer
2018-11-21 18:13           ` Glenn Morris

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='CAA01p3o=skAf=SNCtykM6XWrXvpEVoR9yQaHEkCTMsso9q5hbA@mail.gmail.com' \
    --to=ohwoeowho@gmail.com \
    --cc=25611@debbugs.gnu.org \
    --cc=mkupfer@alum.berkeley.edu \
    /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.