#25315 [Opn->Fbk]: vulnerability in mkdir and other unix-commands!

From: Date: Fri, 29 Aug 2003 19:03:25 +0000
Subject: #25315 [Opn->Fbk]: vulnerability in mkdir and other unix-commands!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46926@lists.php.net to get a copy of this message
ID: 25315 Updated by: pollita@php.net Reported By: info at flashman dot ru -Status: Open +Status: Feedback Bug Type: Directory function related Operating System: Linux pr5 2.4.18-3 PHP Version: 4.3.1 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-08-29 13:38:58] info at flashman dot ru Description: ------------ php function mkdir allows hackers to execute various commands on the server. Some scripts need a directory name for user. They may enter '/www/somedir /usr/bin/wget ...' and command '/usr/bin/wget somethinghere' will be executed on the server without problems! It happens when php calls unix command mkdir. Regards, Flashman ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25315&edit=1

« previous php.bugs (#46926) next »