note 88873 added to function.chown

From: Date: Wed, 11 Feb 2009 19:47:25 +0000
Subject: note 88873 added to function.chown
Groups: php.notes 
Request: Send a blank email to php-notes+get-150510@lists.php.net to get a copy of this message
To Mikevac at yahoo dot com : This is, in fact, so exceedingly dangerous as to render your system compromised. By allowing a non-root user to change ownership of a file, a simple operation of: 1. Compile executable that spawns a Bash shell. 2. Set suid bits on said executable. 3. Change owner of said executable to root. 4. Run said executable. is sufficient to 0wn the system in question. ---- Server IP: 64.71.164.2 Probable Submitter: 209.51.167.2 ---- Manual Page -- http://www.php.net/manual/en/function.chown.php Edit -- https://master.php.net/note/edit/88873 Del: integrated -- https://master.php.net/note/delete/88873/integrated Del: useless -- https://master.php.net/note/delete/88873/useless Del: bad code -- https://master.php.net/note/delete/88873/bad+code Del: spam -- https://master.php.net/note/delete/88873/spam Del: non-english -- https://master.php.net/note/delete/88873/non-english Del: in docs -- https://master.php.net/note/delete/88873/in+docs Del: other reasons-- https://master.php.net/note/delete/88873 Reject -- https://master.php.net/note/reject/88873 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#150510) next »