Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
December 6, 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: 285
Members: 0
Total: 285
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 -> vBulletin Board -> vb 3.8.1 vbseo 3.1.0 infernoshout ?
Post new topic  Reply to topic View previous topic :: View next topic 
vb 3.8.1 vbseo 3.1.0 infernoshout ?
PostPosted: Thu Oct 14, 2010 3:48 am Reply with quote
d3a2d3e3
Beginner
Beginner
 
Joined: Oct 14, 2010
Posts: 4




I have been lurking on this site for awhile. Decided to register and participate. The current challenge before me might be easy for some of you, so here goes:

Target is running vBulletin 3.8.1 with an exploitable vbseo 3.1.0 which is a nice start. The local file include vulnerability of vbseo 3.1.0 is the exploit of choice. There are, however, challenges to this:

First, the admin is no idiot, so he has all attachments disabled (can't attach documents, photos, text files, etc to your posts). This means tossing a nice PHP based shell into a text file and attaching it will not work.

Second, you can upload an avatar, a profile picture, and create your own photo albums within vB, but so far I have been unable to hide code in the images I upload through those options because the image processor (GD or ImageMagick - I am not sure which) is intelligent enough to see it is not a valid image file I am uploading.

* If someone has a good idea on how to hide code in the images, I would love to hear it.

Next, I thought about the Infernoshout the site is running. What if I could post some code in chat, then get it to execute? I tested the vbseo LFI vulnerability, and it allows me to view the shoutbox contents even when not logged in. It shows those contents in somewhat of an XML type of look. Since I can use the vbseo LFI vulnerability to see what is in the shoutbox even when not logged in (usually you must be logged in to see shoutbox contents), it seems to me that embedding code in a "shout" could be my ticket to sneaking something through the door so to speak. Expanding upon that, here's the next issue: the shoutbox will not let you post < or > as it will convert them to an alternate kind of text. Without < or > it is hard for me to call out a PHP command, for instance.

* If someone has a good idea on how to obfuscate the < and > in the shoutbox so I can successfully put PHP code in a shout, then I'd have a chance of making this work.

Any ideas on either of the * items I'm facing would be much appreciated!
View user's profile Send private message
PostPosted: Thu Oct 14, 2010 3:58 am Reply with quote
d3a2d3e3
Beginner
Beginner
 
Joined: Oct 14, 2010
Posts: 4




Here is the URL that I use to get the vbseo LFI vulnerability to allow me to view the shoutbox contents even when not logged into the site (normally you must be logged into this particular target in question to view the shoutbox contents):

http://www.[target].com/[forumpath]/vbseo.php?vbseoembedd=1&vbseourl=infernoshout.php

When I use Firefox to view the above URL, I get this message:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

With this content below the message:

Code:

<inferno>

<data>

<div style="padding-top: 1px; padding-bottom: 1px;padding-bottom: 6px;" class="smallfont">Notice: Hack me please!</div>

<div style="padding-top: 1px; padding-bottom: 1px;" class="smallfont">[<span class="time">3 Hours Ago 06:48 PM</span>] <a href="#" onclick="return InfernoShoutbox.open_pm_tab('pm_1', 'Admin');">Admin</a>: I am so elite.</div>

*** other chat messages removed to save space in this post ***

<<~~PARSE_^_BREAKER~~>>0
</data>
</inferno>


It would be awesome to use this view of the shoutbox contents to pass PHP code. Just not sure how I can make it work.
View user's profile Send private message
vb 3.8.1 vbseo 3.1.0 infernoshout ?
  www.waraxe.us Forum Index -> vBulletin Board
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






ATI Radeon 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.078 Seconds