Bug #17169 Updated: include_path allows bypass of safe_mode

From: Date: Mon, 20 May 2002 16:42:03 +0000
Subject: Bug #17169 Updated: include_path allows bypass of safe_mode
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8000@lists.php.net to get a copy of this message
ID: 17169 Updated by: mfischer@php.net Reported By: ilia@prohost.org -Status: Open +Status: Feedback Bug Type: Performance problem Operating System: Linux 2.4.18 PHP Version: 4.2.0 New Comment: Is this still an issue or just a configuraion/whatever problem? Previous Comments: ------------------------------------------------------------------------ [2002-05-13 03:35:51] sitnikov@infonet.ee I has test this on 4.1.2 & 4.2.0 and it not work for me. ------------------------------------------------------------------------ [2002-05-12 19:16:58] ilia@prohost.org By setting include_path setting to any directory readable to the webserver it is possible to read files from the directory regardless of safe_mode limitations. Ex. <?php ini_set('include_path', '/etc/'); include('passwd'); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17169&edit=1

« previous php.bugs (#8000) next »