Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 16 Nov 2009 17:39:30 -0500 (EST)
From: Josh Bressers <>
Subject: Re: CVE request: oping allows the disclosure of
  arbitrary file contents

----- "Tomas Hoger" <> wrote:
> On Thu, 15 Oct 2009 15:15:57 +0200 Julien Tinnes <> wrote:
> > in case anyone cares, oping also attempts to drop privileges with
> > setuid(getuid()); without checking setuid()'s return value.
> > 
> > It's an obvious vulnerability, because a local attacker can make setuid()
> > fail by setting a resource limit of 0 for RLIMIT_NPROC with setrlimit().
> Does the RLIMIT_NPROC trick work against oping, or any setuid app that calls
> setuid(getuid())?

This should work for everything that calls setuid()

I have a little bit about this here:

The short story is that if you call setuid(), you need to check the return


Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.