Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 22 Mar 2013 15:46:56 -0500
From: John Lightsey <>
Subject: Re: CVE request: mod_ruid2 before 0.9.8

On 03/22/2013 03:36 PM, Kurt Seifried wrote:
> On 03/22/2013 09:08 AM, John Lightsey wrote:

>> In versions of mod_ruid2 before 0.9.8, the filedescriptor used to
>> break out of the chroot is inherited by all Apache subprocesses.
>> This allows CGI scripts to also to break out of the chroot by
>> performing a fchdir() across the inherited file descriptor.
> Can
> you provide a link to the source code fix? thanks.

The key part of the fix is the block at line 366:

} else if (fcntl(root_handle, F_SETFD, FD_CLOEXEC) < 0) {

Download attachment "signature.asc" of type "application/pgp-signature" (901 bytes)

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.