#22368 [Opn->Bgs]: safe mode on allows users to include (read) system files
| From: | iliaa@php.net | Date: | Sat, 22 Feb 2003 20:10:33 +0000 |
| Subject: | #22368 [Opn->Bgs]: safe mode on allows users to include (read) system files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33928@lists.php.net to get a copy of this message | ||
ID: 22368
Updated by: iliaa@php.net
Reported By: phpspam at overclockersclub dot com
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: Red Hat 7.2 Linux
PHP Version: 4.3.1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Safemode prevents PHP from opening files owned by a user different from
the one PHP is running as. If you /etc/passwd is owned by root and your
PHP runs as root safe_mode will not stop PHP from opening the file.
Previous Comments:
------------------------------------------------------------------------
[2003-02-21 20:51:02] phpspam at overclockersclub dot com
Safe Mode appears to be on, it says its on for local and master via
phpinfo() script. I can virtual include /etc/passwd and it will shows
the contents of the file. However, "some" function appear to be blocked
by safe mode.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22368&edit=1