ترى ياشباب لازم الاهتمام بهذه الثغره
حتى نسخ ال 3.6x
بها الثغره لذلك يجب ترقيعها حتى لو يدوياً
الترقيع اليدوي للاصدارات القديمه
1: افتح ملف
كود:
includes/class_dm.php
ابحث عن
كود:
function verify_link
استبدل كامل السطر بـ
كود:
function verify_link(&$link, $strict = false)
ابحث تحت نفس السطر سوف تجد
كود:
else if (!preg_match('#^[a-z0-9]+://#si', $link))
{
// link doesn't match the http://-style format in the beginning -- possible attempted exploit
return false;
}
اضف تحتها
كود:
else if ($strict && !preg_match('#^(http|https)://#si', $link))
{
// link that doesn't start with http:// or https:// should not be allowed in certain places (IE: profile homepage)
return false;
}
2: افتح الملف
كود:
includes/class_dm_user.php
ابحث عن
كود:
return (empty($homepage)) ? true : $this->verify_link($homepage);
واستبدله بـ
كود:
return (empty($homepage)) ? true : $this->verify_link($homepage, true);
انتهى
من الافضل ان تقوم بذلك يدوياً ولاتأخذ ملف جاهز نظراً لاختلاف الاصدارات
موفقين ان شاءالله