[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LuckyBot v3 Remote File Include
- To: bugtraq@xxxxxxxxxxxxxxxxx
- Subject: Re: LuckyBot v3 Remote File Include
- From: Stuart Moore <smoore.bugtraq@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Dec 2006 18:33:52 -0500
Hi,
> www.Example.com/[Lucky]/run.php?dir=SHELL?&file=
> www.Example.com/[Lucky]/classes/ircbot.class.php?dir=SHELL?&file=
In 'run.php', the include statement ( include_once $dir . $file; ) is
within a function:
include_dir($dir)
It appears that the function is never called with user-controllable input.
In 'classes/ircbot.class.php', the include statement ( include $dir .
$file ."/plugin.php"; ) is also within a function:
load_plugins($dir)
Again, it appears that the function is never called with
user-controllable input.
Did you test this?
Stuart