BugTraq
Back to list
|
Post reply
Re: REMOTE FILE INCLUSION ( ALL )
Jun 14 2006 09:54AM
eufrato gmail com
http://www.root-security.org/danger/boastMachine.txt
Was this tried on a running site?or was this just source inspected?
in boastmachine folder, the below shouldn't be vulnerable with config.php declaring $bmc_dir.
vote.php
--------------------------------------
include_once dirname(__FILE__)."/config.php";
include_once dirname(__FILE__)."/$bmc_dir/main.php";
config.php
--------------------------------------
$bmc_dir="bmc";
/K-159
[ reply ]
Privacy Statement
Copyright 2010, SecurityFocus
Was this tried on a running site?or was this just source inspected?
in boastmachine folder, the below shouldn't be vulnerable with config.php declaring $bmc_dir.
vote.php
--------------------------------------
include_once dirname(__FILE__)."/config.php";
include_once dirname(__FILE__)."/$bmc_dir/main.php";
config.php
--------------------------------------
$bmc_dir="bmc";
/K-159
[ reply ]