note 95732 added to function.file-get-contents

From: Date: Tue, 19 Jan 2010 01:53:33 +0000
Subject: note 95732 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-165097@lists.php.net to get a copy of this message
If the content of the file has <?php ?> tags, then it's executed as code. Majorly unsafe for service providers anonmyous scripts download and execute other anonymous scripts from anonymous servers. Especially, when anonymous code is shell code. Currently, there's a joomla + linux kernel exploit using this to install rootkits on web hosts. ---- Server IP: 192.41.40.227 Probable Submitter: 68.34.103.127 ---- Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php Edit -- https://master.php.net/note/edit/95732 Del: integrated -- https://master.php.net/note/delete/95732/integrated Del: useless -- https://master.php.net/note/delete/95732/useless Del: bad code -- https://master.php.net/note/delete/95732/bad+code Del: spam -- https://master.php.net/note/delete/95732/spam Del: non-english -- https://master.php.net/note/delete/95732/non-english Del: in docs -- https://master.php.net/note/delete/95732/in+docs Del: other reasons-- https://master.php.net/note/delete/95732 Reject -- https://master.php.net/note/reject/95732 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#165097) next »