Discuz! Database Error

(0) It is not safe to do this query
REPLACE INTO common_cache SET `cachekey`='threadclasscount_51' , `cachevalue`='a:1:{s:6:\"typeid\";a:64:{i:119;s:3:\"554\";i:124;s:3:\"166\";i:120;s:4:\"1110\";i:123;s:3:\"267\";s:4:\"119d\";s:3:\"558\";s:4:\"123=\";s:3:\"267\";s:4:\"120i\";s:4:\"1172\";s:4:\"119e\";s:3:\"558\";s:4:\"119 \";s:3:\"558\";s:11:\"119 and 3=3\";s:3:\"558\";s:11:\"119 and 3=4\";s:3:\"558\";s:27:\"119\\\\\\\' and \\\\\\\'a\\\\\\\'=\\\\\\\'a\";s:3:\"558\";s:27:\"119\\\\\\\' and \\\\\\\'a\\\\\\\'=\\\\\\\'b\";s:3:\"558\";s:35:\"119%\\\\\\\' and 3=3 and \\\\\\\'%\\\\\\\'=\\\\\\\'\";s:3:\"558\";s:238:\"119 and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1\";s:3:\"558\";s:254:\"119\\\\\\\' and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and \\\\\\\'1\\\\\\\'=\\\\\\\'1\";s:3:\"558\";s:254:\"119%\\\\\\\' and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and \\\\\\\'%\\\\\\\'=\\\\\\\'\";s:3:\"558\";s:49:\"119+/v9 +ADw-script+AD4-alert(1)+ADw-/script+AD4-\";s:3:\"558\";s:7:\"119\\\\\\\'\";s:3:\"558\";s:6:\"119%27\";s:3:\"558\";s:10:\"119\\\\0\\\\\\\'\";s:3:\"558\";s:11:\"119\\\\\\\\\\\\\\\'\";s:3:\"558\";s:7:\"119JyI=\";s:3:\"558\";s:8:\"119\\\\\\'\";s:3:\"558\";s:4:\"119/\";s:3:\"558\";s:15:\"119alert(42873)\";s:3:\"558\";s:32:\"../../../../../../../../boot.ini\";s:4:\"5847\";s:35:\"../../../../../../../../boot.ini\\\\0\";s:4:\"5847\";s:56:\"boot.ini\";s:4:\"5847\";s:39:\"../../../../../../../../boot.ini\\\\0.jpg\";s:4:\"5847\";s:75:\"/.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./boot.ini\";s:4:\"5847\";s:56:\"..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\boot.ini\";s:4:\"5847\";s:64:\"../..//../..//../..//../..//../..//../..//../..//../..//boot.ini\";s:4:\"5847\";s:80:\"../.../.././../.../.././../.../.././../.../.././../.../.././../.../.././boot.ini\";s:4:\"5847\";s:39:\"../../../../../../../../boot.ini\\\\0.htm\";s:4:\"5847\";s:19:\"file:///c:/boot.ini\";s:4:\"5847\";s:24:\"................boot.ini\";s:4:\"5847\";s:34:\"../../../../../../../../etc/passwd\";s:4:\"5847\";s:37:\"../../../../../../../../etc/passwd\\\\0\";s:4:\"5847\";s:37:\"\\\\0../../../../../../../../etc/passwd\";s:4:\"5847\";s:42:\"../../../../../../../../etc/passwd\\\\0.html\";s:4:\"5847\";s:41:\"../../../../../../../../etc/passwd\\\\0.jpg\";s:4:\"5847\";s:76:\".\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./etc/passwd\";s:4:\"5847\";s:11:\"/etc/passwd\";s:4:\"5847\";s:25:\"/./././././././etc/passwd\";s:4:\"5847\";s:82:\"../.../.././../.../.././../.../.././../.../.././../.../.././../.../.././etc/passwd\";s:4:\"5847\";s:42:\"................etc/passwd\";s:4:\"5847\";s:59:\"/etc/passwd\";s:4:\"5847\";s:18:\"file:///etc/passwd\";s:4:\"5847\";s:66:\"../..//../..//../..//../..//../..//../..//../..//../..//etc/passwd\";s:4:\"5847\";s:40:\"../../../../../../../../../../etc/passwd\";s:4:\"5847\";s:70:\"http://some-inexistent-website.com/some_inexistent_file_with_long_name\";s:4:\"5847\";s:36:\"/some_inexistent_file_with_long_name\";s:4:\"5847\";s:43:\"\r\n SomeCustomInjectedHeader:injected_by_wvs\";s:4:\"5847\";s:42:\"\n SomeCustomInjectedHeader:injected_by_wvs\";s:4:\"5847\";s:3:\"dir\";s:4:\"5847\";s:25:\"http://oxoxoxoxoxoxox.com\";s:4:\"5847\";s:18:\"oxoxoxoxoxoxox.com\";s:4:\"5847\";s:46:\"+/v9 +ADw-script+AD4-alert(1)+ADw-/script+AD4-\";s:4:\"5847\";s:19:\";print(md5(1122));#\";s:4:\"5847\";s:25:\"\\\\\\\');print(md5(1122));//\";s:4:\"5847\";s:20:\"${@print(md5(1122))}\";s:4:\"5847\";s:7:\"phpinfo\";s:4:\"5847\";s:12:\"124index.php\";s:3:\"166\";}}'

PHP Debug

No.FileLineCode
1forum.php72require(%s)
2source/module/forum/forum_forumdisplay.php544threadclasscount(%s, %f, %s, %s)
3source/function/function_forumlist.php400discuz_table->insert(Array, false, true)
4source/class/discuz/discuz_table.php81discuz_database::insert(%s, Array, false, true, %s)
5source/class/discuz/discuz_database.php60discuz_database::query(%s, %s, %s, true)
6source/class/discuz/discuz_database.php135discuz_database::checkquery(%s)
7source/class/discuz/discuz_database.php172discuz_database_safecheck::checkquery(%s)
8source/class/discuz/discuz_database.php362break()
www.bcn.cc Ѿ˳Ϣϸ¼, ɴ˸ķʲǸ.