
08-06-2007, 05:23 PM
|
|
|
Join Date: Feb 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Ski-Whiz
Ok I have found a bug:
Code:
Invalid SQL:
UPDATE user_troll SET timestamp = 1156627674, date = '2006-08-26', username =
'dabear's are #1', userid = '0', time = '17:27:54', opm = '0', imported = 0 WHERE
idx = '9830' AND deleted = 0 AND fqdn = 0 LIMIT 1;
MySQL Error : You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 's are
#1', userid = '0', time = '17:27:54', opm = '0', imported = 0 WHERE idx = ' at line
1
Error Number : 1064
Date : Saturday, August 26th 2006 @ 05:27:54 PM
Script : http://www.xxxxxxx.com/forums/register.php
Now this error is from anyone who uses an apostrophe in their username. The name I tried to register is "dabear's are #1"
This leaves us all open to a SQL attack..
|
Im still getting this error with 2.0.4. When is there going to be an update or fix for this?
|