vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Top 'X' Stats (https://vborg.vbsupport.ru/showthread.php?t=93065)

Nuguru 09-04-2006 12:27 AM

Quote:

Originally Posted by Wild-Wing

Thanks everyone for helping out.

Nuguru :)

InfiniteWebby 09-04-2006 03:37 AM

I'm sorry for not fixing the problem sooner but when I got an email saying that there was a problem I patched my own code. Apparently when the vB.org admins patched this version though, they only patched one instance. Anyway I've uploaded the version CURRENTLY running on my site (of which a "hacker" tried to attack but was unsuccesful and got laughed away), my version also shows the full security friendly version of the title when you mouseover the truncated version in the latest threads and also adds the missing phrases to vB3.6 versions.

DementedMindz 09-04-2006 03:40 AM

InfiniteWebby nice to see you come back and fix the problem. Not to many would come back and do that.

Shazz 09-04-2006 03:42 AM

Thanx for the update-

DementedMindz 09-04-2006 03:47 AM

OH BOY The zip was there now its gone did something happen? ahh I see n/m

Nuguru 09-04-2006 04:02 AM

Quote:

Originally Posted by InfiniteWebby
I'm sorry for not fixing the problem sooner but when I got an email saying that there was a problem I patched my own code. Apparently when the vB.org admins patched this version though, they only patched one instance. Anyway I've uploaded the version CURRENTLY running on my site (of which a "hacker" tried to attack but was unsuccesful and got laughed away), my version also shows the full security friendly version of the title when you mouseover the truncated version in the latest threads and also adds the missing phrases to vB3.6 versions.

Hello,

I have made the changes suggested earlier in this thread:

Quote:

heres a fix for it
find in newthread.php:
if ($_POST['do'] == 'postthread')

then find:
'subject' => TYPE_STR,
change the TYPE_STR to TYPE_NOHTML
so I am wondering if I need to go ahead and do the overwrite with this new updated version?

I am using 3.5.4. with Top Stats 1.6.1a


Thank You for the Effort!

Nuguru :)

DementedMindz 09-04-2006 04:05 AM

Persoanly I would remove it and reinstall it to be sure. I mean the hack takes 2 mins to setup. And I dont think I would keep the other code installed.

teedizz 09-04-2006 04:24 AM

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
        (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
        ('1', '5', 'Top \'X\' Stats by InfiniteWebby', 'cache_templates', 'if (THIS_SCRIPT == \"index\" OR THIS_SCRIPT == \"topXstats\") {\r\n\r\n        global $globaltemplates;\r\n\r\n        $globaltemplates = array_merge($globaltemplates, array(\'topXstats_stats_bit\', \'topXstats_member_bit\', \'topXstats_poster_bit\', \'topXstats_thread_bit\'));\r\n\r\n}', 'topXstats');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054



i get this error now, anyone know why?

socalsoccer 09-04-2006 04:28 AM

When trying to import product. Trying to overwrite.

3.5.2

Database error in vBulletin 3.5.2:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Top \'X\' Stats by InfiniteWebby', 'cache_templates', 'if (THIS_SCRIPT == \"index\" OR THIS_SCRIPT == \"topXstats\") {\r\n\r\n global $globaltemplates;\r\n\r\n $globaltemplates = array_merge($globaltemplates, array(\'topXstats_stats_bit\', \'topXstats_member_bit\', \'topXstats_poster_bit\', \'topXstats_thread_bit\'));\r\n\r\n}', 'topXstats');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054

peterska2 09-04-2006 04:39 AM

I've uploaded a 3.5.x version of the fixed modification. If you are using 3.5.x please make sure that you download and use the 3.5.x zip file.

Figurehead 09-04-2006 08:13 AM

Thank you very much for the fix :)

One last question (a stupid one I admit...does not regard the vulnerability fix)

Take a look at the screenshot:

http://www.beyondfear.de/da.jpg

The previous TopXStat version I had installed was German (I don?t remember where I got that one), but the one I downloaded here is English, so now I want to change back the descriptions into German (Top Posters, Newest Members and so on). Which file/template do I have to look into? I have absolutely no idea, couldn?t find it yet :( Please help!

Thanks!

Edit: Fixed version works fine :) They registered again and tried to do their little trick (:D) but it didn?t work this time :)

TCHQ-0wn4g3 09-04-2006 10:28 AM

Thank you for fixing this plugin. It's a great plugin I might add, the perfect addition to any VB install. Also being updated by email each time the plugin is updated is also a live saver :)

Mark.B 09-04-2006 10:37 AM

Quote:

Originally Posted by InfiniteWebby
I'm sorry for not fixing the problem sooner but when I got an email saying that there was a problem I patched my own code. Apparently when the vB.org admins patched this version though, they only patched one instance. Anyway I've uploaded the version CURRENTLY running on my site (of which a "hacker" tried to attack but was unsuccesful and got laughed away), my version also shows the full security friendly version of the title when you mouseover the truncated version in the latest threads and also adds the missing phrases to vB3.6 versions.

Personally I don't use this, but only because I already have a customised latest threads hack running.

However I know it's a popular hack, and I just wanted to say you are to be applauded for coming back and adding all the required fixes, security issues can happen with any code, what is important is that it is fixed.

Delphiprogrammi 09-04-2006 01:15 PM

