Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2009, 11:54 PM
GamblerZ GamblerZ is offline
 
Join Date: Nov 2007
Location: West Texas
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum being defaced rapidly

<a href="http://westtexasimports.net" target="_blank">http://westtexasimports.net</a> has been hacked 4 times in recent history, including two times today. The only thing that has not changed (until now) is we have been using the RedBar style. 3 of them were caused by injecting base64 code into spacer_open. The other one was a deface of template_home (I believe).

I have changed the sql db password, upgraded to 3.8, and disabled all hacks/plug-ins. I've looked through the logs and they're not getting in through SSH or through my password.

Thoughts?
Reply With Quote
  #2  
Old 01-11-2009, 04:04 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You must remove all the files of modification as well as uninstalling them from the Admin CP. Also look for malicious files inside your directories and reupload all vBulletin files.
Reply With Quote
  #3  
Old 01-11-2009, 01:57 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The really important notice :
Change the password of database and edit config.php

/
/

I suggest you try this plugin : https://vborg.vbsupport.ru/showthrea...04#post1687304

It may help may be Not.

put a password on your " includes" folder and never use the folder with ch mod 777.

Are you on shared server ??

--------------- Added [DATE]1231690094[/DATE] at [TIME]1231690094[/TIME] ---------------

One more thing :

see your server log " log access raw " search for suspected logs and may be sql _injection !

Everything recorded on server log try to find how the hacker acted.
Reply With Quote
  #4  
Old 01-11-2009, 04:42 PM
GamblerZ GamblerZ is offline
 
Join Date: Nov 2007
Location: West Texas
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Golzarion View Post
The really important notice :
Change the password of database and edit config.php

/
/

I suggest you try this plugin : https://vborg.vbsupport.ru/showthrea...04#post1687304

It may help may be Not.

put a password on your " includes" folder and never use the folder with ch mod 777.

Are you on shared server ??

--------------- Added [DATE]1231690094[/DATE] at [TIME]1231690094[/TIME] ---------------

One more thing :

see your server log " log access raw " search for suspected logs and may be sql _injection !

Everything recorded on server log try to find how the hacker acted.
Thank you but I have tried all of the above.

Dismounted -- I will remove all files from this directory and reupload just the vbulletin files.

And this server is shared, but only amongst my websites. I have one website in particular that I do a lot of testing on and I have thought that possibly that is the problem, but after digging through it I am certain that there is nothing there that is allowing people to do this defacing.
Reply With Quote
  #5  
Old 01-11-2009, 05:13 PM
CarlitoBrigante's Avatar
CarlitoBrigante CarlitoBrigante is offline
 
Join Date: Nov 2002
Location: Iceland
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You got all good suggestions here. We worked on stuff like this a lot of times, and, in order, most of the times the issues were caused:

1 - Installed scripts forgotten by the owner, like phpmyadmin and/or old outdated mods
2 - 777 directories in shared environment - if this is a possibility, report it to the hosting provider
3 - Bad DB password in shared environment
4 - Fully compromised system. Somebody got your root access in some way and can do whatever he wants on your server until you reinstall everything and overwrite possible backdoors
5 - Very rarely, guy hired by the webmaster in the past having fun thanks to unchanged passwords. But keep all your login passwords fresh, rotate them as frequently as possible
Reply With Quote
  #6  
Old 01-11-2009, 05:49 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Of course a list of good suggestion so far .


@ GamblerZ : Did you check the Server log ? If you want I can check all the logs of " log access raw " within this 24 hours. ( the time your forum was hacked ) just pm me the log file if you like.

I had 2 forums on Shared servers and it happened the same case but an other forum on dedicated server never hacked! although all of them were the same plugins and ...

see here it may help you .

one more thing that doesn't relate to this case did you ever use " Separate Sticky and Normal Threads " by any chance ?

--------------- Added [DATE]1231704492[/DATE] at [TIME]1231704492[/TIME] ---------------

oh, I forgot another thing , .. Ask your host : is the phpMyadmin password protected ?
Reply With Quote
  #7  
Old 01-12-2009, 02:48 PM
GamblerZ GamblerZ is offline
 
Join Date: Nov 2007
Location: West Texas
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
@ GamblerZ : Did you check the Server log ? If you want I can check all the logs of " log access raw " within this 24 hours. ( the time your forum was hacked ) just pm me the log file if you like.
Yes, and I was unable to find anything of any value at all.

Quote:
I had 2 forums on Shared servers and it happened the same case but an other forum on dedicated server never hacked! although all of them were the same plugins and ...

see here it may help you .

one more thing that doesn't relate to this case did you ever use " Separate Sticky and Normal Threads " by any chance ?
No, I did not.

Quote:
oh, I forgot another thing , .. Ask your host : is the phpMyadmin password protected ?
phpMyAdmin is protected. We've removed the RedBar style, and disabled everything and have not been hacked again.

What highly frustrates me is I talked with the server admins and they could only suggest: Update vBulletin. ugh, worthless!
Reply With Quote
  #8  
Old 01-12-2009, 03:06 PM
Golzarion's Avatar
Golzarion Golzarion is offline
 
Join Date: Jan 2008
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe it is because of shared hosting weak security. one of my friends has a hosting reseller service told me that it happen by phpshell uploading on other shared acounts... ( that prove the above sentences )

But the real is that I don't know the exact reason of hacking template " spacer_open" ... but just happen on shared hosting.

I really eager to know the exact reason... and hope it would be clear some day.
Reply With Quote
  #9  
Old 01-12-2009, 11:19 PM
GamblerZ GamblerZ is offline
 
Join Date: Nov 2007
Location: West Texas
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I appreciate your time Golzarion -- You maybe right about the shared account. I'm going to get after the server admin's to fix this problem, as if I were in their sight right now I would kick them in the face for being no help!
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:12 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.04032 seconds
  • Memory Usage 2,249KB
  • 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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete