• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hướng dẫn vá lỗi bảo mật nghiêm trọng cho vbulletin 4

Admin

Well-Known Member
Staff member
Administrator
Hiện tại vbulletin 4 đang bị lỗi bảo mật nghiêm trọng, nếu không vá lỗi kịp thời thì khả năng diễn đàn của bạn bị tấn công là rất cao
Với vbulletin 4.2.2 bạn có thể tải về bản vá tại đây
vBulletin Suite 4.2.2 PL1 Patch Only- Nulled By VietVBB-Team
Bạn có thể xem thông tin lỗi ở đây
Security Exploit Patched in versions 3.5, 3.6, 3.7, 3.8, 4.X, 5.X of vBulletin
Đễ khắc phục lỗi bảo mật này bạn cần làm theo những hướng dẫn sau, nên nhớ càng fix càng nhanh càng tốt
Yêu cầu php phiên bản 5.2.0 hoặc cao hơn
kjxf.png

Mở tập tin
includes/functions.php
Tìm
PHP:
$postvars = construct_post_vars_html();
         if ($vbulletin->GPC['postvars'])
         {
            $_postvars = 
@unserialize(verify_client_string($vbulletin->GPC['postvars']));
Thay đoạn
PHP:
$_postvars = 
@unserialize(verify_client_string($vbulletin->GPC['postvars']));
Bằng
PHP:
$_postvars = array();
            $client_string = 
verify_client_string($vbulletin->GPC['postvars']);
            if ($client_string)
            {
                $_postvars = @json_decode($client_string, true);
            }
Mở tập tin includes/functions_login.php
Tìm
PHP:
}
             if ($vbulletin->GPC['postvars'])
             {
                $postvars = 
@unserialize(verify_client_string($vbulletin->GPC['postvars']));
Thay đoạn
PHP:
$postvars = 
@unserialize(verify_client_string($vbulletin->GPC['postvars']));
Bằng
PHP:
$postvars = array();
                $client_string = 
verify_client_string($vbulletin->GPC['postvars']);
                if ($client_string)
                {
                    $postvars = @json_decode($client_string, true);
                }
Tìm tiếp
PHP:
$postvars['securitytoken'] = 
$vbulletin->userinfo['securitytoken'];
                 }
 
                $vbulletin->GPC['postvars'] = 
