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

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

缺陷编号:wooyun-2010-0555

漏洞标题:新浪WAP下载频道SQL注射BUG

相关厂商:新浪

漏洞作者: Jannock

提交时间:2010-09-15 15:06

修复时间:2010-10-15 18:00

公开时间:2010-10-15 18:00

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:5

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

新浪WAP下载频道SQL注射BUG

详细说明:

http://down.sina.cn/download/downpage/themedown/id/1500227'/mid/144
http://down.sina.cn/download/downpage/down/subid/1500231/id/1500227'/mid/144
从出错信息可以看到,更新点击次数和下载次数时没有对参数处理,造成注入及出错。

漏洞证明:

http://down.sina.cn/download/downpage/themedown/id/1500227'/mid/144
exception 'QDB_Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1500227''' at line 1' in /data0/wwwroot/qee/library/db/adapter/mysql.php:237
#0 /data0/wwwroot/sina/app/model/downloadmain.php(704): QDB_Adapter_Mysql->execute('INSERT INTO sin...')
#1 /data0/wwwroot/sina/app/controller/download/downpage_controller.php(164): DownloadMain::statViews('1500227'')
#2 [internal function]: Controller_Download_Downpage->actionThemeDown()
#3 /data0/wwwroot/sina/app/controller/abstract.php(63): call_user_func_array(Array, Array)
#4 /data0/wwwroot/sina/app/myapp.php(307): Controller_Abstract->execute('themedown', Array)
#5 /data0/wwwroot/sina/public/index.php(17): MyApp->dispatching()
#6 {main}
dump from: /data0/wwwroot/sina/app/myapp.php (629)
string '如果要改变对异常的处理,请修改文件 "/data0/wwwroot/sina/app/myapp.php" 的 exception_handler() 方法' (length=118)
http://down.sina.cn/download/downpage/down/subid/1500231/id/1500227'/mid/144
exception 'QDB_Exception' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1500227''' at line 1' in /data0/wwwroot/qee/library/db/adapter/mysql.php:237
#0 /data0/wwwroot/sina/app/model/downloadmain.php(719): QDB_Adapter_Mysql->execute('INSERT INTO sin...')
#1 /data0/wwwroot/sina/app/controller/download/downpage_controller.php(1068): DownloadMain::statDowns('1500227'', '5')
#2 [internal function]: Controller_Download_Downpage->actionDown()
#3 /data0/wwwroot/sina/app/controller/abstract.php(63): call_user_func_array(Array, Array)
#4 /data0/wwwroot/sina/app/myapp.php(307): Controller_Abstract->execute('down', Array)
#5 /data0/wwwroot/sina/public/index.php(17): MyApp->dispatching()
#6 {main}
dump from: /data0/wwwroot/sina/app/myapp.php (629)
string '如果要改变对异常的处理,请修改文件 "/data0/wwwroot/sina/app/myapp.php" 的 exception_handler() 方法' (length=118)

修复方案:

都知道

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:2

确认时间:2010-09-15 15:12

厂商回复:

谢谢提供

最新状态:

暂无


漏洞评价:

评论