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 10-14-2020, 08:13 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Weird IP behavior for the last few weeks.

So I keep getting DB errors and it looks like someone is trying to hack the site.

Of the last 100 or so most recent registrations, all have IP addresses look almost exactly the same. They start with 10.30.94 And all the DB errors are coming from 2 IP's. Also, this IP range seems to be private so I cant get a fix on where it's coming from. Maybe everyone is using VPNs???

So, of course, I block the IP and did a wildcard on the end but then I myself the admin got locked out of the site. Not the backend but I definitely got locked out of the front end. My IP is nothing like this so now I'm curious. Maybe it's some kind of glitch in the system that keeps recording the same or almost the same IP when someone new registers.

Now to be clear a few of these members with the same exact IP actually posted legit messages but I have like 100 members with the same IP. ???

It looks very fishy to me but I figured I would run it by you guys here before I start deleting accounts.
Reply With Quote
  #2  
Old 10-15-2020, 01:01 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you use Cloudflare or something similar?
Reply With Quote
  #3  
Old 10-15-2020, 02:18 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hosted on Register.com

I thought it had something to do with the forum spam plugin Im using. They switched from http to https but I changed the links in the plugin. I then did some digging in the DB and noticed the same "User ID keeps popping up in the DB erros. With this the wierd this is it appears to be coming from the integrated Photopost pluggings. Also when I blocked the IP above the DB errors increaded.
Reply With Quote
  #4  
Old 10-15-2020, 02:59 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried to use .htaccess instead of vBulletin?

Code:
order allow,deny
deny from 192.168.0.1
allow from all
Reply With Quote
  #5  
Old 10-15-2020, 06:37 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I actually have a bunch of countries blocked by .htaccess along with a blacklist. The weird part is that all new registrations are coming from the same IP range 10.30.94 (100-201). I cant seem to find out why? The IP recored on the site for new members isnt their actual IP. I had a friend register and his IP came up in the same range listed above where I know its completely different.
Reply With Quote
  #6  
Old 10-16-2020, 03:53 AM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like your host may have put something in front of your site.

You could try adding the following to your config.php file and see if the IP's sort themselves out.

Code:
$config['Misc']['proxyipheader'] = 'HTTP_X_FORWARDED_FOR';
define('USE_VB_ALT_IP', true);
Reply With Quote
  #7  
Old 10-16-2020, 03:27 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the code Ill give this a try. Could you tell me a safe area of the config file to put this?

Edit, I added it to the end. Lets see if this fixes it. Ill post back just in case someone else runs into this.
Reply With Quote
  #8  
Old 10-17-2020, 07:22 PM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well nuts that didnt work. All that happened is the entire site DNS IP was blocked. It looks like my host is using something like Cloudflare or changes something with the apache server. Ill give them a call and see I can get it sorted.
Reply With Quote
  #9  
Old 10-18-2020, 04:47 AM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually I've just looked at your site and I don't thing that would have worked anyway as it looks like you are on an 4.2.2 and I don't think the proxy header stuff went in until 4.2.4.

Looking at your page response headers if you say you are on an Apache server then there is definitely something been placed in front of the site.
Reply With Quote
  #10  
Old 10-22-2020, 12:33 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use the pro version of this:
https://vborg.vbsupport.ru/showthread.php?t=282525

This allows me to easily identify multiple registrations per IP.

I believe if you ask Joe he will send it or make it available as he is no longer selling and has released the Pro versions here in the past
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 11:29 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.05885 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (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_postinfo_query
  • fetch_postinfo
  • 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