sign_client_string(serialize($postvars));
Thay đoạn
PHP:
$vbulletin->GPC['postvars'] = 
sign_client_string(serialize($postvars));
Bằng
PHP:
$vbulletin->GPC['postvars'] = 
sign_client_string(json_encode($postvars));
Mở tập tin includes/functions_misc.php
Tìm
PHP:
}
     else if ($vbulletin->superglobal_size['_POST'] > 0)
     {
        return '<input type="hidden" name="postvars" value="' . 
htmlspecialchars_uni(sign_client_string(serialize($_POST))) . '" />' . "\n";
Thay đoạn
PHP:
return '<input type="hidden" name="postvars" value="' . 
htmlspecialchars_uni(sign_client_string(serialize($_POST))) . '" />' . "\n";
Bằng
PHP:
$string = json_encode($_POST);
        return '<input type="hidden" name="postvars" value="' . 
htmlspecialchars_uni(sign_client_string($string)) . '" />' . "\n";
Mở tập tin forumdisplay.php
Tìm
PHP:
{
             if (($check = 
verify_client_string($vbulletin->GPC['postvars'])) !== false)
             {
                $temp = unserialize($check);
Thay đoạn
PHP:
$temp = unserialize($check);
Bằng
PHP:
$temp = json_decode($check, true);
Mở tập tin login.php, nếu không có tập tin này thì bỏ qua bước này
Tìm
PHP:
exec_unstrike_user($vbulletin->GPC['vb_login_username']);
 
    $_postvars = 
@unserialize(verify_client_string($vbulletin->GPC['postvars']));
Thay đoạn
PHP:
$_postvars = 
@unserialize(verify_client_string($vbulletin->GPC['postvars']));
Bằng
PHP:
$_postvars = array();
    $client_string = verify_client_string($vbulletin->GPC['postvars']);
    if ($client_string)
    {
        $_postvars = @json_decode($client_string, true);
    }
Chúc các bạn thành công!
Bài viết chỉ đăng duy nhất tại tuoitreit.vn, mọi sao chép phải ghi rõ nguồn và liên kết đến bài viết gốc.
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Admin Download Chrome 25 full - hỗ trợ điều khiển bằng giọng nói và vá lỗi bảo mật Phần mềm 0
S Những người "vá" đập TĐ Sông Tranh 2 Tin tức, sự kiện thường ngày 0
S Voọc chà vá bất ngờ "thăm" sân phơi lúa Tin tức, sự kiện thường ngày 0
Admin Hướng dẫn fix lỗi không vào được mạng laptop Masstel E140 Sử dụng, chia sẻ, hỏi đáp 0
Admin Hướng dẫn fix lỗi Communication Error cho máy in Canon LBP 2900, Canon LBP 3300 Windows 11 mới nhất - Fix Communication Error Canon 2900, Canon 3300 Windows 11 Sử dụng, chia sẻ, hỏi đáp 0
Admin Hướng dẫn fix lỗi GET GENUINE OFFICE Your license isn't genuine cho office thành công 100% Sử dụng, chia sẻ, hỏi đáp 0
dinhtrungtek Hướng dẫn Lỗi “The computer restarted unexpectedly” khi cài đặt Windows Thủ thuật máy tính 0
Admin Hướng dẫn gõ tiếng việt có dấu trên vba - Fix lỗi font tiếng việt excel vba Sử dụng, chia sẻ, hỏi đáp 0
huongbtph Các lỗi bảo mật website thường gặp Kiến thức lập trình 0
huongbtph Top 4 công cụ kiểm tra lỗi website tốt nhất Wordpress 0
V Mọi người cho e hỏi đây là lỗi gì? Xenforo 4
Admin Hướng dẫn fix lỗi không xóa được bôi đen trong Word bằng phím Backspace - Backspace doesn't delete highlighted text word Sử dụng, chia sẻ, hỏi đáp 4
Admin Hướng dẫn fix lỗi No Internet trên Windows 10 20H2 Sử dụng, chia sẻ, hỏi đáp 0
tunglamed MOBIFONE TẶNG GÓI CƯỚC, DATA - THAY LỜI XIN LỖI Điện thoại di động 3
cuongpro9x Khắc phục tạm thời lỗi kết nối internet win 10 2004 Máy tính 0
Admin Hướng dẫn fix lỗi tắt kiếm tiền (TKT) lỗi quốc gia Ad Breaks Tut, tool, mmo 0
Admin Hướng dẫn fix lỗi đăng nhập từ iPhone đã ghép nối trên Watch OS 6.2.6 Điện thoại di động 0
Admin Hướng dẫn fix lỗi ABI mismatch xamarin forms Android, iOS 0
Admin Hướng dẫn fix lỗi The selected build configuration is using the shared Mono runtime for faster deployment Xamarin Forms Android, iOS 0
Admin Hướng dẫn fix lỗi WHPX is not configured khi dùng Visual Studio 2019 Android, ios, java, windows phone 0
Admin Hướng dẫn sửa lỗi Visual Studio needs to make non-functional changes to this project C# / C++ 0
T Chiếc iPhone 11 Pro đầu tiên tại Việt Nam gặp lỗi nháy màn hình Tin tức CNTT 0
cuongpro9x Hỏi Lỗi khi thêm ram máy tính Sử dụng, chia sẻ, hỏi đáp 7
Admin Hướng dẫn fix lỗi We couldn’t complete the updates, Undoing changes không vào được windows Hệ điều hành 0
Admin Hướng dẫn fix lỗi không hiện IP online xenforo - Fix don't display IP members online xenforo Xenforo 0
T Hệ thống chịu lỗi Byzantine là như thế nào ? Tin tức CNTT 0
Admin Hướng dẫn fix lỗi xinput1_3.dll or d3dx9_43.dll is missing khi chơi PES 2017 - How to fix xinput1_3.dll or d3dx9_43.dll is missing simple Thủ thuật máy tính 0
Admin Hướng dẫn fix lỗi XSS trên Xenforo 2.0.9 - XenForo 2.0.9 Released (Security Fix) Xenforo 0
Admin Hướng dẫn fix lỗi Not enough memory RAM - An integer between 96 and 8 is required Thiết kế đồ họa 0
T Hỏi Cho em hỏi lỗi này khi config xong Hỏi đáp về domain & hosting 2
C Các Bác Cho Em Hỏi Lỗi insert dữ liệu lên phpmyadmin PHP 2
khanhsak3r Hỏi Menu bootstrap bị lỗi ở đâu? PHP 3
khanhsak3r Help Lỗi vỡ khung trên johncms Johncms 9
C Mình cài DA Khi cron nó lỗi như này VPS & Dedicated Server 6
Admin Hướng dẫn fix lỗi /includes/vfchh/php/vfc_hide_core.php on line 163 mod vFCoders - Hide Hack v4 Vbb tutorial 0
Hong98 Hướng dẫn Cách fix lỗi thời gian chạy sai dạng Timeago All Shared Scripts 1
Hong98 Help Lỗi thời gian trên Johncms Johncms 4
H Nghe thử đi, hay lắm ! Nhạc tâm trạng buồn nhất - Xin lỗi nếu làm ai đó phải khóc [P09] Âm nhạc 0
P Hướng dẫn Hướng dẫn sửa lỗi "Windows Features is blank or empty" trong Windows 7 Phần mềm 1
Admin Hướng dẫn fix lỗi android rung liên tục không ngừng ngày 31.12.2016 Android, iOS 0
M MU thắng nhưng mà nhiều lỗi lo Trò chuyện linh tinh 0
M Help Khắc phục lỗi code! Kiến thức lập trình 0
Emvip Help lỗi vbb ai vào giúp với Vbb tutorial 9
N Có ai biết fix lỗi invalid request trong vuivc.xyz không hỏi cái Trò chuyện linh tinh 0
Hong98 Help Lỗi khi import database forum vbb Vbulletin 10
H Help File .htaccess vbb bị lỗi Vbulletin 5
H Help Lỗi "Extra content at the end of the document" Johncms 0
E Hỏi cách bắt lỗi @ ở phần nhập email trong js JavaScript / Ajax 1
H Hướng dẫn Hướng dẫn giúp tôi khắc phục lỗi khi cài phpfox Mã nguồn web 0
cuongpro9x Help Lỗi style xenforo Xenforo 0

Similar threads

New posts New threads New resources

Back
Top