[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: many packages write to `temporary-file-directory' insecurely
From: |
Steve Kemp |
Subject: |
Re: many packages write to `temporary-file-directory' insecurely |
Date: |
Mon, 18 Mar 2002 23:49:01 +0000 |
User-agent: |
Mutt/1.2.5i |
On Mon, Mar 18, 2002 at 05:36:23PM -0500, Colin Walters wrote:
> I was talking with some Debian hackers on IRC about this problem, and
> one of them suggested a setgid helper program, sort of like movemail.
> This seems to me to be the best solution. We could give it arguments
> like:
>
> /usr/lib/emacs/21.3/update-score --file=/var/games/emacs/snake-scores
> --add-score "Jane Hacker <address@hidden> 12345 points"
> Any thoughts/objections regarding this solution?
It would solve the file locking problem, and allow shared scores.
But it would appear to have the major flaw that a malicious user
could fake their scores with almost no effort, eg:
[matrix] skx > update-score --file=/var/games/emacs/snake-score --add-score
"Steve 99999999999999 points"
I assume that you'd be making this setgid games, so that other files
wouldn't be overwritable..?
Steve
---
- Re: many packages write to `temporary-file-directory' insecurely, (continued)
- Re: many packages write to `temporary-file-directory' insecurely, Richard Stallman, 2002/03/08
- Re: many packages write to `temporary-file-directory' insecurely, Richard Stallman, 2002/03/08
- Re: many packages write to `temporary-file-directory' insecurely, Colin Walters, 2002/03/10
- Re: many packages write to `temporary-file-directory' insecurely, Richard Stallman, 2002/03/11
- Re: many packages write to `temporary-file-directory' insecurely, Colin Walters, 2002/03/17
- Re: many packages write to `temporary-file-directory' insecurely, Richard Stallman, 2002/03/18
- Re: many packages write to `temporary-file-directory' insecurely, Colin Walters, 2002/03/18
- Re: many packages write to `temporary-file-directory' insecurely,
Steve Kemp <=
- Re: many packages write to `temporary-file-directory' insecurely, Colin Walters, 2002/03/18
- Re: many packages write to `temporary-file-directory' insecurely, Pavel JanÃk, 2002/03/19
- Re: many packages write to `temporary-file-directory' insecurely, Richard Stallman, 2002/03/20
- Re: many packages write to `temporary-file-directory' insecurely, Colin Walters, 2002/03/27
- Re: many packages write to `temporary-file-directory' insecurely, Richard Stallman, 2002/03/30
- Re: many packages write to `temporary-file-directory' insecurely, Stefan Monnier, 2002/03/06
- Re: many packages write to `temporary-file-directory' insecurely, Colin Walters, 2002/03/06
- Re: many packages write to `temporary-file-directory' insecurely, Richard Stallman, 2002/03/08
- Re: many packages write to `temporary-file-directory' insecurely, Colin Walters, 2002/03/08
- Re: many packages write to `temporary-file-directory' insecurely, Richard Stallman, 2002/03/09