public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Philip Webb <purslow@ca.inter.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: gentoo netheck
Date: Tue, 1 Jan 2013 20:21:54 -0500	[thread overview]
Message-ID: <20130102012154.GA1084@ca.inter.net> (raw)
In-Reply-To: <877gnw5yi3.fsf@ist.utl.pt>

130102 Nuno J. Silva wrote:
> On 2013-01-01, Bryan Gardiner wrote:
>>  Today I wanted to install nethack and found it is masked:
> If you're the only user of your computer, you could also just unmask
> the version in Portage.  The bug is that any user in the games group
> can edit all save files, so if you want to hack your own saves, go ahead.
> The main problem is not the cheating, but that nethack does not employ
> any kind of checks on the scores file when reading it, this effectively
> enables an attack vector where anyone with access to the scores file can
> exploit vulnerabilities in nethack simply by writing a specially-crafted
> score file.
> Nethack just relies on being setgid to a group and installing the scores
> file as writeable by that group. Unfortunately, that happens to be the
> very same "games" group Gentoo uses to group users who are allowed to
> play games, therefore rendering nethack's protection useless.

Does the insecurity extend beyond Nethack itself ?
-- if not, hard-masking it seems a bit draconian:
it sb quite safe on a single-user system.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca



  reply	other threads:[~2013-01-02  1:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <50E32270.8000500@gmail.com>
2013-01-01 18:01 ` [gentoo-user] gentoo netheck Analuin Abyssbeholder
2013-01-01 18:12   ` Analuin Abyssbeholder
2013-01-01 18:44   ` Bryan Gardiner
2013-01-01 22:28     ` [gentoo-user] " Nuno J. Silva
2013-01-02  1:21       ` Philip Webb [this message]
2013-01-02 14:30         ` Nuno J. Silva

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=20130102012154.GA1084@ca.inter.net \
    --to=purslow@ca.inter.net \
    --cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox