mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "Heusden van, FJJ   (Folkert)" <F.J.J.Heusden@rn.rabobank.nl>,
	Roy Sigurd Karlsbakk <roy@karlsbakk.net>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: random PID patch
Date: Tue, 12 Nov 2002 18:42:08 +0100	[thread overview]
Message-ID: <20021112174207.GB187@elf.ucw.cz> (raw)
In-Reply-To: <1037020203.2919.26.camel@irongate.swansea.linux.org.uk>

Hi!

> > Sometimes, (well; frequently) programs that create temporary
> > files let the filename depend on their PID. A hacker could use
> > that knowledge. So if you know that the application that
> 
> Still can if its random. The attacker can be the one who exec's the
> vulnerable app. The attacker can use dnotify
> 
> > things it's not supposed to. Like forcing suid apps to create
> > a file in the startup-scripts dir. or something.
> 
> Just use namespaces and give every login their own /tmp

Use namespaces? I thought export TMPDIR= was the solution ;-).

							Pavel
-- 
When do you have heart between your knees?

  reply	other threads:[~2002-11-12 17:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-11 10:12 Heusden van, FJJ (Folkert)
2002-11-11 10:17 ` Tomas Szepe
2002-11-11 13:10 ` Alan Cox
2002-11-12 17:42   ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-11 10:20 Heusden van, FJJ (Folkert)
2002-11-11 10:14 Grzegorz Jaskiewicz
2002-11-11  8:40 Heusden van, FJJ (Folkert)
2002-11-11  9:57 ` Roy Sigurd Karlsbakk

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=20021112174207.GB187@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=F.J.J.Heusden@rn.rabobank.nl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roy@karlsbakk.net \
    /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

all inboxes | Powered by JetHome®