vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Possible login/spammer hack. Looking for preventative solutions. vBulletin 4.2.1 site (https://vborg.vbsupport.ru/showthread.php?t=305055)

JohnD5000 11-26-2013 04:45 PM

Possible login/spammer hack. Looking for preventative solutions. vBulletin 4.2.1 site
 
Over the last 2 weeks I have received 12 vBulletin database errors of the following type:

Database error in vBulletin 4.2.1:

Invalid SQL:
SELECT userid, usergroupid, membergroupids, infractiongroupids, username, password, salt FROM user WHERE username = 'basket compens??es isabel marant';

MySQL Error : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
Error Number : 1267
Request Date : Tuesday, November 26th 2013 @ 02:16:49 AM
Error Date : Tuesday, November 26th 2013 @ 02:16:49 AM
Script : http://www.empirisoft.com/support/login.php?do=login
Referrer : http://www.empirisoft.com/support/me...75-AryanDuncan
IP Address : 142.0.143.20
Username : Unregistered
Classname : vB_Database
MySQL Version :

Please note the funny text that someone is trying to use as a username. Also, all 12 errors originated from the same IP address.
I think this is an attempt by a spammer to hack a username on our site. Is there any solution/add-on to prevent this type of attack in the future?

​Thanks in advance for any and all suggestions.

blackberry 11-26-2013 05:01 PM

Your table collations should be latin1_swedish_ci, please check your tables and update one by one.

JohnD5000 11-26-2013 06:16 PM

Please note that the correct collation for column username (latin1_swedish_ci,IMPLICIT) is being compared to the collation of the string provided by the user at login (utf8_general_ci,COERCIBLE) in a string that looks awfully suspicious:

'basket compens¨¦es isabel marant'

Is there a way to change the collation of the user provided string? I should have mentioned above that all 12 errors I received were generated from the same ip address. I'm guessing this is a hacker trying to hack a username. Again any suggestions for preventing this type of hack/spam are greatly appreciated.

Max Taxable 11-26-2013 06:29 PM

It's a autospam administrator trying to bypass your human verification with some adolescent script kiddie attempt. It's not a hacker or a exploit. You are being probed for a exploit.

JohnD5000 11-26-2013 06:42 PM

Ok. Can it be prevented? The fact that it generates database errors is throwing off our support system.

Max Taxable 11-26-2013 06:52 PM

I'm temporarily at a loss as to how to prevent. Blocking the IP address would only be a temporary "fix" since the persistence of the spammer is already demonstrated. You could ban the whole range, like putting 142.0* in your IP ban list. But like I said, IPs are easy to spoof anyway.

It might be helpful to see if the User Agent string being used is constant, and if it contains some unusual variable, for blocking purposes.

JohnD5000 11-26-2013 08:26 PM

I added the IP address to the banned list. The user string has a constant of "| within it (I think because I am not sure second character is pipe).

Question: Does the banned ip address prevent login attempts?

Max Taxable 11-26-2013 08:52 PM

Quote:

Originally Posted by JohnD5000 (Post 2463926)
I added the IP address to the banned list. The user string has a constant of "| within it (I think because I am not sure second character is pipe).

It would be helpful if you have it, to post the entire user agent string. Typical one looks like this:
198.204.237.210
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0
It tells us the operating system, browser, some add-ons and toolbars, and all versions.

Quote:

Question: Does the banned ip address prevent login attempts?
From the banned IP it does. It blocks all access.

JohnD5000 11-26-2013 09:16 PM

Max,

All I have is what is listed in the error message and was sent to me via email notification (see below). Where would I find the rest of this info? Also, would an add-on like Spam-O-Matic Firewall help with these types of probes?

Database error in vBulletin 4.2.1:

Invalid SQL:
SELECT userid, usergroupid, membergroupids, infractiongroupids, username, password, salt FROM user WHERE username = 'basket compens??es isabel marant';

MySQL Error : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
Error Number : 1267
Request Date : Tuesday, November 26th 2013 @ 02:16:49 AM
Error Date : Tuesday, November 26th 2013 @ 02:16:49 AM
Script : http://www.empirisoft.com/support/login.php?do=login
Referrer : http://www.empirisoft.com/support/me...75-AryanDuncan
IP Address : 142.0.143.20
Username : Unregistered
Classname : vB_Database
MySQL Version :

steve3402000 11-26-2013 09:30 PM

Is it not amazing, you see these same questions on the home page for vbulletin, and you get crickets..... Here people actually help. It is a good thing

S


All times are GMT. The time now is 06:48 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.01134 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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