lkml.org 
[lkml]   [1997]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux proc exploit


On Thu, 27 Nov 1997, Richard Jones wrote:

> There was a discussion a while back on comp.security.unix (?)
> about whether it was possible to allow chroot() for ordinary
> users. The general conclusion seemed to be that it might
> be possible so long as chroot'd processes are not permitted
> to execute any suid programs. But there may be other nasty
> security implications to this ... Can anyone think of any
> objections? It would certainly be useful to allow, say, users'
> cgi-bin scripts to chroot to a safe environment to reduce
> security risks.

cgi-bin scripts running as "nobody" (or httpd, or whatever you've
configured your server to run as) are generally a bad thing. To get
around that you've got to have root at some point (i.e. suexec,
cgiwrapper), so you might as well chroot in that wrapper.

Dean


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.894 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site