Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2009, 07:21 PM
gooey gooey is offline
 
Join Date: Jun 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default My VBulletin Site Hacked

Evening folks,

I had the joy of finding my website hacked this evening. In place of the VBulletin main page was some graphic 'propaganda' about the conflict in Gaza.

My website has now been updated to version 3.8.0 however it appears the problem is with the database. Every time I use the old database the content returns.

Since the site is close to 2 years old, I'd love to be able to keep the database intact.

So my question is, can the database be rescued? If so, how do I do it?

Also, I believe you can change the address of the admin login section. Can anyone offer advice on how I can do it so that the admin area is more secure?

Any questions, please ask.

Thanks.
Reply With Quote
  #2  
Old 01-11-2009, 07:34 PM
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Location: Hamilton, Ontario
Posts: 378
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm unable to determine where the content is located/stored.

Most likely you can restore the database but I can't tell you because you haven't really explained the problem fully. Think of it as explaining a picture to a man whose never had eyes, every detail counts!
Reply With Quote
  #3  
Old 01-11-2009, 07:39 PM
gooey gooey is offline
 
Join Date: Jun 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I deleted all the content relating directly to VBulletin and completed a fresh installation of the program (3.8.0).

I then set up a new database which works flawlessly. I tried to restore the old database, which; when triggered in 3.8.0 brings up the hacked front page (previously on 3.7.X).

To me, it looks like the hacked 'code' is in the .sql but I've no idea where to start with cleaning it. The administrator accounts were also disabled meaning I couldn't get in and fix it that way.
Reply With Quote
  #4  
Old 01-11-2009, 08:20 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you checked your templates and plugins?
Reply With Quote
  #5  
Old 01-11-2009, 08:30 PM
gooey gooey is offline
 
Join Date: Jun 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My password was changed so there was no way I could get into the admin panel to do all of that.

It's a clean installation of 3.8.0 with no plugins. If I revert to the old database (that I want to keep) it will show the hacked frontpage. It seems to be the database that's the problem but I've no idea how to go about fixing it - or if it can be fixed.
Reply With Quote
  #6  
Old 01-11-2009, 08:35 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can't get into your admin panel? Have you used tools.php to give admin permission to a newly created user so you can get back in?
Reply With Quote
  #7  
Old 01-11-2009, 08:44 PM
gooey gooey is offline
 
Join Date: Jun 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me start again (Lol).

My site got hacked. I couldn't get into the VBulletin control panel at that time.

I went into my webhosting package and took control that way. Ended up deleting all the content and starting from scratch.

A fresh installation of 3.8.0 was completed. A new database created.

Once everything was running, I went back in and tried to revert 3.8.0 (previously running 3.7.8) to the old database. The result was a clean version of 3.8.0 with the hacked front page.

I could not get into the admin panel when the site was hacked, but can now. The fact that 3.8.0 shows the hacked page on the old database makes me think the code is inside the database and not directly in VBulletin. I'm trying to establish if I can save the database because there's alot of content in it.

Also, I'm trying to find out if I can change the address of the admin login to a 'custom' one for added security i.e. NOT admincp/index.php.

Hope that's a bit clearer.

Reply With Quote
  #8  
Old 01-11-2009, 08:58 PM
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Location: Hamilton, Ontario
Posts: 378
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The login system for vbulletin is pretty secure. If you're worried I'd recommend setting a harder password (10 characters, letters + numbers, NOT A WORD). It would be almost impossible to crack.

I'm assuming the code for the images is located in one of your templates, have you tried creating a new style, do the images appear on that style as well?
Reply With Quote
  #9  
Old 01-11-2009, 09:02 PM
gooey gooey is offline
 
Join Date: Jun 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using the default layout, always have.

As I say though, I reinstalled everything and yet the images still appear when I use the old database.
Reply With Quote
  #10  
Old 01-11-2009, 09:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about if you turn off all your plugins via config.php and if you also use a default vb style. Do you still get the hacked front page?

Create a new style with no parent - Styles & Templates > Style Manager > Add New Style > no parent - then browse the site using that totally default vbulletin style - do you still have the same problem?

If it is still happening, then try disabling your plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 PM.


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.04585 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete