Re: uhm.. *swallows*.. security thingy?

From: Date: Tue, 11 Dec 2001 13:23:55 +0000
Subject: Re: uhm.. *swallows*.. security thingy?
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-73018@lists.php.net to get a copy of this message
On Tue, 2001-12-11 at 14:04, Zeev Suraski wrote: > At 12:36 11/12/2001, Mathieu Kooiman wrote: > >On Tue, 2001-12-11 at 11:29, Zeev Suraski wrote: > > > Would the cwd of the PHP CGI be inside the user's dir? Did you test it in > > > a real CGI environment? > > > > > > Zeev > > > >Err, PHP CGI would be in /usr/local/bin/php.. > > Yeah, but that's not what I asked - I asked about the cwd (current working > directory :) > There are situaties where you have like: /opt/guide/somesite.com/cgi-bin /opt/guide/somesite.com/htdocs /opt/guide/somesite.com/logs cgi-bin and htdocs (2 possible cwds) are under user control. (if *that*'s what you meant) > >'Wouter' tells me he has tested it in a real CGI environment. > > This is exploitable iff the cwd of PHP when running as a CGI is a directory > under the user's control. > > Zeev

« previous php.dev (#73018) next »