note 10525 deleted from Handling file uploads by zak

From: Date: Tue, 09 Jan 2001 08:10:11 +0000
Subject: note 10525 deleted from Handling file uploads by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9508@lists.php.net to get a copy of this message
Emmm.... Gemini1. You might wanna do something about that script. You are allowing people to upload anything, and then accessing the file directly. I meen if "someone" where to write and upload a little php/html script looking something like this. <HTML><HEAD></HEAD> <BODY BGCOLOR="#FFFFFF"> <form action="demo.php" method="post"> <TEXTAREA NAME="txt" ROWS="20" COLS="80">&lt;? print (system($command)); ?></TEXTAREA> <INPUT TYPE="text" size="64" NAME="command"> <INPUT TYPE="submit" value="<[exec]>"> </form> </BODY></HTML> They would have a need little system console, and have read access to anything on the intire server. And Read/write acces to your upload dir. I dont think your host, and all the other sites hosted on that server fancies that too much..;)

« previous php.notes (#9508) next »