vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   News and Announcements (https://vborg.vbsupport.ru/forumdisplay.php?f=2)
-   -   vBulletin 3.0.6 Critical Update, and a Bug Fix for 3.0.6 (https://vborg.vbsupport.ru/showthread.php?t=74637)

Erwin 01-19-2005 11:04 AM

vBulletin 3.0.6 Critical Update, and a Bug Fix for 3.0.6
 
vBulletin 3.0.6 has been released:
http://www.vbulletin.com/forum/showthread.php?t=127027

It fixes an XSS security hold in bbcode parsing so you should at least upload the latest patched /includes/functions_bbcodeparse.php

However, there is a serious bug in the 3.0.6 /includes/functions_bbcodeparse.php file.

This causes this error:

Quote:

Warning: sprintf(): Too few arguments in /includes/functions_bbcodeparse.php on line 327

Unable to add cookies, header already sent.
File: /includes/init.php
Line: 27
This happens when you are trying to view a thread with custom bbcode.

To fix this, do this:

In functions_bbcodeparse.php, find:

PHP Code:

    return sprintf($return$param$option); 

ABOVE IT, ADD:

PHP Code:

    $return preg_replace('#%(?!\d+\$s)#''%%'$return); 



Bug description and fix located here:
http://www.vbulletin.com/forum/bugs....iew&bugid=3678

I'm not sure whether the latest 3.0.6 release has this fix in it so I'm posting this manual fix just in case. :)

sabret00the 01-19-2005 11:11 AM

just applied :)

T3MEDIA 01-19-2005 11:21 AM

oh man this software is going off the handle. How can I get version 2?

TTG 01-19-2005 11:23 AM

Thanks for the info

Deaths 01-19-2005 01:34 PM

Thanks for the info.

I hate having to update all the time though, can't they make up their mind? Geez...

yoyoyoyo 01-19-2005 01:36 PM

Thanks for the info. It's good to know that I can be safer now with the new patch and this fix. Thanks Erwin!

the Sandman 01-19-2005 03:41 PM

Thanks Erwin! :D

Zachery 01-19-2005 03:58 PM

Quote:

Originally Posted by T3MEDIA
oh man this software is going off the handle. How can I get version 2?

In the members area, there is also no way to go from vB3 to vB2 ;) best to stay where you are.

mOdEtWo 01-19-2005 06:38 PM

Hmm, I don't get that error in a thread with custom bb code. And I didn't have the "updated" 3.0.6 version of it either, as I downloaded it half an hour after release yesterday.

Strange?

Anyway, I've applied the "fix".

Erwin 01-19-2005 06:49 PM

Just so people know, CVS version 1.186.2.6 fixes this bug. If you have an earlier version you need to fix this manually.


All times are GMT. The time now is 08:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03632 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete