Thursday, June 30, 2005

phpBB critical issue

Yesterday , phpbb.com as official site of phpBulettin board released the new version (2.0.16) to fix some bugs and one critical security issue.

You can do it manually by changging a code at viewtopic.php

find:
$message = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "@preg_replace('#\b(" . str_replace('\\', '\\\\', $highlight_match) . ")\b#i', '\\\\1', '\\0')", '>' . $message . '<'), 1, -1));

change to :

$message = str_replace('\"', '"', substr(@preg_replace('#(\>(((?>([^><]+|(?R)))*)\<))#se', "@preg_replace('#\b(" . str_replace('\\', '\\\\', addslashes($highlight_match)) . ")\b#i', '\\\\1', '\\0')", '>' . $message . '<'), 1, -1));

or u can download it here . !PLEASE patch your forum :)

No comments:

Post a Comment