Discuz! Database Error

(0) It is not safe to do this query
REPLACE INTO common_cache SET `cachekey`='threadclasscount_72' , `cachevalue`='a:1:{s:6:\"typeid\";a:55:{i:80;s:3:\"231\";i:79;s:2:\"24\";i:52;s:3:\"216\";i:69;s:1:\"9\";i:81;s:2:\"29\";i:53;s:2:\"11\";i:60;s:1:\"7\";s:3:\"80 \";s:3:\"173\";s:10:\"80 and 3=3\";s:3:\"173\";s:10:\"80 and 3=4\";s:3:\"173\";s:18:\"80\\\' and \\\'a\\\'=\\\'a\";s:3:\"171\";s:18:\"80\\\' and \\\'a\\\'=\\\'b\";s:3:\"171\";s:26:\"80%\\\' and 3=3 and \\\'%\\\'=\\\'\";s:3:\"171\";s:237:\"80 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:\"171\";s:245:\"80\\\' 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:\"171\";s:245:\"80%\\\' 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:\"171\";s:48:\"80+/v9 +ADw-script+AD4-alert(1)+ADw-/script+AD4-\";s:3:\"171\";s:4:\"80\\\'\";s:3:\"171\";s:5:\"80%27\";s:3:\"171\";s:6:\"80\\0\\\'\";s:3:\"171\";s:6:\"80\\\\\\\'\";s:3:\"171\";s:6:\"80JyI=\";s:3:\"173\";s:5:\"80\\'\";s:3:\"171\";s:3:\"80/\";s:3:\"173\";s:14:\"80alert(42873)\";s:3:\"171\";s:65:\"80 Result: (\ \ \);\";s:3:\"171\";s:3:\"52 \";s:2:\"80\";s:10:\"52 and 3=3\";s:2:\"34\";s:10:\"52 and 3=4\";s:2:\"34\";s:6:\"52JyI=\";s:3:\"168\";s:3:\"52/\";s:3:\"168\";s:20:\"52?mmsc.myuni.com.cn\";s:2:\"34\";s:18:\"52 and 33333=33333\";s:2:\"38\";s:18:\"52 and 33333=44444\";s:2:\"38\";s:17:\"52 or 33333=44444\";s:2:\"38\";s:17:\"52 or 33333=33333\";s:2:\"38\";s:11:\"80index.php\";s:3:\"180\";s:12:\"52 AND 35=37\";s:2:\"80\";s:12:\"52 AND 49=49\";s:2:\"80\";s:24:\"52 OR 64=64 LIMIT 100 --\";s:2:\"80\";s:11:\"52 OR 16=71\";s:2:\"80\";s:11:\"81/zxr.html\";s:2:\"28\";s:20:\"81/zxr.htmlindex.php\";s:2:\"28\";s:4:\"80-1\";s:3:\"124\";s:11:\"81index.php\";s:2:\"29\";s:12:\"52 AND 11=76\";s:3:\"168\";s:12:\"52 AND 23=23\";s:3:\"168\";s:14:\"52 AND 486=249\";s:3:\"168\";s:11:\"52 OR 13=13\";s:3:\"168\";s:11:\"52 OR 17=96\";s:3:\"168\";s:13:\"52 OR 162=162\";s:3:\"168\";s:4:\"52[]\";s:3:\"168\";s:13:\"52\\0xa7\";s:3:\"168\";s:11:\"79index.php\";s:2:\"24\";s:7:\"79\\\'A=0\";s:2:\"24\";}}'

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.zhshare.com Ѿ˳Ϣϸ¼, ɴ˸ķʲǸ.