Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
December 8, 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: 300
Members: 0
Total: 300
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.20 Admin/Restore Database remote cmmnds xctn Goto page 1, 2  Next
Post new topic  Reply to topic View previous topic :: View next topic 
PhpBB <= 2.0.20 Admin/Restore Database remote cmmnds xctn
PostPosted: Sat May 13, 2006 8:03 pm Reply with quote
retrog
Beginner
Beginner
 
Joined: Apr 09, 2006
Posts: 1




with admin sid is still possible to execute arbitrary code, poc exploit:

http://retrogod.altervista.org/phpbb_2020_admin_xpl.html

there are a lot of ways to retrieve the magic sid, google links, referrer logs and so on....
View user's profile Send private message
PostPosted: Sun May 14, 2006 5:12 pm Reply with quote
szmatlawiec
Regular user
Regular user
 
Joined: May 14, 2006
Posts: 8




hi, how to use this php exploit ? its just showing me the source of file like this:

Code:
#!/usr/bin/php -q -d short_open_tag=on PhpBB <= v2.0.20 "Admin/Restore Database/default_lang remote commands execution by rgod rgod@autistici.org site: http://retrogod.altervista.org -> you need an admin sid, works regardless of magic_quotes_gpc settings tested and working against a fresh PhpBB installation Usage: php host path sid cmd OPTIONS host: target server (ip/hostname) path: path to PhpBB sid: session id cmd: a shell command Options: -p[port]: specify a port other than 80 -P[ip:port]: specify a proxy Examples: php localhost /phpbb/ 8db5cef976c7e0f51c25c92152b56881 cat config.php php localhost /phpbb/ 8db5cef976c7e0f51c25c92152b56881 ls -la -p81 php localhost / 8db5cef976c7e0f51c25c92152b56881 ls -la -P1.1.1.1:80


thanks in advance

edit:/

or maybe anyone can explain to me, how to use php srcipts with this on top:
Code:
#!/usr/bin/php -q -d short_open_tag=on

?
View user's profile Send private message Visit poster's website
PostPosted: Mon May 15, 2006 9:29 pm Reply with quote
sljyro
Advanced user
Advanced user
 
Joined: Mar 23, 2006
Posts: 53




yeah i would like to know the above too, thanks.
View user's profile Send private message
Re: PhpBB <= 2.0.20 Admin/Restore Database remote cmmnds
PostPosted: Tue May 16, 2006 2:13 pm Reply with quote
ketchup
Regular user
Regular user
 
Joined: May 16, 2006
Posts: 23
Location: no




retrog wrote:
with admin sid is still possible to execute arbitrary code, poc exploit:

http://retrogod.altervista.org/phpbb_2020_admin_xpl.html

there are a lot of ways to retrieve the magic sid, google links, referrer logs and so on....


pls tell me more about how to get the session id

when the admin klick on some link, the sid can be retrieved??

greetz ketchup
View user's profile Send private message
PostPosted: Tue May 16, 2006 3:03 pm Reply with quote
szmatlawiec
Regular user
Regular user
 
Joined: May 14, 2006
Posts: 8




ketchup, you can use xss attack with cookie stealer, links here:

xss
http://milw0rm.com/exploits/1457
cookie stealer
http://www.milw0rm.com/id.php?id=1103

and then with sid use rgod exploit... how ? dunno, you saw my first post so if you know how to use this php exploit then please explain.
View user's profile Send private message Visit poster's website
PostPosted: Tue May 16, 2006 5:18 pm Reply with quote
ketchup
Regular user
Regular user
 
Joined: May 16, 2006
Posts: 23
Location: no




szmatlawiec wrote:
ketchup, you can use xss attack with cookie stealer, links here:

xss
http://milw0rm.com/exploits/1457
cookie stealer
http://www.milw0rm.com/id.php?id=1103

and then with sid use rgod exploit... how ? dunno, you saw my first post so if you know how to use this php exploit then please explain.


i have tested this exploit on my own forums. Its easy.

You need active perl for windows, install this first

save perl script in .pl file with notepad or something path e.g. in c:\

then open cmd (command prompt)

