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

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

缺陷编号:wooyun-2014-068291

漏洞标题:中国手游某站严重sql注入

相关厂商:cmge.com

漏洞作者: mango

提交时间:2014-07-14 15:02

修复时间:2014-08-28 15:04

公开时间:2014-08-28 15:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

~

详细说明:

http://gh.cmge.com/game/view/id/6*

CDbException
CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'JOIN g_gild_user AS gu ON gu.gild_id = gild.id
AND gu.role =1' at line 9. The SQL statement executed was: SELECT gild.name as name,gild.id as id, gild.active, guser.name as username, (
SELECT count( * )
FROM g_gild_user AS gild_user
WHERE gild_user.gild_id = gild.id and gild_user.`status`=1
) AS usercount
FROM g_gild_game AS gg
LEFT JOIN g_gild AS gild ON gg.gild_id = gild.id
AND gg.game_id =6*
LEFT JOIN g_gild_user AS gu ON gu.gild_id = gild.id
AND gu.role =1
LEFT JOIN g_user AS guser ON guser.id = gu.user_id where gild.`status`=1 GROUP BY gild.id order by gild.active desc limit 0,10


这个站- - 你们好好修一下。。。xss一大把!

漏洞证明:

H7F`70O%2$AZU$6S249_[%0.jpg

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-07-15 14:36

厂商回复:

非常感谢MANGO同学,我们正在组织人员修复。
该站点是一个游戏公会的站点,是独立放在虚拟环境中的,不会对内部安全区域产生威胁

最新状态:

暂无


漏洞评价:

评论