mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Heusden van, FJJ  " "(Folkert)" <F.J.J.Heusden@rn.rabobank.nl>
Cc: Roy Sigurd Karlsbakk <roy@karlsbakk.net>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: RE: random PID patch
Date: 11 Nov 2002 13:10:03 +0000	[thread overview]
Message-ID: <1037020203.2919.26.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <11D18E6D1073547-1319@_rabobank.nl_>

On Mon, 2002-11-11 at 10:12, Heusden van, FJJ (Folkert) wrote:
> 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


  parent reply	other threads:[~2002-11-11 12:38 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 [this message]
2002-11-12 17:42   ` Pavel Machek
  -- 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=1037020203.2919.26.camel@irongate.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=F.J.J.Heusden@rn.rabobank.nl \
    --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®