your templates are not grouped ....
product Top'X'Stats
hook location "template_groups"

php code

PHP Code:

$only['top']='topXstats'

plugin active yes

all done

DementedMindz 09-04-2006 04:33 PM

Quote:

Originally Posted by Delphiprogrammi
your templates are not grouped ....
product Top'X'Stats
hook location "template_groups"

php code

PHP Code:

$only['top']='topXstats'

plugin active yes

all done


where are you adding that too?

redlabour 09-04-2006 04:38 PM

Quote:

topXstats 1.2.2 (vulnerabilities fixed).zip
Quote:

topXstats 1.2.2 (vulnerabilities fixed) 3.5.x.zip
Sorry Guys, but we are at 3.6 ! Where is the update for 3.6 Users ?

Update :

Quote:

Oh this version also works with all current version of vB 3.6. So feel free to use it on that version.

- InfiniteWebby
And why did nobody move this to 3.6 Section ?

DementedMindz 09-04-2006 04:39 PM

its right there 1.2.2

Delphiprogrammi 09-04-2006 06:07 PM

Quote:

Originally Posted by DementedMindz
where are you adding that too?

add a new plugin to the product at hook location "template_groups" then the templates the system uses will be grouped together

DementedMindz 09-04-2006 08:14 PM

Yeah I forgot to post that I had got it. But thanks for replying. This way maybe it helps others.

peterska2 09-04-2006 09:29 PM

The 3.6.x update was the one with no suffix. I've added a suffix to it so that it is clearer which zip is for which version.

WhyDoesItMatter 09-05-2006 02:40 PM

I like this hack.. But, I seem to be getting a lot of people signing up on my website to try and use the exploit, I had to close down my registration hoping they'd go away, but nope.. I checked out my sites search ref's, and sure enough topxstats.php is there... Is there anyway to make it viewable to users only?, I had to uninstall this hack even though it's been patched =/

thanks

TeaTree 09-05-2006 07:09 PM

Hi,

Yes even though the plugin has been updated with the aparent fix, users are still
managing to re-direct the forum via it-Any idea why?

Thanks

RFViet 09-06-2006 12:26 AM

the fix does'nt work with other characters likes: french, chinese ....

DementedMindz 09-06-2006 12:28 AM

lol what are they redirecting it with french, chinese and so on now?

tommyxv 09-06-2006 08:30 AM

How about censoring < and > I'm sure they are the same in any language. :)

popowich 09-06-2006 07:02 PM

To completely remove this product do I need to do anything besides uninstall the product via the admincp, and delete the .php file?

-Raymond

RFViet 09-06-2006 08:55 PM

Quote:

Originally Posted by DementedMindz
lol what are they redirecting it with french, chinese and so on now?

it's showing weird characters like 7&###&98

steven99 09-07-2006 04:43 AM

Could someone please give an example of the other language exploit mentioned above? I'd like to test it on my forum to see what happens.

DementedMindz 09-07-2006 05:22 AM

personally i dont think thats a good idea to post it here on the site i dont think the staff would either. i know the new version is patched and working

steven99 09-07-2006 06:39 AM

Quote:

Originally Posted by DementedMindz
personally i dont think thats a good idea to post it here on the site i dont think the staff would either. i know the new version is patched and working

Sorry, I meant via PM.

cbr929rrerion 09-07-2006 03:57 PM

I did the patch too and it still got hacked again using this..

I like the feature but I am un installing it !!!!!!!!!!!!!!!

steven99 09-07-2006 05:23 PM

Quote:

Originally Posted by cbr929rrerion
I did the patch too and it still got hacked again using this..

I like the feature but I am un installing it !!!!!!!!!!!!!!!

Were you using 1.2.2? If so, could you PM me the title they used? So far I haven't gotten reports of this happening on my forums with 1.2.2 but I'm really thinking of uninstalling this just to stop the attempts.

Datenpapst 09-07-2006 05:48 PM

How about a version for the vbb 3.6 gold?

DementedMindz 09-07-2006 05:50 PM

one for 3.6 is right at the top.

georgedd 09-07-2006 06:23 PM

Quote:

Originally Posted by cbr929rrerion
I did the patch too and it still got hacked again using this..

I like the feature but I am un installing it !!!!!!!!!!!!!!!

Please PM me the title they used to bypass the fix as well. I'd like to take a look and see if there's anything more that can be done to the fix to improve it.

DementedMindz 09-07-2006 06:43 PM

hmm its strange all these new people want a link so they can bypass it. I dont think they had the newerst version installed.

Shazz 09-07-2006 08:56 PM

I don't see any bugs in the new one... looks clean

Dead End Society 09-07-2006 10:35 PM

I ran just the upgrade yesterday, but someone still got through today. I uninstalled the hack then reinstalled it to see if that helps.

georgedd 09-08-2006 12:21 AM

That's strange indeed. The fix I implemented on my own has not failed me yet, with the most recent attack attempt today. I've not examined the official patch yet, but from the discussions here it seems to basically be based on what I posted, so if there is still a problem with the fix, I'd certainly like to know about it.

zeroality 09-08-2006 10:22 AM

Yeah, looks like the security fix hasn't fixed this at all. :\

Just got attacked with it.


All times are GMT. The time now is 09:56 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.01668 seconds
  • Memory Usage 1,825KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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