أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

تحديث امني Security Patch for Poll to PBBoard v2.1.4

موضوع مغلق


06-08-2012 08:24 مساءً
Soliman
معلومات الكاتب
The persistent input validation vulnerabilities can be exploited by remote attackers with low privileged
user account & required user inter action. For demonstration or reproduce ...
To reproduce the vulnerability, the attacker should add a new thread and the check on the add poll button. After that
the attacker can add his malicious code in the answer field of the poll. Anyone who's viewing that thread will be
exploited by the malicious code. Such attack can result in session hijacking, redirecting or cookie theft. Moreover,
the persistent XSS can be exploited to launch a CSRF attack to the user and to exploit the other CSRF vulnerabilities.



Updated files:
modules/new_topic.module.php
modules/topic.module.php




Download Patch to version 2.1.4
5-8-2012_Security_Patch_PBB.zip
تم تحرير الموضوع بواسطة :Soliman بتاريخ: 06-08-2012 08:27 مساءً

 
  5-8-2012_Security_Patch_PBB.zip   تحميل zip مرات التحميل :(437)
الحجم :(17.256) KB

look/images/icons/i1.gif تحديث امني Security Patch for Poll to PBBoard v2.1.4
  06-08-2012 08:31 مساءً   [1]
Soliman
معلومات الكاتب
Patching the application of the other versions:

Open the file: modules/new_topic.module.php
Search for:
CODE
$UpdateLast = $PowerBB->section->UpdateLastSubject($LastArr);


Replace with:
CODE
$UpdateLast = $PowerBB->section->UpdateLastSubject($LastArr);
$subjecttitle = $PowerBB->functions->CleanVariable($subjecttitle,'sql');
$subjecttitle = $PowerBB->functions->CleanVariable($subjecttitle,'html');






Open the file: modules/modules/topic.module.php
Search for:
CODE
$PowerBB->template->assign('answers',$answers);


Replace with:
CODE

$answers =$PowerBB->Powerparse->censor_words($answers);
$answers = $PowerBB->functions->CleanVariable($answers,'sql');
$answers = $PowerBB->functions->CleanVariable($answers,'html');
$PowerBB->template->assign('answers',$answers);




Ended ..







المواضيع المتشابهه
عنوان الموضوع الكاتب الردود الزوار آخر رد
تحديث امني Security Patch for Poll to PBBoard v2.1.4 QJK
3 1476 نجم الويب
تحديث امني هام وعاجل للنسخة 2.1.3 (security update for the version 2.1.3) Soliman
0 3714 Soliman

الكلمات الدلالية
لا يوجد كلمات دلالية ..






الساعة الآن 03:23 AM