Waraxe IT Security Portal
Login or Register
November 24, 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: 64
Members: 0
Total: 64
Full disclosure
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Newbies corner -> phpbb 2.0.21: A PoC exploit to change Avatar file location
Post new topicReply to topic View previous topic :: View next topic
phpbb 2.0.21: A PoC exploit to change Avatar file location
PostPosted: Sat Aug 23, 2008 1:21 pm Reply with quote
c2java
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8




http://www.milw0rm.com/exploits/2348
im asking for a detailed explanation on how to use this thing. im trying to run it with these arguments selecting my own 2.0.21 phpbb forum as the victim:
perl phpbb.pl localhost/forum [actual admin name] [actual admin password] images/avatars/shell.php
it "thinks" for a sec and then just ends without any output and the avatar location doesnt change. what the hell am i doing wrong, how do i do it right and do i really have to put in the forum's admin's name and his password in order to make it work, coz i dont think if ill find the exploit very practical then..
View user's profile Send private message
PostPosted: Sat Aug 23, 2008 4:18 pm Reply with quote
lenny
Valuable expert
Valuable expert
Joined: May 15, 2008
Posts: 275




I belive that it should be:
Quote:
perl phpbb.pl localhost/forum [admin password] images/avatars/shell.php


Thats just from first glance Smile

Try it and get back to us Smile
View user's profile Send private message
PostPosted: Sat Aug 23, 2008 6:42 pm Reply with quote
c2java
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8




nope, i dont know perl but i can still tell that you need 5 arguments (although i dont use the 5th as you might have noticed coz it gives me errors, i'd like some1 to lighten my mind on this one, i use [d<DEBUG>] as the last argument (just like it says in the exploit's code) and it gives me "The system cannot find the file specified.").
but thanks for the reply anyway ^^
View user's profile Send private message
PostPosted: Sun Aug 24, 2008 12:05 am Reply with quote
gibbocool
Advanced user
Advanced user
Joined: Jan 22, 2008
Posts: 208




Im pretty sure you need to be admin.

_________________
http://www.gibbocool.com
View user's profile Send private message Visit poster's website
PostPosted: Sun Aug 24, 2008 8:39 am Reply with quote
c2java
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8




could be, but as i said i am entering admin user and pass and it still doesnt work
View user's profile Send private message
PostPosted: Sun Aug 24, 2008 3:09 pm Reply with quote
lenny
Valuable expert
Valuable expert
Joined: May 15, 2008
Posts: 275




... If you have access to the admin account, why not just change the path manually... and also, what is the aim of this attack if you alrady have control?
View user's profile Send private message
PostPosted: Sun Aug 24, 2008 5:31 pm Reply with quote
c2java
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8




im trying the exploit on my own forum before the actual attack
View user's profile Send private message
PostPosted: Sun Aug 24, 2008 7:38 pm Reply with quote
lenny
Valuable expert
Valuable expert
Joined: May 15, 2008
Posts: 275




Ok, upon closer inspection you were right - both admin username and password need to be supplied. The avatar location isn't supposed to change I believe - I think that it allows the upload of any file type to any directory through the profile page. The exploit simply adds the poison null byte to the end of the avatar path, possibly breaking any validation attempts by phpBB allowing you to upload malicious files.

Admittedly, the exploit is not very well documented, and no white-paper is provided...
View user's profile Send private message
PostPosted: Mon Aug 25, 2008 6:17 am Reply with quote
c2java
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8




thanks alot but i still cant quite grasp how to choose where to upload the file..
View user's profile Send private message
PostPosted: Mon Aug 25, 2008 10:29 am Reply with quote
lenny
Valuable expert
Valuable expert
Joined: May 15, 2008
Posts: 275




Ok this is getting a little tedious Razz
I (to be absolutley honest) dont know. I get the idea behind the exploit, but it goes in no detail how to actually comprimise the system. From what I can see, all this does is add %00 to the avatar url - a simple poison null byte. Im pretty sure this can be exploited, but due to the lack of information provided by the exploit author I cannot do any more easily.

Edit: Ok, so I am doing a little more research - Ill post if i find anything.
View user's profile Send private message
PostPosted: Tue Aug 26, 2008 6:29 pm Reply with quote
c2java
Regular user
Regular user
Joined: Aug 17, 2008
Posts: 8




thanks, i appreciate it alot
View user's profile Send private message
phpbb 2.0.21: A PoC exploit to change Avatar file location
www.waraxe.us Forum Index -> Newbies corner
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 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.046 Seconds