Bug #17168: error_log can be used to bypass safe_mode

From: Date: Sun, 12 May 2002 19:46:58 +0000
Subject: Bug #17168: error_log can be used to bypass safe_mode
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7495@lists.php.net to get a copy of this message
From: ilia@prohost.org Operating system: Linux 2.4.18 PHP version: 4.2.0 PHP Bug Type: Scripting Engine problem Bug description: error_log can be used to bypass safe_mode By doing ini_set('error_log', 'any_path); The user can append data to any file writeable by the webserver. -- Edit bug report at http://bugs.php.net/?id=17168&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17168&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17168&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17168&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17168&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17168&r=support Expected behavior: http://bugs.php.net/fix.php?id=17168&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17168&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17168&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17168&r=globals

« previous php.bugs (#7495) next »