Security Update
The main download files have already been updated. You can log into your client center and re-download the zip and update:
- sources/topics.php
- sources/search.php
Manually Patching
Open "sources/topics.php" in a text editor.
Circa line: 805
Quote
//-----------------------------------------
// Highlight...
//-----------------------------------------
if ($ibforums->input['hl'])
{
$ibforums->input['hl'] = $std->clean_value(urldecode($ibforums->input['hl']));
$loosematch = strstr( $ibforums->input['hl'], '*' ) ? 1 : 0;
$keywords = str_replace( '*', '', str_replace( "+", " ", str_replace( '-', '', trim($ibforums->input['hl']) ) ) );
$word_array = array();
$endmatch1 = "";
$endmatch2 = "(.)";
// Highlight...
//-----------------------------------------
if ($ibforums->input['hl'])
{
$ibforums->input['hl'] = $std->clean_value(urldecode($ibforums->input['hl']));
$loosematch = strstr( $ibforums->input['hl'], '*' ) ? 1 : 0;
$keywords = str_replace( '*', '', str_replace( "+", " ", str_replace( '-', '', trim($ibforums->input['hl']) ) ) );
$word_array = array();
$endmatch1 = "";
$endmatch2 = "(.)";
Open "sources/search.php"
Circa line: 1499
Quote
function convert_highlite_words($words="")
{
global $std;
$words = $std->clean_value(trim(urldecode($words)));
{
global $std;
$words = $std->clean_value(trim(urldecode($words)));
Customers can download the individual patched files here.
Affected Versions
IPB 1.3.x
IPB 2.0.x
IPS wishes to thank...
James from GulfTech for bringing this to our attention first.















