首页 电脑 电脑学堂 查看内容

PHPCMS2008 BETA2 鸡肋0day一个

2008-12-11 11:27 474 0

摘要:   datacache_modelmember_search.class.php  username直接get进SQL。  鸡肋是因为此洞要管理员设置 '注册会员' 有 '搜索' 功能。  if(...
关键词: username where quot modelid userid get 鸡肋 SQL amp 注册会员

  data\cache_model\member_search.class.php  username直接get进SQL。  鸡肋是因为此洞要管理员设置 '注册会员' 有 '搜索' 功能。  if($this->modelid) { if($where) $where = "AND $where"; if($this->modelid == 10 && $_GET['username']) { $username = $_GET['username']; $where .= " AND username LIKE '%$username%'"; } $sql = "SELECT * FROM $this->table WHERE a.userid=b.userid $where ORDER BY $orderby"; }
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部