Re: Using 'header' as redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, I do tests to make sure that the file actually exists and what not. I have just simplified my code for this example....

~PT


On May 30, 2006, at 11:27 AM, Martin Alterisio wrote:

2006/5/30, Philip Thompson <prthomp@xxxxxxxx>:
<?
if ($subPage = $_GET['page'])
   include ("$subPage");
?>

Are you checking what the user is sending inside $_GET['page']? If not, your system is vulnerable to a remote file injection.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux