Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54646 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16402 invoked from network); 17 Aug 2011 13:16:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2011 13:16:56 -0000 Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Windows 98 (1) Received: from [91.118.73.15] ([91.118.73.15:34515] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/F1-03278-74FBB4E4 for ; Wed, 17 Aug 2011 09:16:55 -0400 Received: from rh.thelounge.net (rh.thelounge.net [10.0.0.99]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id 5C90BB7; Wed, 17 Aug 2011 15:16:52 +0200 (CEST) Message-ID: <4E4BBF43.7060100@thelounge.net> Date: Wed, 17 Aug 2011 15:16:51 +0200 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: internals@lists.php.net References: <4E4AE153.20704@thelounge.net> <4E4BB04C.3020200@thelounge.net> In-Reply-To: X-Enigmail-Version: 1.2 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1404A3F34FA8AB36D549E7FB" Subject: Re: [PHP-DEV] https://bugs.php.net/bug.php?id=52312 From: h.reindl@thelounge.net (Reindl Harald) --------------enig1404A3F34FA8AB36D549E7FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 17.08.2011 14:25, schrieb Pierre Joye: > hi, >=20 > On Wed, Aug 17, 2011 at 2:13 PM, Reindl Harald = wrote: >=20 >> defaults on all servers i maintain since 10 years >> "popen" is disabled per vhost with "php_admin_value suhosin.executor.f= unc.blacklist" >> since "disable_functions" is to dumb working on -directive >> >> disable_functions =3D "exec, passthru, shell_exec, system, proc_open, = proc_close, proc_nice, proc_terminate, >> proc_get_status, pcntl_exec, apache_child_terminate, posix_kill, posix= _mkfifo, posix_setpgid, posix_setsid, >> posix_setuid, mail, symlink" >=20 > symlink is not disabled in most ISPs I work with or used (and that's > quite a lot). most setups out there are unsecure as hell this is no reason to ignore proper configured > Besides the arguments already stated in the bug report, there is no > chance that we will change this. All past attempts to "optimize" > open_basedir (and before safemode) has ended as shooting ourselves in > the knees.=20 if "realpath_cache" would be a little smarter and include a hash on the open_basedir there would be nothing to change on open_basedir side > It is still too slow for your needs? Don't use it and rely > on system's solutions (or web server, like on IIS or many fastcgis). > It sounds bad but that's how it is the point is that "realpath_cache" is simply useless show me one well thought setup without open_basedir and after that think about your definition of "well thought" if you think you found one - even with fastcgi and sepearted users there should never be any access outside the docroot possible so if "realpath_cache" will not be fixed in combination with "open_basedi= r" it can be totally removed also for the handful of non-shared hosts --------------enig1404A3F34FA8AB36D549E7FB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5Lv0MACgkQhmBjz394AnlvYQCgg7ZWY6/z0xdiHMcbV81vp839 irgAnjZIEEBh7BgxxmAdt1BrpIA+u/Fe =ncgp -----END PGP SIGNATURE----- --------------enig1404A3F34FA8AB36D549E7FB--