Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
March 29, 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: 744
Members: 0
Total: 744
PacketStorm News
·301 Moved Permanently

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

www.waraxe.us Forum Index -> Sql injection -> question about Vbulletin forum
Post new topic  Reply to topic View previous topic :: View next topic 
question about Vbulletin forum
PostPosted: Fri Nov 11, 2005 8:24 pm Reply with quote
super
Active user
Active user
 
Joined: Sep 19, 2005
Posts: 30




ok I registared a null version VB forum and after that I donload the backup database from the VB forum.
now I see my pass hash in the backup file showing
Code:
57ebe983e50b8e129c34b0b7e8d0461b


but when I chack in cookie.txt of my computer then I see my pass hash shoing
Code:
48bc02fa217cfd7c13adac0e2abddefd


that's mean in the cookie.txt my pass value showing
Code:
48bc02fa217cfd7c13adac0e2abddefd

but in the backup database(sql) my pass value showing
Code:
57ebe983e50b8e129c34b0b7e8d0461b

why cookie pass value and backup pass value look like different? Sad

why??????? Sad

have any things which can convert the pass hash 57ebe983e50b8e129c34b0b7e8d0461b to 48bc02fa217cfd7c13adac0e2abddefd ????????????
View user's profile Send private message
PostPosted: Sat Nov 12, 2005 4:07 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Vbulletin is hard-to-exploit software Very Happy

VB uses sessionIds and salted md5 hashes. If "remember me" option is enabled, then this piece of code

Code:

if ($send_cookies)
{
  if ($_REQUEST['cookieuser'])
  {
    vbsetcookie('userid', $bbuserinfo['userid']);
    vbsetcookie('password', md5($bbuserinfo['password'] . '[#]license[#]'));
  }


will set up cookie with md5 hash, combined from salted md5 hash and vbb licence number. This salted piece of data - $bbuserinfo['password'] -
is actually gotten as:

Code:

salted_hash = md5( md5(real_password) . salt_string )


So, in summary:

Code:

cookie_password = md5( md5( md5(real_password) . salt_string ) . licence_nr)


Actually kinda triple-md5 Shocked

Now, sessionhash is even less informative:

Code:

function fetch_sessionhash()
{
  return md5(TIMENOW . SCRIPTPATH . SESSION_IDHASH . SESSION_HOST . vbrand(1, 1000000));
}



So, if you can get sessionhash, then only way to use it is to try somehow hijack session before real user will log out. There are protective measures in vbb against this kind of attacks, but it may be possible in some conditions.
If you will have cookie_password, then you must somehow get from vbb sql database salt value (3 chars) and additionally licence nr. Now it is possible to use standard md5 hash attack methods - wordlists and bruteforce. Of course, specially modified software is needed, because of the salted hashes. By the way, rainbow cracking will not help in case of salted hashes.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Nov 12, 2005 10:23 am Reply with quote
super
Active user
Active user
 
Joined: Sep 19, 2005
Posts: 30




thanks
but what modified software I need for salted hash

Q2: which software or somthing can show this salted hash 57ebe983e50b8e129c34b0b7e8d0461b

to

48bc02fa217cfd7c13adac0e2abddefd
View user's profile Send private message
PostPosted: Sat Nov 12, 2005 1:23 pm Reply with quote
y3dips
Valuable expert
Valuable expert
 
Joined: Feb 25, 2005
Posts: 281
Location: Indonesia




more easier to sniff along the user when login to the site if u see the triple md5 and salt Laughing
i guess u need to change a direction n find another door to break in Razz

[sorry if it doesnt help Razz ]

_________________
IO::y3dips->new(http://clog.ammar.web.id);
View user's profile Send private message Visit poster's website Yahoo Messenger
PostPosted: Sat Nov 12, 2005 2:51 pm Reply with quote
super
Active user
Active user
 
Joined: Sep 19, 2005
Posts: 30




what direction you talking about Sad I don't undarstand clearly.
please explain it again Sad
View user's profile Send private message
PostPosted: Sun Nov 13, 2005 8:22 am Reply with quote
super
Active user
Active user
 
Joined: Sep 19, 2005
Posts: 30




I want to change the salt value
Code:
backup_password = md5( md5(real_password) . salt_string )
TO
Code:
cookie_password = md5( md5( md5(real_password) . salt_string ) . licence_nr)


that's mean I want to change(convert) the backup hash value TO cookie hash value!!
which things can do it????
View user's profile Send private message
question about Vbulletin forum
  www.waraxe.us Forum Index -> Sql injection
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.159 Seconds