Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2013, 10:11 AM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Suspected hacking

According to google's webmaster tools there is a suspected instance of hacking on my site.

Quote:
Dear site owner or webmaster of http://www.braintalkcommunities.org/,
We are writing to let you know that we believe some of your website's pages may be hacked. Specifically, we think that JavaScript has been injected into your site by a third party and may be used to redirect users to malicious sites. You should check your source code for any unfamiliar JavaScript and in particular any files containing "counter.php" style="visibility: hidden; position: absolute; left: 0px; top: 0px" width="10" height="10". The malicious code may be placed in HTML, JavaScript or PHP files so it's important to be thorough in your search.
The following are example URLs from your site where we found such content:
http://www.braintalkcommunities.org/...aimer_rev.html
In addition, it's also possible your server configuration files (such as Apache's .htaccess) have been compromised. As a result of this, your site may be cloaking and showing the malicious content only in certain situations.
We encourage you to investigate this matter in order to protect your visitors. If your site was compromised, it's important to not only remove the malicious (and usually hidden) content from your pages, but also to identify and fix the vulnerability. A good first step may be to contact your web host's technical support for assistance. It's also important to make sure that your website's software is up-to-date with the latest security updates and patches.
More information about cleaning your site can be found at:
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=163634
Sincerely, Google Search Quality Team
So I visited the page in question (disclaimer url above) and received a "connection reset" message (it did not redirect at all). I attempted to download the file via ftp but it kept refreshing the request without downloading it. I also tried to dl the file via cpanel's file manager with the same result (continued refreshing of the request).

To be safe I did the following:
  1. Deleted the page in question via cpanel's file manager (couldn't do it via ftp ... kept refreshing the request)
  2. Removed all references to the page in question (it had 1 link in my footer in all of my styles ... no other reference to it anywhere on the site)
  3. Searched all templates via the acp for "counter" and "counter.php" and "style="visibility: hidden" found 0
  4. Searched the db via phpmyadmin for "style="visibility: hidden" found 0
  5. Searched the db via phpmyadmin for "counter.php" found 0
  6. Checked my access logs and error logs and found nothing relating to "counter.php" or the page in question. NOTE: I did find a few references to the old version of that page that hasn't been on the server in a couple of years.
  7. Checked .htaccess files and found nothing pointing to "content.php". Verified online .htaccess files with offline copies (matched exactly).
  8. Downloaded clean 4.1.12 pl 3 from vbulletin.com.
  9. Uploaded new clean 4.1.12 pl 3 over writing existing files
  10. Ran "suspect file version" and came back with expected results (I have a couple dozen non vb pages) and 1 unexpected but apparently normal result (index.php does not contain expected content ... or whatever sorry I have since left my acp and don't recall the exact message), I say this is normal because I compared the new fresh clean file with the backup offline file I have on my pc and they are identical expect for the date.
My question is this, should I do anything else to ensure that I don't have any malicious JS on my site?

I'm not worried about not having the disclaimer, it was outdated and I am working on the new version as it stands. I will most likely make it a php page vs html (for the headers n footers ).
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 05:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11231 seconds
  • Memory Usage 2,209KB
  • 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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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