Here is the new version that fixes the remote file exploit: http://www.scripts.oldguy.us/talkback/talkback2.2.8.zipIf your talkback version is older than 2.2.8 go to the
download page and download the latest version.
If you are using the Apache web server you should also add the following line to your .htaccess file if your php default for register_globals is "on".
php_flag register_globals off
I did not implement the fix that was in the post "Draft fix to TalkBack". Instead I added an "if (!Is_file..." statement wherever an "include $variable_name" statement occurs in a script. See comments.php, line 93 for an example.
I also added a check in common-functions.php setupLanguage() so there is no need for a check when "include $language_file" follows a call to setupLanguage().
Files changed have a modified date of 12/24/07. If you wish you can double check my work by doing a find "include $" in all files. Every include $name statement should have an exploit check statement before it. Example:
if (!is_file($config['preview_panel_tpl'])) die('Unable to process the request (3)');
include $config['preview_panel_tpl'];
Exception: an "include $language_file" statement which follows a "$language_file = setupLanguage();" statement does not need to be checked for an exploit because it is done in setupLanguage().