run perl script by typing: "perl nameofperlscripthere.pl"

in linux:

do the same in console
View user's profile Send private message
PostPosted: Tue May 16, 2006 5:34 pm Reply with quote
ketchup
Regular user
Regular user
 
Joined: May 16, 2006
Posts: 23
Location: no




szmatlawiec wrote:
ketchup, you can use xss attack with cookie stealer, links here:

xss
http://milw0rm.com/exploits/1457
cookie stealer
http://www.milw0rm.com/id.php?id=1103

and then with sid use rgod exploit... how ? dunno, you saw my first post so if you know how to use this php exploit then please explain.


this sucks because in freshly installed phpbb html is turned off and you would
have to be a huge retard to turn it on
View user's profile Send private message
PostPosted: Tue May 16, 2006 5:43 pm Reply with quote
ketchup
Regular user
Regular user
 
Joined: May 16, 2006
Posts: 23
Location: no




what does this mean:

Quote:

Last but not least, don't forget to create a cookies.txt on your server and chmod it 666...


http://www.hackthissite.org/articles/read/175/

edit: sorry found it http://www.zzee.com/solutions/chmod-666.shtml
View user's profile Send private message
PostPosted: Tue May 16, 2006 5:51 pm Reply with quote
szmatlawiec
Regular user
Regular user
 
Joined: May 14, 2006
Posts: 8




ketchup, you can pm admin with link to cookie stealer, just change name to something like index.php and upload it on some site with nice address and tell him in pm something like: hey check this out, its some cool site with phpbb themes or something, just think ;p

OR we can do like this... i will help you to steal cookie and you will tell me how to use this php exploit Razz?
View user's profile Send private message Visit poster's website
PostPosted: Tue May 16, 2006 8:42 pm Reply with quote
ketchup
Regular user
Regular user
 
Joined: May 16, 2006
Posts: 23
Location: no




szmatlawiec wrote:
ketchup, you can pm admin with link to cookie stealer, just change name to something like index.php and upload it on some site with nice address and tell him in pm something like: hey check this out, its some cool site with phpbb themes or something, just think ;p

OR we can do like this... i will help you to steal cookie and you will tell me how to use this php exploit Razz?


okay, what dont you understand about the exploit?
View user's profile Send private message
PostPosted: Tue May 16, 2006 9:53 pm Reply with quote
szmatlawiec
Regular user
Regular user
 
Joined: May 14, 2006
Posts: 8




watch this
http://asnbk.webd.pl/news/img/hack/phpbb2020.php
how to use it ?Razz how to make it work ?


Last edited by szmatlawiec on Wed May 17, 2006 1:06 am; edited 1 time in total
View user's profile Send private message Visit poster's website
PostPosted: Wed May 17, 2006 12:43 am Reply with quote
trace
Regular user
Regular user
 
Joined: May 17, 2006
Posts: 8




Thanks for sharing, although I dont's know how to use it to a nicety
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Wed May 17, 2006 3:06 am Reply with quote
ketchup
Regular user
Regular user
 
Joined: May 16, 2006
Posts: 23
Location: no




szmatlawiec wrote:
watch this
http://asnbk.webd.pl/news/img/hack/phpbb2020.php
how to use it ?Razz how to make it work ?


wtf

run it on your computer, dont upload it Shocked
View user's profile Send private message
PostPosted: Wed May 17, 2006 11:52 am Reply with quote
szmatlawiec
Regular user
Regular user
 
Joined: May 14, 2006
Posts: 8




on apache with intsalled php its still not working, so how? tell me how you used it? and how it works then? Wink
View user's profile Send private message Visit poster's website
PostPosted: Wed May 17, 2006 1:09 pm Reply with quote
Chb
Valuable expert
Valuable expert
 
Joined: Jul 23, 2005
Posts: 206
Location: Germany




szmatlawiec wrote:
on apache with intsalled php its still not working, so how? tell me how you used it? and how it works then? Wink


And why not? Rolling Eyes
Otherwise try using "php <file>" in console.

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
PhpBB <= 2.0.20 Admin/Restore Database remote cmmnds xctn
  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






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.084 Seconds