note 15023 added to security.apache.php
| From: | php-general at lists dot php dot net | Date: | Fri, 24 Aug 2001 15:56:16 +0000 |
| Subject: | note 15023 added to security.apache.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17080@lists.php.net to get a copy of this message | ||
Using posix_kill() function you can kill the child servers of others vhosts. (httpd)
If you use safe_mode_exec_dir to restrict a path for exec programs... and use the htdocs as
restricted path, the user can upload a sh binary and exec anything.
The best solution is modify suexec.c and make a chroot to restricted envs... one for each vhost.
http://www.php.net/manual/en/security.apache.php